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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s\ i.pd:Q  
%]@K}!)2  
struts.action.extension DwC8?s*2H  
      The URL extension to use to determine if the request is meant for a Struts action Eb=;D1)y]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /WI HG0D  
-Fs^^={Q  
struts.configuration 9wC:8@`6E  
      The org.apache.struts2.config.Configuration implementation class 5s2334G  
        org.apache.struts2.config.Configuration接口名 \|9KOulr  
Zx}.mt#}8  
struts.configuration.files [/I1%6;  
      A list of configuration files automatically loaded by Struts vH^^QI:em  
      struts自动加载的一个配置文件列表 ^, KN@  
Q.[^5 8  
struts.configuration.xml.reload O@bDMg  
      Whether to reload the XML configuration or not CmPix]YMQ  
      是否加载xml配置(true,false) ICgyCsZ,  
ps6c>AN`A&  
struts.continuations.package "Z6:d"S`  
      The package containing actions that use Rife continuations t#h<'?\E  
      含有actions的完整连续的package名称 $MG. I[h  
dc0Ro,  
struts.custom.i18n.resources RU'DUf  
      Location of additional localization properties files to load 6axm H~_  
      加载附加的国际化属性文件(不包含.properties后缀) D;Jb' Be  
Zm@ O[:~  
struts.custom.properties _A .?:'-  
      Location of additional configuration properties files to load U"v}br -kb  
      加载附加的配置文件的位置 c=p@l<)  
E0*'AZi&  
4r [T pb  
struts.devMode md/Z[du:'  
      Whether Struts is in development mode or not uz+b  
      是否为struts开发模式 p }bTI5  
cnOk  
struts.dispatcher.parametersWorkaround wp,z~raaS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :B'}#;8_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M('cG  
l<$c.GgFd  
struts.enable.DynamicMethodInvocation ~!!>`x  
      Allows one to disable dynamic method invocation from the URL -W+67@(\8H  
        允许动态方法调用 w{"GA ~=  
a4}2^K  
struts.freemarker.manager.classname p=(;WnsK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M_4g%uHG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PaFJw5f  
otO6<%/m  
struts.i18n.encoding .SdEhW15)  
      The encoding to use for localization messages 1W5\   
      国际化信息内码 "ppT<8Qi'  
VPTT* a`  
struts.i18n.reload )Cz^Xp)#  
      Whether the localization messages should automatically be reloaded =#<hT s  
      是否国际化信息自动加载 'gojP  
_ QM  
struts.locale O/\jkF  
      The default locale for the Struts application ?fEX&t,'  
      默认的国际化地区信息 2eu`X2IBcT  
${ ~UA 6  
struts.mapper.class 8E Y< ^:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5b[:B~J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \6Ze H  
O.E   
struts.multipart.maxSize 1h+!<c q  
      The maximize size of a multipart request (file upload) 8P!dk5 ,,O  
      multipart请求信息的最大尺寸(文件上传用) Sh]x`3 ).  
fwRlqfi  
struts.multipart.parser L/GM~*Xp(O  
      The org.apache.struts2.dispatcher.multipart. < P5;8  
      MultiPartRequest parser implementation for a multipart request (file upload) q9oF8&O,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Co19^g*  
iEki<e/  
LZG^\c$  
struts.multipart.saveDir v-) eT  
      The directory to use for storing uploaded files ]T(O;y*m   
      设置存储上传文件的目录夹 "=<l Pi  
UUY-EC7X  
struts.objectFactory k&DH QvfB  
      The com.opensymphony.xwork2.ObjectFactory implementation class bYdC.AE  
      com.opensymphony.xwork2.ObjectFactory接口(spring) h{sW$WA  
2ezuP F  
struts.objectFactory.spring.autoWire WytCc>oL  
      Whether Spring should autoWire or not n a2"Sy=Yi  
      是否自动绑定Spring &bj :,$@  
=tH+e7it  
struts.objectFactory.spring.useClassCache &U xN.vl  
      Whether Spring should use its class cache or not [NvEX Td  
      是否spring应该使用自身的cache B:z-?u#B  
=,[46 ;q  
struts.objectTypeDeterminer Xt= &  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i&>,aiH@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gH\r# wy|  
0 \LkJ*i  
struts.serve.static.browserCache =pcj{B{qa  
If static content served by the Struts filter should set browser caching header properties or not >Fld7;L?<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Mn~A;=%qF  
!nj%n  
struts.serve.static 0v0Y( Mo@  
      Whether the Struts filter should serve static content or not vEzzdDwi6  
      是否struts过滤器应该提供静态内容 jD^L<  
9v cUo?/  
struts.tag.altSyntax |k/;.  
      Whether to use the alterative syntax for the tags or not ]QT0sGl  
      是否可以用替代的语法替代tags ;*W]]4fy  
\-s) D#Y;r  
struts.ui.templateDir R~ w(]  
      The directory containing UI templates [l#WS  
      UI templates的目录夹 aG}9Z8D  
Pz|qy,  
struts.ui.theme }h_Op7.5D  
      The default UI template theme @?B=8VHR  
      默认的UI template主题 EkSTN  
Lf0Hz")  
struts.url.http.port #]eXI $HP  
      The HTTP port used by Struts URLs EJWMr`zdn  
      设置http端口 }7=a,1T  
DhZtiqL#_  
struts.url.https.port j|`{ 1`'  
      The HTTPS port used by Struts URLs 4nl>&AV  
      设置https端口 N^ D/}n  
Xb^\{s?b  
struts.url.includeParams _f3A6ER`  
      The default includeParams method to generate Struts URLs M2@q{RiS  
      在url中产生 默认的includeParams b=|&0B$E  
|}M']Vz  
jm-0]ugY&`  
struts.velocity.configfile 0dcXgP  
      The Velocity configuration file path {my=Li<_H  
      velocity配置文件路径 BRD'5 1]|  
}uHc7gTBF7  
struts.velocity.contexts TLSy+x_gX  
      List of Velocity context names B?0{=u  
      velocity的context列表 u\e#_*>  
j^%i?BWw  
9)l_(*F  
struts.velocity.manager.classname y9*H  
      org.apache.struts2.views.velocity.VelocityManager implementation class !7xp<=  
      org.apache.struts2.views.velocity.VelocityManager接口名 CMBW]b|  
<go~WpA|r  
struts.velocity.toolboxlocation oyr2lfz*  
      The location of the Velocity toolbox |~HlNUPR  
      velocity工具盒的位置 z}Z`kq+C  
struts.xslt.nocache amBz75N{  
      Whether or not XSLT templates should not be cached :x{Q  
      是否XSLT模版应该被缓存 :):Y6)giBD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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