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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7&#'c8]/qh  
:Xb*m85y  
struts.action.extension hg(KNvl  
      The URL extension to use to determine if the request is meant for a Struts action (M4]#5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >6n@\n  
T@2f&Un^  
struts.configuration Ufyxw5u5F  
      The org.apache.struts2.config.Configuration implementation class S^*(ALFPj  
        org.apache.struts2.config.Configuration接口名 }Ox2olUX  
,q{lYX83S  
struts.configuration.files T[`QO`\5O  
      A list of configuration files automatically loaded by Struts hj%}GP{{  
      struts自动加载的一个配置文件列表 [R roHXdk+  
8f5%xY$  
struts.configuration.xml.reload #u!y`lek  
      Whether to reload the XML configuration or not ;Of?fe5:  
      是否加载xml配置(true,false) G:H(IA7Z  
(\5<GCW-  
struts.continuations.package '5&B~ 1&  
      The package containing actions that use Rife continuations qdg= Imx  
      含有actions的完整连续的package名称 Yqq$kln  
"Wzij&WkQ  
struts.custom.i18n.resources `K1PGibV  
      Location of additional localization properties files to load P#M<CG9  
      加载附加的国际化属性文件(不包含.properties后缀) B' <O)"1w  
DR#3njjEC  
struts.custom.properties ;tZ}i4Ud  
      Location of additional configuration properties files to load lk5_s@V l  
      加载附加的配置文件的位置 &@Ji+  
J~PTVR  
n=<q3}1Jej  
struts.devMode zwF7DnW<<  
      Whether Struts is in development mode or not 5k!(#@a_T  
      是否为struts开发模式 ^^U)WB  
< :S?t2C  
struts.dispatcher.parametersWorkaround :{e`$kz  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -0[>}!l=G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QZeb+r  
oQE_?">w  
struts.enable.DynamicMethodInvocation #dXZA>b9  
      Allows one to disable dynamic method invocation from the URL Tg}H < T  
        允许动态方法调用 HvL9;^!  
cfF-e93T  
struts.freemarker.manager.classname O>{t}6o  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \n('KVbf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zjhR9  
M zA  
struts.i18n.encoding a-o hS=W  
      The encoding to use for localization messages \p_8YC  
      国际化信息内码 /-cX(z 7  
yM\tbT/l  
struts.i18n.reload o7Z#,>`2  
      Whether the localization messages should automatically be reloaded _16 &K}<  
      是否国际化信息自动加载 |Cxip&e>  
R _~m\P  
struts.locale FkkZyCqZ`  
      The default locale for the Struts application 7cQHRM+1  
      默认的国际化地区信息 x#!{5;V&K  
_<&K]e@dp  
struts.mapper.class -t706(#k  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &Cn9 k3E\R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :7AauoI  
ps4Wwk(  
struts.multipart.maxSize hwb(W?*  
      The maximize size of a multipart request (file upload) k}owEBsn}  
      multipart请求信息的最大尺寸(文件上传用) f1,$<Y|qU  
WG!;,~f>o  
struts.multipart.parser ~dX@5+Gd  
      The org.apache.struts2.dispatcher.multipart. M,dzf  
      MultiPartRequest parser implementation for a multipart request (file upload) JCMEhI6d*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x%Y a*T  
2ucsTh@  
WSX@0A.&)  
struts.multipart.saveDir 8Nl|\3nl-  
      The directory to use for storing uploaded files 3qwYicq,  
      设置存储上传文件的目录夹 Jb-QP'$@  
6 GevO3  
struts.objectFactory W Y qL  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^zs4tCW%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GzE3B';g  
0aN}zUf  
struts.objectFactory.spring.autoWire jH#^O ;A  
      Whether Spring should autoWire or not )*AA9   
      是否自动绑定Spring {UVm0AeUq  
OgpH{"  
struts.objectFactory.spring.useClassCache Ydd>A\v\;  
      Whether Spring should use its class cache or not %}AY0fg?T  
      是否spring应该使用自身的cache  B*~Bm.  
7Mb t*[n  
struts.objectTypeDeterminer 9;WOqBD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5 WNRo[`7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R~?;KJ  
S5JR`o  
struts.serve.static.browserCache aGkVC*T  
If static content served by the Struts filter should set browser caching header properties or not rH_:7#.E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #YMp,i  
^T1-dw(  
struts.serve.static '-~/!i+=  
      Whether the Struts filter should serve static content or not Nk~dfY<s  
      是否struts过滤器应该提供静态内容 a/`Yh>ou  
FH5bC6  
struts.tag.altSyntax wuCtg=  
      Whether to use the alterative syntax for the tags or not .BB:7+  
      是否可以用替代的语法替代tags SG o:FG  
aI#n+PW  
struts.ui.templateDir &1C9K>  
      The directory containing UI templates `G5wiyH})  
      UI templates的目录夹 a9_KQ=&CI  
V.[#$ip6:  
struts.ui.theme p5rRhu/|k3  
      The default UI template theme #.t{g8W\C  
      默认的UI template主题 ^"#rDP"v  
hCoL j6Vx  
struts.url.http.port g>-[-z$E3  
      The HTTP port used by Struts URLs ;l4 \^E1  
      设置http端口 4'=N{.TtO  
s;M*5|-  
struts.url.https.port Z|GkM5QH:  
      The HTTPS port used by Struts URLs 3^UsyZS)  
      设置https端口 ">&:(<  
F|K4zhK  
struts.url.includeParams oKJ7i,xT  
      The default includeParams method to generate Struts URLs 1}M.}G2u/  
      在url中产生 默认的includeParams )t=u(:u]  
i */U.'#  
N6 8>`  
struts.velocity.configfile F7l:*r,O  
      The Velocity configuration file path MW>28  
      velocity配置文件路径 kw}1CXD  
W+S; Do  
struts.velocity.contexts eV%bJkt.  
      List of Velocity context names }]?G"f t K  
      velocity的context列表 s@iCfXU  
o+Z9h1z%,  
?zu{&aOX|  
struts.velocity.manager.classname Y\|J1I,Z4  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z!eq/  
      org.apache.struts2.views.velocity.VelocityManager接口名 %.U{):lNx  
I*2rS_i[T  
struts.velocity.toolboxlocation -;-"i J0  
      The location of the Velocity toolbox [wG%@0\  
      velocity工具盒的位置 1hS~!r'qqv  
struts.xslt.nocache `{_PSzM  
      Whether or not XSLT templates should not be cached Z$XpoDbOy  
      是否XSLT模版应该被缓存 +eXfT*=u5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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