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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [&|Le;h  
Y'i0=w6G  
struts.action.extension V2g,JFp&  
      The URL extension to use to determine if the request is meant for a Struts action @ \J RxJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /%po@Pm#I  
`!S5FE"-  
struts.configuration /D`M?nD7  
      The org.apache.struts2.config.Configuration implementation class sSd  
        org.apache.struts2.config.Configuration接口名 )MZ]c)JD^  
NLyvi,svS  
struts.configuration.files M$ep.<Z1|  
      A list of configuration files automatically loaded by Struts .{k(4_Q?I  
      struts自动加载的一个配置文件列表 TP{lt6wws(  
a3?Dtoy'  
struts.configuration.xml.reload -b~MQ/, 2  
      Whether to reload the XML configuration or not ih.UzPg  
      是否加载xml配置(true,false) z{d],M  
T?!^-PD9*  
struts.continuations.package ehtiu!Vk  
      The package containing actions that use Rife continuations (M4~N)7<P5  
      含有actions的完整连续的package名称 >C+0LF`U  
3:<+9X  
struts.custom.i18n.resources Ky|Hi3?  
      Location of additional localization properties files to load Jme}{!3m  
      加载附加的国际化属性文件(不包含.properties后缀) B/q/sC  
kF3 EJ  
struts.custom.properties 8R`@edj>  
      Location of additional configuration properties files to load |2CW!is  
      加载附加的配置文件的位置 (6A>:_)  
7IBm(#  
l~Kn-S{  
struts.devMode ]w]Swt2n  
      Whether Struts is in development mode or not VXQS~#dQj  
      是否为struts开发模式 T~s/@*y9  
_bqiS]:  
struts.dispatcher.parametersWorkaround -))>7skc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [P OcO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YP>VC(f   
cx|[P6d  
struts.enable.DynamicMethodInvocation j8zh^q  
      Allows one to disable dynamic method invocation from the URL -?e~dLu  
        允许动态方法调用 cNw<k&w6F  
Yk(OVl T  
struts.freemarker.manager.classname Bh:AY@k  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j8?$Hk  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q&(?D  
W2|*:<Jt  
struts.i18n.encoding CWE jX-  
      The encoding to use for localization messages eM/|"^%  
      国际化信息内码 \cPGyeq  
`PSr64h:D  
struts.i18n.reload Y((z9-`  
      Whether the localization messages should automatically be reloaded *u>2"!+Ob  
      是否国际化信息自动加载 eG|e1tK+  
-yg9ug  
struts.locale _E)xR  
      The default locale for the Struts application \9Itu(<f  
      默认的国际化地区信息 h?.6e9Y4  
m{mK;D  
struts.mapper.class + h`:qB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yZxgUF&`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wz.Il-sm  
]O<Yr'  
struts.multipart.maxSize ]SBv3Q0D7  
      The maximize size of a multipart request (file upload) 3Aaj+=]W  
      multipart请求信息的最大尺寸(文件上传用) N TXT0:  
;&W N%L*  
struts.multipart.parser }tft@,dIC  
      The org.apache.struts2.dispatcher.multipart. q]<Xx{_  
      MultiPartRequest parser implementation for a multipart request (file upload) ~Az20RrK)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ETH`.~%  
j!mI9*hP  
aP8Im1<A  
struts.multipart.saveDir )7q;F m_/  
      The directory to use for storing uploaded files g]$>G0E`oD  
      设置存储上传文件的目录夹 dulW!&*No  
$msT,$NJ  
struts.objectFactory da\K>An>  
      The com.opensymphony.xwork2.ObjectFactory implementation class s?~Abj_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) dT/Cn v=  
uz>s2I}B  
struts.objectFactory.spring.autoWire m{pL< g^M  
      Whether Spring should autoWire or not (oq(-Wv  
      是否自动绑定Spring @WhcY*R2  
akm)X0!-}  
struts.objectFactory.spring.useClassCache xVfJ ]Y  
      Whether Spring should use its class cache or not QlJCdCSy  
      是否spring应该使用自身的cache "uGJ\  
J9/9k  
struts.objectTypeDeterminer s]L`&fY]O  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?U|~h1   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }-zx4<4BH  
YH':cze  
struts.serve.static.browserCache !\ y_ik  
If static content served by the Struts filter should set browser caching header properties or not C1p |.L?m  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v&H&+:<  
fQ#mx.|8y  
struts.serve.static &^9f)xb  
      Whether the Struts filter should serve static content or not cJ!wZT`  
      是否struts过滤器应该提供静态内容 70 HEu@-  
}xLwv=Ia  
struts.tag.altSyntax 8k_,Hni  
      Whether to use the alterative syntax for the tags or not S wC,=S  
      是否可以用替代的语法替代tags *sAoYx  
xhUQ.(S`r6  
struts.ui.templateDir 8Y5* 1E*  
      The directory containing UI templates rRT9)wDa  
      UI templates的目录夹 b\=0[kBQw  
;a{ Dr  
struts.ui.theme C9gF2ii|?  
      The default UI template theme deHBY4@  
      默认的UI template主题 ywq{9)vq  
Esw&ScBOP  
struts.url.http.port jXZKR(L  
      The HTTP port used by Struts URLs HP]Xh~aP  
      设置http端口 UY}lJHp0  
>/e#Z h  
struts.url.https.port ]lz,?izMR  
      The HTTPS port used by Struts URLs >:OOuf#  
      设置https端口 YI%7#L7C  
Oq+C<}eg  
struts.url.includeParams V_+3@C  
      The default includeParams method to generate Struts URLs %3xH<$Gq5  
      在url中产生 默认的includeParams v{JCEb&wN  
.]r[0U  
_ esFx  
struts.velocity.configfile aMv  
      The Velocity configuration file path aEZl ICpU7  
      velocity配置文件路径 cB -XmX/  
EVb'x Zr  
struts.velocity.contexts f$2lq4P{  
      List of Velocity context names ZR..>=  
      velocity的context列表 H D=WHT&  
JG/sKOlA  
Z]9 )1&  
struts.velocity.manager.classname Ij=hmTl{P  
      org.apache.struts2.views.velocity.VelocityManager implementation class $9W9*WQL  
      org.apache.struts2.views.velocity.VelocityManager接口名 j{p0yuZ)<  
).v;~yE   
struts.velocity.toolboxlocation OEB_LI'  
      The location of the Velocity toolbox {\]SvoJnJ  
      velocity工具盒的位置 mT!~;] RrF  
struts.xslt.nocache F>^k<E?,C  
      Whether or not XSLT templates should not be cached w?Q@"^IL  
      是否XSLT模版应该被缓存 IDLA-Vxo  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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