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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解   Hs8c%C  
;%AK< RT  
struts.action.extension a<M<) {$u  
      The URL extension to use to determine if the request is meant for a Struts action kfBVF%90  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^l6q  
Jn. WbS  
struts.configuration g~Zel}h#  
      The org.apache.struts2.config.Configuration implementation class ,\f!e#d  
        org.apache.struts2.config.Configuration接口名 Qe=!'u.nL  
`|;R}"R;  
struts.configuration.files [= -?n6  
      A list of configuration files automatically loaded by Struts ~fE@]~f>  
      struts自动加载的一个配置文件列表 CC>]Gc7  
wg*2mo  
struts.configuration.xml.reload },'2j  
      Whether to reload the XML configuration or not : \w\K:  
      是否加载xml配置(true,false) @ Sw[+`  
0*q&)  
struts.continuations.package A\_cGM2  
      The package containing actions that use Rife continuations 2hl'mRW  
      含有actions的完整连续的package名称 5~CHj  
WLEjRx  
struts.custom.i18n.resources uHUicZf.  
      Location of additional localization properties files to load -1~bWRYq  
      加载附加的国际化属性文件(不包含.properties后缀) Mjrl KI}f/  
o@r+Y  
struts.custom.properties e qQAst#~  
      Location of additional configuration properties files to load E3y"  
      加载附加的配置文件的位置 g&H6~ +\  
`6b!W0$ -  
T"XP`gk  
struts.devMode G_g~-[O  
      Whether Struts is in development mode or not i!<,8e=  
      是否为struts开发模式 auqM>yx  
HKCMKHR  
struts.dispatcher.parametersWorkaround =)(o(bfSKr  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UfSWdR)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) " ;cWK29\f  
nW3`Z1kq})  
struts.enable.DynamicMethodInvocation ?C6iJnm  
      Allows one to disable dynamic method invocation from the URL ]n0kO&  
        允许动态方法调用 vW 0m%  
b,8W |  
struts.freemarker.manager.classname Pm6/sO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Tz1St{s\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {mMrD 5  
impzqQlZ,  
struts.i18n.encoding s2Ivd*=mT  
      The encoding to use for localization messages ;$ =`BI)  
      国际化信息内码 O2?ye4uq  
7$+n"Cfm  
struts.i18n.reload #vYdP#nWb  
      Whether the localization messages should automatically be reloaded 9. Q;J#;1  
      是否国际化信息自动加载 !MNUp(:  
!dYkvoQNn  
struts.locale I3D8xl>P\  
      The default locale for the Struts application SEF/ D0  
      默认的国际化地区信息 a%7ju4CVj  
xXM`f0s@+]  
struts.mapper.class Z}TuVE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `9Zoq=/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |_8- 3  
2c@R!*  
struts.multipart.maxSize Glcl7f"<^  
      The maximize size of a multipart request (file upload) 0F6^[osqtl  
      multipart请求信息的最大尺寸(文件上传用) ~T9%%W[  
eyy{z;D8r  
struts.multipart.parser E$; =*0w  
      The org.apache.struts2.dispatcher.multipart. oJbD|m  
      MultiPartRequest parser implementation for a multipart request (file upload) M2_sxibI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jzSh|a9_  
]d}Z2I'  
o-Pa3L=  
struts.multipart.saveDir K?,eIZ{.S  
      The directory to use for storing uploaded files \@vR*E  
      设置存储上传文件的目录夹 ")"VQ|$y  
V03U"eI="  
struts.objectFactory ttuQ ,SD  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4<)%Esyb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b"t95qlL  
iXK.QktHw  
struts.objectFactory.spring.autoWire ao#{N=mn  
      Whether Spring should autoWire or not s\,F 6c  
      是否自动绑定Spring qP6]}Aj]  
a H'iW)  
struts.objectFactory.spring.useClassCache QpwOrxI}  
      Whether Spring should use its class cache or not 6 uW?xB9  
      是否spring应该使用自身的cache ,J"6(nk  
;ajCnSmR  
struts.objectTypeDeterminer '{p/F $  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class la>:%SD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;BUJ5  
4=td}%  
struts.serve.static.browserCache Uc%(#I]Mi  
If static content served by the Struts filter should set browser caching header properties or not b26#0;i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G1z[v3T  
$Mm=5 K%  
struts.serve.static l7]:b8  
      Whether the Struts filter should serve static content or not }&Un8Rg"h  
      是否struts过滤器应该提供静态内容 eTem RNz  
X:bv ?o>Y  
struts.tag.altSyntax z$$ E7i  
      Whether to use the alterative syntax for the tags or not i,1=5@rw5  
      是否可以用替代的语法替代tags Qyvn A|&  
Mh"DPt9@J  
struts.ui.templateDir u+UtvzUC  
      The directory containing UI templates KWbnSL8  
      UI templates的目录夹 \7rFfN3  
c[J(H,mt/  
struts.ui.theme A}pmr  
      The default UI template theme ggtGecKm  
      默认的UI template主题 ?TA%P6Lw  
;= ^kTb`X  
struts.url.http.port a|rN %hA4  
      The HTTP port used by Struts URLs QPB@qx#@  
      设置http端口 5[}3j1  
Osncl5PD)  
struts.url.https.port s S(t }$  
      The HTTPS port used by Struts URLs ".A+'pJ  
      设置https端口 yoiKt; S  
'NHtCs=F   
struts.url.includeParams nXPl\|pXt  
      The default includeParams method to generate Struts URLs IV*@}~BJ  
      在url中产生 默认的includeParams nf=*KS\v  
9o5W\.A7[D  
%Z9&zmO  
struts.velocity.configfile I.BsKB  
      The Velocity configuration file path {\z&`yD@  
      velocity配置文件路径 |C}n]{*|  
&HBqweI  
struts.velocity.contexts gsFyZ  
      List of Velocity context names V}gP'f07zy  
      velocity的context列表 CZ* #FY  
Agt6G\ n  
n+ 1!/H=d  
struts.velocity.manager.classname HYm |  
      org.apache.struts2.views.velocity.VelocityManager implementation class IX@g].)C  
      org.apache.struts2.views.velocity.VelocityManager接口名 "~-H]9  
QP/%+[E.  
struts.velocity.toolboxlocation VQ wr8jXye  
      The location of the Velocity toolbox f d~a\5%e  
      velocity工具盒的位置 WeyH;P=  
struts.xslt.nocache &c!d}pU}  
      Whether or not XSLT templates should not be cached -}avH  
      是否XSLT模版应该被缓存 f}{ lRk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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