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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  uZA^o  
Zyx92z9Y  
struts.action.extension _WeN\F~^  
      The URL extension to use to determine if the request is meant for a Struts action cPL]WI0(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qL1 d-nH  
dX vp-oi  
struts.configuration kIlK"=  
      The org.apache.struts2.config.Configuration implementation class ;+W9EbY2  
        org.apache.struts2.config.Configuration接口名 gyx4='Q  
^V5g[XL2  
struts.configuration.files @b,&b6V  
      A list of configuration files automatically loaded by Struts wNt-mgir-Q  
      struts自动加载的一个配置文件列表 CTOrBl$70  
&8^ch,+pD  
struts.configuration.xml.reload KfkE'_ F  
      Whether to reload the XML configuration or not m=.}}DcSs  
      是否加载xml配置(true,false) r|!r!V8j  
zJCm0HLJ  
struts.continuations.package f:6%DT~a&C  
      The package containing actions that use Rife continuations 5J0Sc  
      含有actions的完整连续的package名称 b( qO fek  
]%8f-_fSy  
struts.custom.i18n.resources o 2Okc><z  
      Location of additional localization properties files to load qZ79IX'y  
      加载附加的国际化属性文件(不包含.properties后缀) bo%v(  
oY$L  
struts.custom.properties "2FI3M =  
      Location of additional configuration properties files to load QTKN6P  
      加载附加的配置文件的位置 z')zV oW,  
/H m), 9NN  
^>H+#@R  
struts.devMode xM6v0Ua  
      Whether Struts is in development mode or not #{]Yw}m  
      是否为struts开发模式 UvPD/qu$8D  
3Q-[)Z )  
struts.dispatcher.parametersWorkaround gJv;{;%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y5AJ1A6?E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8fI&-uP{g  
LNR~F_64Q  
struts.enable.DynamicMethodInvocation { 95u^S=  
      Allows one to disable dynamic method invocation from the URL 5[{#/!LX)  
        允许动态方法调用 MaX:o GF,  
zC[lPABQ  
struts.freemarker.manager.classname -jJw wOm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <GthJr>1D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vxrRkOU1  
5|^{t00T~  
struts.i18n.encoding ./ !6M  
      The encoding to use for localization messages _s> ZY0  
      国际化信息内码 %C^%Oq_k  
/Wqx@#  
struts.i18n.reload 4EB&Zmg[K  
      Whether the localization messages should automatically be reloaded 1G6MO  
      是否国际化信息自动加载 |>2IgTh1a  
zLa3Q\T  
struts.locale [Q+qu>&HB7  
      The default locale for the Struts application RaNz)]+7`  
      默认的国际化地区信息 O*d4zBT  
5W29oz}-S  
struts.mapper.class ag \d4y6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y=-ILN("  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rW&# Xw/a  
ZO!  
struts.multipart.maxSize Z;XiA<|  
      The maximize size of a multipart request (file upload) D]UqM<0Rz  
      multipart请求信息的最大尺寸(文件上传用) dU4G!  
D" 4*&  
struts.multipart.parser %^C.e*  
      The org.apache.struts2.dispatcher.multipart. V;V,G+0Re  
      MultiPartRequest parser implementation for a multipart request (file upload) OSsxO(;g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aYyUe>  
},=0]tvZG#  
`Rc7*2I)l  
struts.multipart.saveDir d*A(L5;@  
      The directory to use for storing uploaded files uv,_?x\'  
      设置存储上传文件的目录夹 mm5y'=#  
%488"  
struts.objectFactory k'd(H5A   
      The com.opensymphony.xwork2.ObjectFactory implementation class x`#|8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1`X- O>  
{ta0dS;1  
struts.objectFactory.spring.autoWire j+>#.22+  
      Whether Spring should autoWire or not sMikTwR/^  
      是否自动绑定Spring O73 /2=1V  
3w B03\P  
struts.objectFactory.spring.useClassCache N%,!&\L  
      Whether Spring should use its class cache or not 5}/TB_W7j  
      是否spring应该使用自身的cache |=Mn~`9p  
27NhYDo  
struts.objectTypeDeterminer F$QAWs  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class g+-=/Ge  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,VM)ZK=Tr  
c&o|I4|Y,  
struts.serve.static.browserCache 3N ]  
If static content served by the Struts filter should set browser caching header properties or not :Gdfpz-{?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 FrXh\4C  
aB(6yBBoxj  
struts.serve.static > WsRCBA  
      Whether the Struts filter should serve static content or not 8?S)>-mwv  
      是否struts过滤器应该提供静态内容 MwlhL?  
x\ pC&  
struts.tag.altSyntax v .ftfL!  
      Whether to use the alterative syntax for the tags or not ,;2x.We  
      是否可以用替代的语法替代tags J"x M[c2  
x-e?94}^  
struts.ui.templateDir RQ1`k,R=  
      The directory containing UI templates "^~>aVuXf  
      UI templates的目录夹 7D;g\{>M  
j3W)5ZX  
struts.ui.theme E!eBQ[@  
      The default UI template theme 'kD~tpZ  
      默认的UI template主题 #jja#PF]7  
O-M4NKl]6  
struts.url.http.port \(C_t1  
      The HTTP port used by Struts URLs ]/p)XHKo  
      设置http端口 osJ;"B36  
r`THOj\cM  
struts.url.https.port j|u6TG  
      The HTTPS port used by Struts URLs NTHy!y<!h  
      设置https端口 Use`E  
!*?Ss  
struts.url.includeParams "o*zZ;>^  
      The default includeParams method to generate Struts URLs 3KF[ v{  
      在url中产生 默认的includeParams k]n=7vw;  
r] +V:l3  
<V3N!H_d  
struts.velocity.configfile Z]I[?$y  
      The Velocity configuration file path jZm57{C#*?  
      velocity配置文件路径 % mhnd):  
GYD`  
struts.velocity.contexts N|,6<|  
      List of Velocity context names 0$n0f u  
      velocity的context列表 ;btH[a iV  
?\QEK  
v;9VX   
struts.velocity.manager.classname V8z91  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2[\I{<2/9  
      org.apache.struts2.views.velocity.VelocityManager接口名 7DU"QeLeb  
3zO'=gwJ  
struts.velocity.toolboxlocation 0aMw  
      The location of the Velocity toolbox / ;%[:x  
      velocity工具盒的位置 ;)^eDJ<  
struts.xslt.nocache {I!sXj  
      Whether or not XSLT templates should not be cached By t{3$  
      是否XSLT模版应该被缓存 4s!rrDN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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