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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r%*UU4xvB  
]cz*k/*0  
struts.action.extension sj)$o94=  
      The URL extension to use to determine if the request is meant for a Struts action o6FSSKM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l'_P]@*  
Lyx \s;  
struts.configuration FfDe&/,/  
      The org.apache.struts2.config.Configuration implementation class *AO^oBeY  
        org.apache.struts2.config.Configuration接口名 sCX 8  
rA/jNX@S  
struts.configuration.files |@}Yady@C  
      A list of configuration files automatically loaded by Struts C+iIvRYC  
      struts自动加载的一个配置文件列表 qRD]Q  
1gq(s2izy  
struts.configuration.xml.reload ^|z  
      Whether to reload the XML configuration or not 4FmT.P  
      是否加载xml配置(true,false) &x}a  
1 LgzqRq  
struts.continuations.package ZfzUvN&!  
      The package containing actions that use Rife continuations R:= %gl!  
      含有actions的完整连续的package名称 g3p*OYf  
eiL  ;  
struts.custom.i18n.resources piZ0KA"  
      Location of additional localization properties files to load `iX~cUQ  
      加载附加的国际化属性文件(不包含.properties后缀) w8|38m  
7=YjY)6r^  
struts.custom.properties W9!EjXg  
      Location of additional configuration properties files to load %;SOe9  
      加载附加的配置文件的位置 G~oGBq6Gz  
MroJ!.9  
z|VQp,ra  
struts.devMode "V|1w>s  
      Whether Struts is in development mode or not pRt=5WZ  
      是否为struts开发模式 rKlu+/G  
4M)  s  
struts.dispatcher.parametersWorkaround 9-<EeV_/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }Q7 ~tu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Et\z^y  
e 1W9Z $m  
struts.enable.DynamicMethodInvocation F_m[EB  
      Allows one to disable dynamic method invocation from the URL g~5$X{  
        允许动态方法调用 93z oJiLRf  
=WaZy>n}7  
struts.freemarker.manager.classname hpftVEB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class N :#"4e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u$7o d$&S  
=.@{ uu;  
struts.i18n.encoding Ppw0vaJ^  
      The encoding to use for localization messages  V~V_+  
      国际化信息内码 #q7`"E=M"  
/cPe zX  
struts.i18n.reload :G&tM   
      Whether the localization messages should automatically be reloaded l{:7*U{d  
      是否国际化信息自动加载 uG1)cm B}  
YlI/~J  
struts.locale YT)jBS~&  
      The default locale for the Struts application O|t@p=]  
      默认的国际化地区信息 fc'NU(70c  
faqOGAb  
struts.mapper.class nf,R+oX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class CzP?J36W^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3` ov?T(H  
jhd&\z-  
struts.multipart.maxSize $^ \8-k "  
      The maximize size of a multipart request (file upload) oy I8}s:  
      multipart请求信息的最大尺寸(文件上传用) Tw:j}ERq  
2}Ga   
struts.multipart.parser z1LN|+\}  
      The org.apache.struts2.dispatcher.multipart. `lAe2l^  
      MultiPartRequest parser implementation for a multipart request (file upload) |sf&t  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OH2Xxr[bQ  
2s(c#$JVS  
dLV>FpA\  
struts.multipart.saveDir y be:u  
      The directory to use for storing uploaded files V%F^6ds$]0  
      设置存储上传文件的目录夹 3P{ d~2  
=!rdn#KH  
struts.objectFactory MP5 vc5[  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3b1;f)t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |9YY8oT.  
p 8,wr )  
struts.objectFactory.spring.autoWire 4Wz@^7|V5  
      Whether Spring should autoWire or not p^QEk~qw  
      是否自动绑定Spring .>4Zt'gCt  
`)sC".b7  
struts.objectFactory.spring.useClassCache @" -[@  
      Whether Spring should use its class cache or not K `|%-k+D  
      是否spring应该使用自身的cache jV83%%e  
8lG@8tbW^  
struts.objectTypeDeterminer #t.)4$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JI TQ3UL:W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vrr&Ve  
A4Dj4n0  
struts.serve.static.browserCache xign!=  
If static content served by the Struts filter should set browser caching header properties or not B@P +b*%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?`wO \>y  
X,m6#vLK2  
struts.serve.static Y?cdm}:Ou  
      Whether the Struts filter should serve static content or not eko$c,&jY  
      是否struts过滤器应该提供静态内容 -6wjc rTD  
&L&6 y()G  
struts.tag.altSyntax J2rw4L  
      Whether to use the alterative syntax for the tags or not 4bV&U=  
      是否可以用替代的语法替代tags tOn 6  
~RlsgtX"  
struts.ui.templateDir 4/6?wX  
      The directory containing UI templates HYd&.*41rE  
      UI templates的目录夹 6Fp}U  
A~MAaw!YE  
struts.ui.theme |y,%dFNLf  
      The default UI template theme >=G-^z:  
      默认的UI template主题 mB.ybrig  
IM""s]  
struts.url.http.port gP&G63^  
      The HTTP port used by Struts URLs xq#YBi,  
      设置http端口 N3J T[7  
uB;\nj5'D  
struts.url.https.port z[zURj-*]  
      The HTTPS port used by Struts URLs  58S>B'  
      设置https端口 {bQi z  
xa7~{ E,  
struts.url.includeParams z?ck*9SZX  
      The default includeParams method to generate Struts URLs l* ~".q;S  
      在url中产生 默认的includeParams M1{ru~Z9  
{51<EvyE*  
O[9>^y\,  
struts.velocity.configfile |=R@nn   
      The Velocity configuration file path teRK#: .P  
      velocity配置文件路径 An cka  
%9bf^LyD  
struts.velocity.contexts 6V[ce4a%  
      List of Velocity context names \^l273  
      velocity的context列表 {#-I;I:  
qfRsp rRI"  
2)_Zz~P^f  
struts.velocity.manager.classname IP#w  
      org.apache.struts2.views.velocity.VelocityManager implementation class [SnnOqWw  
      org.apache.struts2.views.velocity.VelocityManager接口名 wrORyj  
7/$r  
struts.velocity.toolboxlocation F 7v 1rf]  
      The location of the Velocity toolbox oP[R?zN  
      velocity工具盒的位置 Y~FN` =O  
struts.xslt.nocache d7g3VF<j  
      Whether or not XSLT templates should not be cached %E1_)^ ^  
      是否XSLT模版应该被缓存 \FE  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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