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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?rjB9AC_;t  
{- &`@V  
struts.action.extension +n<W#O %  
      The URL extension to use to determine if the request is meant for a Struts action = N;5T  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 R nwFxFIQ  
&f}w&k2yj  
struts.configuration F{4v[WP)  
      The org.apache.struts2.config.Configuration implementation class $A`m8?bY  
        org.apache.struts2.config.Configuration接口名 dVUe!S`  
W4,'?o  
struts.configuration.files ('{aOiSH  
      A list of configuration files automatically loaded by Struts _, E/HAX  
      struts自动加载的一个配置文件列表 Cs(sar:7  
>(-A"jf  
struts.configuration.xml.reload &)jq3  
      Whether to reload the XML configuration or not _RIlGs\.  
      是否加载xml配置(true,false) bZ_TW9mq  
pztfm'  
struts.continuations.package mITNx^p4f  
      The package containing actions that use Rife continuations ;: &|DN3;  
      含有actions的完整连续的package名称 QWnGolN  
vz~Oi  
struts.custom.i18n.resources @mJ~?d95v  
      Location of additional localization properties files to load Mg2e0}{  
      加载附加的国际化属性文件(不包含.properties后缀) z)(W x">  
Rx.v/H  
struts.custom.properties '$c9S[  
      Location of additional configuration properties files to load hbg$u$1`,  
      加载附加的配置文件的位置 2kt0Rxg  
aL_/2/@X8  
sPG500=)  
struts.devMode qvLh7]sbK:  
      Whether Struts is in development mode or not yVgC1-8i*  
      是否为struts开发模式 T9I$6HAi  
]BUirJ,2  
struts.dispatcher.parametersWorkaround eXMIRus(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -r_,#LR!l  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y%X! l(gQ  
5|=J\Lp2I  
struts.enable.DynamicMethodInvocation 9|lLce$  
      Allows one to disable dynamic method invocation from the URL WrSc@j&Ycv  
        允许动态方法调用 KzP{bK5/  
-|Zzs4bx  
struts.freemarker.manager.classname ALy7D*Z]w  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /`l;u 7RD  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }W'4(V;:  
,<* I5:  
struts.i18n.encoding ,l6,k<   
      The encoding to use for localization messages 71y{Dwya  
      国际化信息内码 l -xc*lC  
x1?mE)n]  
struts.i18n.reload t,Ka] /I  
      Whether the localization messages should automatically be reloaded .1q}mw   
      是否国际化信息自动加载 e MHz/;I  
p_g`f9q6D  
struts.locale b _<n]P*)  
      The default locale for the Struts application 2QRO$NieV  
      默认的国际化地区信息 8}m J )9<7  
p<{P#?4 g  
struts.mapper.class tsJR:~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M2-`p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mEbI\!}H0  
e b} P/  
struts.multipart.maxSize *!ng)3#  
      The maximize size of a multipart request (file upload) Ps>:|j+  
      multipart请求信息的最大尺寸(文件上传用) 9OV@z6  
YR*gO TD  
struts.multipart.parser (jA5`4>u  
      The org.apache.struts2.dispatcher.multipart. L2,2Sn*4i  
      MultiPartRequest parser implementation for a multipart request (file upload) Z3weFbCH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gu!!}pwV9  
c )LG+K  
`hZh}K^  
struts.multipart.saveDir 5E-;4o;RI(  
      The directory to use for storing uploaded files M2|!,2  
      设置存储上传文件的目录夹 H7GI`3o  
ZX` \so,&,  
struts.objectFactory DH yv^  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2t9UJu4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $Yt|XT+!&  
0M"n  
struts.objectFactory.spring.autoWire W`_JERo  
      Whether Spring should autoWire or not 1,%`vlYv  
      是否自动绑定Spring \1jThJn  
yAryw{(  
struts.objectFactory.spring.useClassCache HoABo:  
      Whether Spring should use its class cache or not ?UAuUFueA  
      是否spring应该使用自身的cache dI ,A;.  
g ns}%\,  
struts.objectTypeDeterminer Rey+3*zUb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `z\hQ%1!F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .s9E +1  
A{ ~D_q  
struts.serve.static.browserCache -n&&d8G^s  
If static content served by the Struts filter should set browser caching header properties or not :31_WJ^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 12z!{k7N  
oj - `G  
struts.serve.static [j-?)  
      Whether the Struts filter should serve static content or not n2bhCd]j<b  
      是否struts过滤器应该提供静态内容 iRnjN  
46}U +>  
struts.tag.altSyntax Ohk\P;}  
      Whether to use the alterative syntax for the tags or not B{`adq?pW  
      是否可以用替代的语法替代tags Q?i_Nl/|  
Qdq;C,}Ai.  
struts.ui.templateDir !iKW1ks  
      The directory containing UI templates ID2->J  
      UI templates的目录夹 (vO3vCYeQ  
]]PNYa  
struts.ui.theme 7b[s W|{  
      The default UI template theme SG)Fk *1  
      默认的UI template主题 C '( Y  
PGJh>[ s  
struts.url.http.port 0[l}@K?  
      The HTTP port used by Struts URLs ZPmqoR[  
      设置http端口 J:N(U0U  
<"5l<E  
struts.url.https.port 94+^K=lAX  
      The HTTPS port used by Struts URLs }ouGxs+^[  
      设置https端口 {&n- @$?  
zsXgpnlHT  
struts.url.includeParams Pp-N2t86#2  
      The default includeParams method to generate Struts URLs ?Ts]zO%%Z  
      在url中产生 默认的includeParams Gk*u^J(  
IQPu%n{0v  
R^.PKT2E  
struts.velocity.configfile &))d],tJX  
      The Velocity configuration file path YCD |lL#  
      velocity配置文件路径 %]_: \!  
7H Dc]&z  
struts.velocity.contexts HLW_Y|QaFo  
      List of Velocity context names 'z. GAR  
      velocity的context列表 ^~H{I_Y  
@KTuG ?.  
<R]m(  
struts.velocity.manager.classname {s mk<NL  
      org.apache.struts2.views.velocity.VelocityManager implementation class ed,A'S= d  
      org.apache.struts2.views.velocity.VelocityManager接口名 <R7{W"QTA)  
Zo<)r2|O.  
struts.velocity.toolboxlocation <a"(B*bBd  
      The location of the Velocity toolbox U3{<+vSR`  
      velocity工具盒的位置 Z< i }XCE  
struts.xslt.nocache v0\l~_|H  
      Whether or not XSLT templates should not be cached l<+ [l$0#  
      是否XSLT模版应该被缓存 $H@SXx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八