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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AJSx%?h:6  
HsnLm67'  
struts.action.extension br0++}vwL  
      The URL extension to use to determine if the request is meant for a Struts action 7\f\!e <  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ee@4 %/v  
>nw++[K_  
struts.configuration n>A98NQ  
      The org.apache.struts2.config.Configuration implementation class 2Fz|fW_  
        org.apache.struts2.config.Configuration接口名 lY{FSGp  
(tCUlX2  
struts.configuration.files vfl5Mx4  
      A list of configuration files automatically loaded by Struts jCrpL~tWT  
      struts自动加载的一个配置文件列表 H|ER  
srYJp^sC  
struts.configuration.xml.reload 7UL qo>j  
      Whether to reload the XML configuration or not -K rxMi  
      是否加载xml配置(true,false) [Z~ 2  
 ~BDu$  
struts.continuations.package nPs7c %  
      The package containing actions that use Rife continuations /F4pb]U!*  
      含有actions的完整连续的package名称 $2M#qkik-  
[74F6Qp  
struts.custom.i18n.resources x7vctjM|  
      Location of additional localization properties files to load =xNv\e  
      加载附加的国际化属性文件(不包含.properties后缀) 'yV?*a  
b8%C *r7  
struts.custom.properties WBNw~|DO]  
      Location of additional configuration properties files to load >0dv+8Mn  
      加载附加的配置文件的位置 qwK2WE%T  
MY/3] g<  
Zum0J{l h  
struts.devMode c-g)eV|)S  
      Whether Struts is in development mode or not Xe#K{gA  
      是否为struts开发模式 (`6T&>(4  
9elga"4:'  
struts.dispatcher.parametersWorkaround NTS# sgP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k6Uc3O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u ~3%bJ]  
vk>b#%1{  
struts.enable.DynamicMethodInvocation l#lF +Q;  
      Allows one to disable dynamic method invocation from the URL &q`q4g&7  
        允许动态方法调用 ,(.MmP`  
2MATpV#BT  
struts.freemarker.manager.classname 0vVV%,v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {0;3W7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P ~#>H{  
LY[~Os W  
struts.i18n.encoding %0$qP0|`3I  
      The encoding to use for localization messages l3Lyea:  
      国际化信息内码 i~3u>CT  
3d-%>?-ee  
struts.i18n.reload hzI|A~MFB  
      Whether the localization messages should automatically be reloaded ,o^y`l   
      是否国际化信息自动加载 {t Thy#  
52. >+GC  
struts.locale fZxIY,  
      The default locale for the Struts application n.sbr  
      默认的国际化地区信息 v^ /Q 8Q  
 .AYj'Y  
struts.mapper.class @"Z7nJX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3SSm5{197  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .e'eE  
6Z`R#d #I  
struts.multipart.maxSize n!')wIk  
      The maximize size of a multipart request (file upload) 5C"QE8R o  
      multipart请求信息的最大尺寸(文件上传用) <5G{"U+ \  
BW"&6t#kA  
struts.multipart.parser N`E-+9L)  
      The org.apache.struts2.dispatcher.multipart. 8/t$d#xHI  
      MultiPartRequest parser implementation for a multipart request (file upload) (YY~{W$w(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /'Pd`Nxl.  
]uspx [UIc  
5OO'v07b  
struts.multipart.saveDir 4Q IE8f Y  
      The directory to use for storing uploaded files VR  
      设置存储上传文件的目录夹 ltkI}h,e  
RZe'Kw -  
struts.objectFactory =C L} $_  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1yV: qp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) wZ4tCZA  
sz @p_Z/  
struts.objectFactory.spring.autoWire uNn[[LS  
      Whether Spring should autoWire or not :K ~  
      是否自动绑定Spring H33i*][H  
\}~s2Y5j  
struts.objectFactory.spring.useClassCache Y-'78BJk  
      Whether Spring should use its class cache or not U xD5eJJ  
      是否spring应该使用自身的cache Kf 2jD4z}  
q %0Cg=  
struts.objectTypeDeterminer n!6Z]\8~$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class peJKNX.!q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |7B!^ K  
c*`>9mv  
struts.serve.static.browserCache goJ|oi  
If static content served by the Struts filter should set browser caching header properties or not saU]`w_Z*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 OEPa|rb  
-k(CJ5H9  
struts.serve.static sz-- 27es  
      Whether the Struts filter should serve static content or not __[xD\ES  
      是否struts过滤器应该提供静态内容 PyA&ZkX>  
^1Xt]T`e  
struts.tag.altSyntax }n7t h  
      Whether to use the alterative syntax for the tags or not bu&t'?z x!  
      是否可以用替代的语法替代tags aF|d^  
`z0{S!  
struts.ui.templateDir XE3'`D !  
      The directory containing UI templates ,Rx{yf]k  
      UI templates的目录夹 ?0_7?yTR/  
.bVmqR`  
struts.ui.theme IScRsxFb  
      The default UI template theme w#N?l!5  
      默认的UI template主题 -o+74=E8[?  
=pA IvU  
struts.url.http.port DMF -Y-h  
      The HTTP port used by Struts URLs N~g :Wf!  
      设置http端口 n,~;x@=5  
!GW ,\y  
struts.url.https.port [+w3J#K  
      The HTTPS port used by Struts URLs p"*y58  
      设置https端口 NZN-^ >  
^v9|%^ug  
struts.url.includeParams YpUp@/"  
      The default includeParams method to generate Struts URLs "4H8A =  
      在url中产生 默认的includeParams e4I^!5)N  
O+=vEp(  
+%N KQ'49I  
struts.velocity.configfile =e><z9hY  
      The Velocity configuration file path AM} brO  
      velocity配置文件路径 PuxK?bwC  
k>E`s<3  
struts.velocity.contexts |3K)$.6~  
      List of Velocity context names .$", *d  
      velocity的context列表 +pH@oFNK  
o5\b'hR*#  
Aa?I8sbc  
struts.velocity.manager.classname w(1Gi$Z(Q)  
      org.apache.struts2.views.velocity.VelocityManager implementation class bXYA5wG  
      org.apache.struts2.views.velocity.VelocityManager接口名 NZu)j["  
j<pw\k{i  
struts.velocity.toolboxlocation 6|J'>)  
      The location of the Velocity toolbox i`)!X:j  
      velocity工具盒的位置 dSIH9D  
struts.xslt.nocache 6AN)vs}  
      Whether or not XSLT templates should not be cached NYABmI/0c  
      是否XSLT模版应该被缓存 xx*2?i  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五