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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %~0]o@LW7  
!lp7}[k<y  
struts.action.extension E_{P^7Z|Jg  
      The URL extension to use to determine if the request is meant for a Struts action g O8~$Aj  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #(Yd'qKo  
i6O'UzD@T  
struts.configuration rY$ wC%  
      The org.apache.struts2.config.Configuration implementation class MYVb !  
        org.apache.struts2.config.Configuration接口名 OK z5;#S=  
WY26Iq@C  
struts.configuration.files SzG?m]  
      A list of configuration files automatically loaded by Struts 46H@z=5  
      struts自动加载的一个配置文件列表 sBNqg~HwB?  
}T53y6J#  
struts.configuration.xml.reload 8A 'SMJi  
      Whether to reload the XML configuration or not 8sq0 BH  
      是否加载xml配置(true,false) 8SCXA9}  
T`c:16I  
struts.continuations.package 8 v da"  
      The package containing actions that use Rife continuations aLwEz}-   
      含有actions的完整连续的package名称 EWWCh0 {  
Iomx"y]9  
struts.custom.i18n.resources oMNBK/X_  
      Location of additional localization properties files to load {<cgeH  
      加载附加的国际化属性文件(不包含.properties后缀) KSU hB  
DP!8c  
struts.custom.properties J@rBrKC  
      Location of additional configuration properties files to load }t1 q5@QU  
      加载附加的配置文件的位置 D<[kbt 5^7  
2N.!#~_2D  
V0_^==Vs  
struts.devMode w!}kcn<  
      Whether Struts is in development mode or not hz h3p[  
      是否为struts开发模式 $]a*ZHd;2&  
r_o\72  
struts.dispatcher.parametersWorkaround X#X/P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )H&ZHaO,_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }x_:v!G  
{H 3wL  
struts.enable.DynamicMethodInvocation .EjjCE/v-  
      Allows one to disable dynamic method invocation from the URL DH.CAV  
        允许动态方法调用 %V(U]sbV  
8C I\NR{x8  
struts.freemarker.manager.classname :aD_>,n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s2#}@b6'.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <co:z<^lqu  
*QoQ$alHH  
struts.i18n.encoding A'*#UYn(  
      The encoding to use for localization messages LDDt=HEY4  
      国际化信息内码 GMpg+rK  
Jb)xzUhES  
struts.i18n.reload FWLLbL5t  
      Whether the localization messages should automatically be reloaded oYWHO<b  
      是否国际化信息自动加载 8]4W@~c  
=vL >&$  
struts.locale mlz|KI~\F;  
      The default locale for the Struts application 8w~X4A,  
      默认的国际化地区信息 = jTC+0u  
"rpP  
struts.mapper.class 3RI %OCGF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~6[3Km|2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qGzF@p(p8  
]oKHS$W9  
struts.multipart.maxSize {Ut,xi  
      The maximize size of a multipart request (file upload) V}h)e3X  
      multipart请求信息的最大尺寸(文件上传用) $wk(4W8E  
Lv#}Gm  
struts.multipart.parser Zb+n\sv4  
      The org.apache.struts2.dispatcher.multipart. IYhn*  
      MultiPartRequest parser implementation for a multipart request (file upload) ^[q/w<_j~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1W7ClT_cQ  
_V3}F1?W  
[6nN]U~Y  
struts.multipart.saveDir \WZSY||C|_  
      The directory to use for storing uploaded files &B$%|~Y5  
      设置存储上传文件的目录夹 M2A_T.F=H  
sDkO!P  
struts.objectFactory TR:4$92:H  
      The com.opensymphony.xwork2.ObjectFactory implementation class G6X5`eLQ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i,l$1g-i  
Z{_YH7_  
struts.objectFactory.spring.autoWire (?P\;yDG  
      Whether Spring should autoWire or not  X$_z"t  
      是否自动绑定Spring )%hW3w  
Yr>7c1FZi  
struts.objectFactory.spring.useClassCache WH. 3  
      Whether Spring should use its class cache or not fhro"5/4  
      是否spring应该使用自身的cache )ZfbM|  
l^__oam  
struts.objectTypeDeterminer QL-E4]   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W}WDj:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^,Ft7JAn  
:7s2M  
struts.serve.static.browserCache U< "k -  
If static content served by the Struts filter should set browser caching header properties or not cfHtUv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VzWH9%w  
'.7ER  
struts.serve.static 2UTmQOm  
      Whether the Struts filter should serve static content or not -LlS9[r0  
      是否struts过滤器应该提供静态内容 1gX$U00:  
:79u2wSh  
struts.tag.altSyntax ]'0}fuV  
      Whether to use the alterative syntax for the tags or not 2WB`+oWox  
      是否可以用替代的语法替代tags `_3 Gb  
@\U] hN?  
struts.ui.templateDir $WsyAUl  
      The directory containing UI templates 3k:`7E.  
      UI templates的目录夹 1#|qT7  
W O'nW  
struts.ui.theme QF$s([  
      The default UI template theme c']m5q39'  
      默认的UI template主题 :{ai w?1  
+O7GgySx  
struts.url.http.port <#)Q.P  
      The HTTP port used by Struts URLs g!`^!Q/($  
      设置http端口 sLc,Dx"+  
>|1-o;UU  
struts.url.https.port yxi*4R  
      The HTTPS port used by Struts URLs Lv>OBHD  
      设置https端口 ].@8/. rg  
</2Cn@  
struts.url.includeParams BoHNni  
      The default includeParams method to generate Struts URLs RvyCc!d  
      在url中产生 默认的includeParams HgTBON(  
zw0u|q;#  
Y,-! QFS#  
struts.velocity.configfile @={ qy}  
      The Velocity configuration file path pwA~?$B1  
      velocity配置文件路径 =TA8]7S~U  
7 LiyA<  
struts.velocity.contexts a._>?rVy  
      List of Velocity context names vJ>o9:(6  
      velocity的context列表 ((6?b5[  
{v2[x W  
Ys<z%  
struts.velocity.manager.classname )hD77(c  
      org.apache.struts2.views.velocity.VelocityManager implementation class >oapw5~5  
      org.apache.struts2.views.velocity.VelocityManager接口名 r%`3*<ALV)  
@u:q#b  
struts.velocity.toolboxlocation &pH XSU  
      The location of the Velocity toolbox  8(}cbW  
      velocity工具盒的位置 b.cBg.a  
struts.xslt.nocache 5 axt\  
      Whether or not XSLT templates should not be cached ]<u%jTQREd  
      是否XSLT模版应该被缓存 .RWq!Z=)3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八