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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mkSu $c  
Ok!P~2J  
struts.action.extension 9<gW~ s>  
      The URL extension to use to determine if the request is meant for a Struts action ),x0G*oebj  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eKiDc=@  
 ``/L18  
struts.configuration 'gY?=,dF>  
      The org.apache.struts2.config.Configuration implementation class o<nM-"yWb  
        org.apache.struts2.config.Configuration接口名 bJ:5pBJ3  
Cff6EE  
struts.configuration.files HZ9>4G3  
      A list of configuration files automatically loaded by Struts JN8Rh  
      struts自动加载的一个配置文件列表 |Yli~Qx  
^(q .f=I!a  
struts.configuration.xml.reload N3u06  
      Whether to reload the XML configuration or not y6$a:6  
      是否加载xml配置(true,false) O~5t[  
:W)lt28_  
struts.continuations.package ^&;,n.X5Z  
      The package containing actions that use Rife continuations z};|.N}  
      含有actions的完整连续的package名称 ~>@~U]  
=X'[r  
struts.custom.i18n.resources XpANaqH\  
      Location of additional localization properties files to load |sGJum&=  
      加载附加的国际化属性文件(不包含.properties后缀) Uh0g !zzp  
`oMZ9Gq2E  
struts.custom.properties N:B<5l '  
      Location of additional configuration properties files to load 'd N1~Pa  
      加载附加的配置文件的位置 2*sTU  
\`y:#N<c  
@x1cV_s[  
struts.devMode JL {H3r&/S  
      Whether Struts is in development mode or not ;gL{*gR]S  
      是否为struts开发模式 "EpH02{i  
}k.yLcXM  
struts.dispatcher.parametersWorkaround `\@n&y[`7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9 m8KDB[N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ys.GBSlHG  
=R:O`qdC4e  
struts.enable.DynamicMethodInvocation azFJ-0n@"  
      Allows one to disable dynamic method invocation from the URL 0:Bpvl5  
        允许动态方法调用 %e[E@H7  
8pEA3py  
struts.freemarker.manager.classname Wu6'm &t  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jOCV)V9}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 </kuJh\  
-\p&18K#  
struts.i18n.encoding #6a!OQj  
      The encoding to use for localization messages I:t ?#)wl  
      国际化信息内码 2c]751  
.RmFYV0,  
struts.i18n.reload f:46.)W j<  
      Whether the localization messages should automatically be reloaded yT:2*sZRc  
      是否国际化信息自动加载 k5>UAea_  
kxJs4BY0  
struts.locale Zrwd  
      The default locale for the Struts application ?Sh"%x  
      默认的国际化地区信息 +wz1kPRs  
\A^8KVE!  
struts.mapper.class &~;M16XM,e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class db_Qt'>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 v5@4 |u3ds  
8D>5(Dg-  
struts.multipart.maxSize ,FP0n  
      The maximize size of a multipart request (file upload) i`52tH y_  
      multipart请求信息的最大尺寸(文件上传用) ;ZuHv {=  
7Cp /{l;d  
struts.multipart.parser 2!LDrvPP  
      The org.apache.struts2.dispatcher.multipart. CH(Y.Kj-  
      MultiPartRequest parser implementation for a multipart request (file upload) 4<tbZP3/6)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _'mC*7+  
~)#E?:h5  
Vo^J2[U  
struts.multipart.saveDir  RSj8T<  
      The directory to use for storing uploaded files S]=.p-Am  
      设置存储上传文件的目录夹 G11KAq(  
[>>_%T\I  
struts.objectFactory k?HdW(HA  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,d*1|oUw  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (;=|2N>7  
O13]H"O_  
struts.objectFactory.spring.autoWire 8.jf6   
      Whether Spring should autoWire or not Q }^Ip7T  
      是否自动绑定Spring J~J+CGT~2  
uv-O`)  
struts.objectFactory.spring.useClassCache )H]L/n  
      Whether Spring should use its class cache or not (e5Z^9X  
      是否spring应该使用自身的cache .fqy[qrM  
ah<p_qe9|  
struts.objectTypeDeterminer 4".I*ij  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &b^_~hB:q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .7 )oWd!  
?7)v:$(G}  
struts.serve.static.browserCache LH}9&FfjU  
If static content served by the Struts filter should set browser caching header properties or not  |15!D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 XPf{R619  
_1Rw~}O  
struts.serve.static 8a@k6OZ  
      Whether the Struts filter should serve static content or not K_ymA,&()  
      是否struts过滤器应该提供静态内容 ld#x'/  
W tw,YFT  
struts.tag.altSyntax #J3}H   
      Whether to use the alterative syntax for the tags or not #?r|6<4X  
      是否可以用替代的语法替代tags Nz3+yxv1  
&QD)1b[U  
struts.ui.templateDir N;YFr  
      The directory containing UI templates l=" X|t   
      UI templates的目录夹 zJ(DO>,p&  
,<K+.7,)E  
struts.ui.theme @,= pG  
      The default UI template theme UkD\ma  
      默认的UI template主题 W+u,[_  
e0TxJ*  
struts.url.http.port 8<0P Ssx  
      The HTTP port used by Struts URLs 6 %aaK|0  
      设置http端口 %U}6(~  
h*y+qk-!\g  
struts.url.https.port f^hJAZ  
      The HTTPS port used by Struts URLs |uz<)  
      设置https端口 kmTYRl )j  
oDD"h,Z  
struts.url.includeParams ?kZ-,@h:  
      The default includeParams method to generate Struts URLs zRLJ|ejMP  
      在url中产生 默认的includeParams 'ParMT  
IQC[ewk  
PHT<]:"`<  
struts.velocity.configfile #m UQ@X@K  
      The Velocity configuration file path [/*;}NUv  
      velocity配置文件路径 Bca$%3M  
C[%&;\3S@  
struts.velocity.contexts rxMo7px@}I  
      List of Velocity context names MUZ]*n&0  
      velocity的context列表 E<! L^A M`  
"8ZV%%elp  
A9SL|9Q  
struts.velocity.manager.classname :ln| n6X  
      org.apache.struts2.views.velocity.VelocityManager implementation class ??B!UXi4R  
      org.apache.struts2.views.velocity.VelocityManager接口名 t>%b[(a  
v,Z]Vqk  
struts.velocity.toolboxlocation !D{z. KO  
      The location of the Velocity toolbox E Lq1   
      velocity工具盒的位置 r6Vw!^]8u8  
struts.xslt.nocache 1V[ZklS  
      Whether or not XSLT templates should not be cached Yz[Rl ^  
      是否XSLT模版应该被缓存 r9bAbE bI  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五