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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 plIx""a^h  
<A&R%5Vs  
struts.action.extension ;yXnPAtJ  
      The URL extension to use to determine if the request is meant for a Struts action (Z5#;rgem  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UD(#u3z  
`dNb%f>  
struts.configuration 7>mYD3  
      The org.apache.struts2.config.Configuration implementation class ,Z^GN%Q7a  
        org.apache.struts2.config.Configuration接口名 V9bLm,DtT  
}wb;ulN)  
struts.configuration.files 1 `AE]  
      A list of configuration files automatically loaded by Struts DtS{iH=s]  
      struts自动加载的一个配置文件列表 A3$b_i@P  
#3$|PM7,_  
struts.configuration.xml.reload j w462h  
      Whether to reload the XML configuration or not Dm^kuTIG  
      是否加载xml配置(true,false) f:0n-me  
n%0vQ;Z1  
struts.continuations.package _t[%@G>P  
      The package containing actions that use Rife continuations ;(,Fe/wvC  
      含有actions的完整连续的package名称 a RwBxf  
.WPqK >79|  
struts.custom.i18n.resources Bx)&MYY}[[  
      Location of additional localization properties files to load 4%7*tVG  
      加载附加的国际化属性文件(不包含.properties后缀) 4>HGwk@+8  
sP |i '  
struts.custom.properties CUG<v3\  
      Location of additional configuration properties files to load tSYnc7  
      加载附加的配置文件的位置 ]mh+4k?b  
]>,|v,i =  
]z%9Q8q'  
struts.devMode 1mV0AE538  
      Whether Struts is in development mode or not 6;*(6$;  
      是否为struts开发模式 TExlGAHo+O  
2fk   
struts.dispatcher.parametersWorkaround T{M:)}V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F&~vD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pp`U]Q5"gX  
G<eJ0S  
struts.enable.DynamicMethodInvocation a+i+#*8wm  
      Allows one to disable dynamic method invocation from the URL `!8Z"xD  
        允许动态方法调用 mx4*zj  
<i6MbCB  
struts.freemarker.manager.classname ]>o2P cb;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &$Lm95  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iT"Itz-^#  
*)1z-rH`  
struts.i18n.encoding J#]y KgT  
      The encoding to use for localization messages 4\3t5n  
      国际化信息内码 jayoARUB  
:<gk~3\  
struts.i18n.reload GZt] 38V)g  
      Whether the localization messages should automatically be reloaded Jx<  
      是否国际化信息自动加载 -tdG} Gu  
wp*1HnWj8Y  
struts.locale ( -@>  
      The default locale for the Struts application 6hq)yUvo4  
      默认的国际化地区信息 ;p ('cwU%  
S@)bl  
struts.mapper.class XEEbmIO*<9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <hbbFL}|%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U8KY/!XZ  
[  _$$P*  
struts.multipart.maxSize >xKRU5  
      The maximize size of a multipart request (file upload) t@n (a  
      multipart请求信息的最大尺寸(文件上传用) U'G`Q0n  
QEKFuY<E+  
struts.multipart.parser bl<7[J.  
      The org.apache.struts2.dispatcher.multipart. "-?Y UY`  
      MultiPartRequest parser implementation for a multipart request (file upload) z-G (!]:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) am3E7u/  
A~V\r<N j  
'[^2uQc  
struts.multipart.saveDir Q ^rW^d  
      The directory to use for storing uploaded files }C1wfZ~F~  
      设置存储上传文件的目录夹 88j ;7  
CK</2w+  
struts.objectFactory 2A|6o*s"  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9(WC#-,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) KOx#LGz  
9Q/!%y%5  
struts.objectFactory.spring.autoWire .*blM1+6i/  
      Whether Spring should autoWire or not *Rh .s!@4  
      是否自动绑定Spring !.$P`wKr  
xk8p,>/  
struts.objectFactory.spring.useClassCache dCTpO  
      Whether Spring should use its class cache or not P0z{R[KBH  
      是否spring应该使用自身的cache =[+&({  
5#\p>}[HG  
struts.objectTypeDeterminer u_8 22Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NG UGN~p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AHY)#|/)  
q?4uH;h:^G  
struts.serve.static.browserCache A5ID I<a  
If static content served by the Struts filter should set browser caching header properties or not Uc0'XPo3I  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ="R6YL  
ie5ijkxZ(  
struts.serve.static EIQy?ig86  
      Whether the Struts filter should serve static content or not nn:pf1  
      是否struts过滤器应该提供静态内容 dRa<,@1"  
gDNW~?/  
struts.tag.altSyntax 66^t[[  
      Whether to use the alterative syntax for the tags or not T+h{Aeg  
      是否可以用替代的语法替代tags )\Q|}JV  
U&$]?3?  
struts.ui.templateDir pw yl,A  
      The directory containing UI templates wR4u}gb#q  
      UI templates的目录夹 j]O[I^5  
ix@rq#  
struts.ui.theme RgA4@J#  
      The default UI template theme jgw'MpQm{  
      默认的UI template主题 ]?$y}  
N-YZ0/c  
struts.url.http.port 2{Iz  
      The HTTP port used by Struts URLs ^X%4@,AE  
      设置http端口 d}cJ5 !d  
ldvxYq<:  
struts.url.https.port K0=E4>z,`q  
      The HTTPS port used by Struts URLs G3^]Wwu  
      设置https端口 rxp9B>~  
6G$tYfX  
struts.url.includeParams xH#a|iT?(  
      The default includeParams method to generate Struts URLs RyWOiQk;  
      在url中产生 默认的includeParams Yj/nzTVJ[  
!DL53DQ#  
B^~Bv!tHWr  
struts.velocity.configfile hg'!  
      The Velocity configuration file path 'OW"*b  
      velocity配置文件路径 ]u ~Fn2  
 m+{: ^  
struts.velocity.contexts U2lC !j%K  
      List of Velocity context names @M^Qh Hs  
      velocity的context列表 PVc|y.  
'N ::MN  
S{7ik,Gdg  
struts.velocity.manager.classname 6x,=SW@4  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^GaPpm  
      org.apache.struts2.views.velocity.VelocityManager接口名 D K_v{R  
Ny7=-]N4{"  
struts.velocity.toolboxlocation nL 07^6(  
      The location of the Velocity toolbox OVSq8?L  
      velocity工具盒的位置 &\` a5[  
struts.xslt.nocache QN&^LaB<T  
      Whether or not XSLT templates should not be cached R&_\&:4f  
      是否XSLT模版应该被缓存 9OT4j Am  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五