社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 5150阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +l`65!"  
N0i!l|G6  
struts.action.extension 96d~~2p  
      The URL extension to use to determine if the request is meant for a Struts action 1y J5l,q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (Uk>?XAr  
xc9YM0B&  
struts.configuration @@I7$*  
      The org.apache.struts2.config.Configuration implementation class s~*}0-lS  
        org.apache.struts2.config.Configuration接口名 9Ycn0  
xJ{_qP  
struts.configuration.files vY6oV jM  
      A list of configuration files automatically loaded by Struts XZ`:wmc|  
      struts自动加载的一个配置文件列表 3jjMY  
#05jC6  
struts.configuration.xml.reload )qL&%xz  
      Whether to reload the XML configuration or not :ygWNK[ 6D  
      是否加载xml配置(true,false) >ys[I0bo  
"(v%1tGk  
struts.continuations.package iPq &Y*  
      The package containing actions that use Rife continuations hoa7   
      含有actions的完整连续的package名称 zN#*G i'  
 UXT p  
struts.custom.i18n.resources ~C-,G"zw&G  
      Location of additional localization properties files to load e  ^Ds  
      加载附加的国际化属性文件(不包含.properties后缀) 'Gx$Bj  
LxLy+yC#p  
struts.custom.properties !\FkG8  
      Location of additional configuration properties files to load B z^|SkEit  
      加载附加的配置文件的位置 q2hFOm  
T.REq4<  
M|q~6oM  
struts.devMode ,R?np9wc  
      Whether Struts is in development mode or not $&{ti.l  
      是否为struts开发模式 NQfYxB1Yr:  
O. ,3|  
struts.dispatcher.parametersWorkaround hfqqQ!,l!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  ~*M$O&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !*aPEf270  
u:&o}[  
struts.enable.DynamicMethodInvocation 5;\gJf  
      Allows one to disable dynamic method invocation from the URL #`(WUn0H?  
        允许动态方法调用 {o0qUX>[  
^Dg <Ki  
struts.freemarker.manager.classname sV/l5]b]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class > @_im6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 UDy(dn>J:J  
W3r?7!~  
struts.i18n.encoding oRM)% N#  
      The encoding to use for localization messages 7Vu?  
      国际化信息内码 ~gE:-  
-`+<{NHv\  
struts.i18n.reload BecP T  
      Whether the localization messages should automatically be reloaded :u6JjW[a)  
      是否国际化信息自动加载 !z 53OT!  
k|vI<:'p,  
struts.locale iDoDwq!l_  
      The default locale for the Struts application .1yT*+`  
      默认的国际化地区信息 ?YQPlv:<o.  
a,|?5j9,P  
struts.mapper.class ?m7:if+ y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ujFzJdp3k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s&a1y~rv  
Aw5pd7qKL  
struts.multipart.maxSize a(IY\q[Wh  
      The maximize size of a multipart request (file upload) *T`-|H*6@  
      multipart请求信息的最大尺寸(文件上传用) SJ?6{2^  
yF13Of^l./  
struts.multipart.parser :O-iykXyI  
      The org.apache.struts2.dispatcher.multipart. :kMHRm@{  
      MultiPartRequest parser implementation for a multipart request (file upload) x YfD()w<I  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +JRF0T  
6"/WZmOp  
$P z`$~  
struts.multipart.saveDir ,CvG 20>  
      The directory to use for storing uploaded files vxFTen{-F  
      设置存储上传文件的目录夹 @%/]Q<<q  
j}1zdA  
struts.objectFactory omSM:f_~  
      The com.opensymphony.xwork2.ObjectFactory implementation class "{D6J809  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aE"[5*a  
G{Yz8]m  
struts.objectFactory.spring.autoWire  YZc>dE  
      Whether Spring should autoWire or not Yd EptAI  
      是否自动绑定Spring ^qGb%! l  
kDvc" ,SD#  
struts.objectFactory.spring.useClassCache 0NDftcB]  
      Whether Spring should use its class cache or not N8toxRu  
      是否spring应该使用自身的cache TlZT1H  
JyLa#\ R  
struts.objectTypeDeterminer O.G'?m<: #  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }t9.N`xu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k o;>#::  
1Xu?(2;NF  
struts.serve.static.browserCache XV3C`:b  
If static content served by the Struts filter should set browser caching header properties or not V7d) S&*V  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *NFg;<:j  
)s_n  
struts.serve.static KRAcnY;u  
      Whether the Struts filter should serve static content or not =GlVccc  
      是否struts过滤器应该提供静态内容 (8$k4`T>  
1MlUG5  
struts.tag.altSyntax ?BA]7M(,4  
      Whether to use the alterative syntax for the tags or not 6W[}$#w  
      是否可以用替代的语法替代tags $+JS&k/'m  
gTl<wo +  
struts.ui.templateDir gr-9l0u  
      The directory containing UI templates FBx_c;)9Z  
      UI templates的目录夹 o?L'Pg  
YB<*"HxM)}  
struts.ui.theme ;Uc0o!1  
      The default UI template theme S$)*&46g  
      默认的UI template主题 >Y7a4~ufko  
2H71~~ c  
struts.url.http.port }KUd7[s  
      The HTTP port used by Struts URLs GSclK|#t E  
      设置http端口 +T/FeVQ  
q<y#pL=k"*  
struts.url.https.port o[oM8o<  
      The HTTPS port used by Struts URLs :y*NM,s  
      设置https端口 m>USD? i  
>~%e$a7}+  
struts.url.includeParams +#U|skl  
      The default includeParams method to generate Struts URLs &Z(K6U#.  
      在url中产生 默认的includeParams **9x?s  
F+R?a+e  
^;!0j9"* :  
struts.velocity.configfile $mf u:tbP  
      The Velocity configuration file path -;f*VM.a  
      velocity配置文件路径 FZjHw_pP  
lC:k7<0Ji  
struts.velocity.contexts [Wd-Zn%  
      List of Velocity context names ]Chj T}  
      velocity的context列表 `&\Q +W  
X%z }VA  
+$4(zP s@  
struts.velocity.manager.classname L,y6^J!  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z^ }mp@j>  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^` un'5Vk  
9T#;,{VQ  
struts.velocity.toolboxlocation P96pm6H_;  
      The location of the Velocity toolbox zvABU+{jD  
      velocity工具盒的位置 fYKOJ5f  
struts.xslt.nocache `:N# 'i  
      Whether or not XSLT templates should not be cached .MO\uh0N  
      是否XSLT模版应该被缓存 " \I4u{zC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八