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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >3{#S:  
]q#w97BxiJ  
struts.action.extension ~ IPel  
      The URL extension to use to determine if the request is meant for a Struts action 9|kc$+(+6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V*xo3hU  
Hz?C9q3BX  
struts.configuration \<cs:C\h7  
      The org.apache.struts2.config.Configuration implementation class v[k;R  
        org.apache.struts2.config.Configuration接口名 ZGILV  
/INjP~C  
struts.configuration.files $KSdNFtM)A  
      A list of configuration files automatically loaded by Struts GyirE`  
      struts自动加载的一个配置文件列表 MHl ffj  
U +c ?x2\  
struts.configuration.xml.reload UE:';(t  
      Whether to reload the XML configuration or not |p4D!M+$7  
      是否加载xml配置(true,false) g8=j{]~C  
}> q%##<n  
struts.continuations.package Uq}FrK}  
      The package containing actions that use Rife continuations #6fQ$x(F#j  
      含有actions的完整连续的package名称 $&fP%p  
g0Rny  
struts.custom.i18n.resources ua!i3]18  
      Location of additional localization properties files to load !p:kEIZ)y  
      加载附加的国际化属性文件(不包含.properties后缀) Ge'[AhA  
`S`,H  
struts.custom.properties 0m3:!#\  
      Location of additional configuration properties files to load mP!=&u fcU  
      加载附加的配置文件的位置 kGz0`8U Ru  
Ox| ?  
O4)'78ATp  
struts.devMode }u3Q*oAGl  
      Whether Struts is in development mode or not ; 9n}P@  
      是否为struts开发模式 Th\w#%'N  
@2yoy&IO  
struts.dispatcher.parametersWorkaround S*aVcyDEP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6_G[&   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yj:<3_-C*  
/$z(BX/  
struts.enable.DynamicMethodInvocation /nPNHO>U  
      Allows one to disable dynamic method invocation from the URL xbVvK+  
        允许动态方法调用 8fI]QW  
nj90`O.K  
struts.freemarker.manager.classname V(lxkEu/Fj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3^jkd)xw  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [9<c;&$LU  
JWh5gOXd  
struts.i18n.encoding +#;t.&\80N  
      The encoding to use for localization messages Z=[qaJ{]  
      国际化信息内码 r$8(Q'  
V4["+Y  
struts.i18n.reload =c(t;u6m-  
      Whether the localization messages should automatically be reloaded D+nKQ4  
      是否国际化信息自动加载 M]5)u=}S-  
;hf{B7  
struts.locale !7rk>YrY  
      The default locale for the Struts application ES4[@RX  
      默认的国际化地区信息 *#n#J[  
Z2t'?N|_  
struts.mapper.class 5WlBe c@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vtByCu5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &c AFKYt  
EDDld6O,  
struts.multipart.maxSize ;bYpMcH  
      The maximize size of a multipart request (file upload) 8|cQW-L  
      multipart请求信息的最大尺寸(文件上传用) [-5l=j r  
 ~ERA  
struts.multipart.parser &06pUp iS  
      The org.apache.struts2.dispatcher.multipart. G5oBe6\C  
      MultiPartRequest parser implementation for a multipart request (file upload) &UFj U%Z%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =q\Ghqj1  
r(ZMZ^  
cv=H6j]h |  
struts.multipart.saveDir 6L/`  
      The directory to use for storing uploaded files j7XUFA  
      设置存储上传文件的目录夹 Il4R R  
@cS(Bb!(M  
struts.objectFactory >;sz(F3)  
      The com.opensymphony.xwork2.ObjectFactory implementation class HV?Q{X K.b  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JK%UaEut=  
.:~{+ <*`  
struts.objectFactory.spring.autoWire (drDC1\  
      Whether Spring should autoWire or not EGL7z`nt  
      是否自动绑定Spring MnPk+eNJm  
yq=rv$.s  
struts.objectFactory.spring.useClassCache |34M.YjA  
      Whether Spring should use its class cache or not -"CXBKHb  
      是否spring应该使用自身的cache E,}(jAq7  
%a=^T?8  
struts.objectTypeDeterminer it.'.aK4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *[|a $W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8[B0[2O  
BO%aCK&  
struts.serve.static.browserCache Y& p ~8  
If static content served by the Struts filter should set browser caching header properties or not Hob n{E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :z^,>So:  
1sIPhOIys  
struts.serve.static }m -A #4.  
      Whether the Struts filter should serve static content or not Lz/{ q6>  
      是否struts过滤器应该提供静态内容 p Lwtm@  
olxnQYFo  
struts.tag.altSyntax FoW|BGA~  
      Whether to use the alterative syntax for the tags or not xbNL <3"a  
      是否可以用替代的语法替代tags <*3#nA-O>i  
'}, 8x?  
struts.ui.templateDir PKg>|]Rf.  
      The directory containing UI templates PNp-/1Cx  
      UI templates的目录夹 VkD}gJY  
/J5)_> R:  
struts.ui.theme ]kir@NMv>  
      The default UI template theme >Tp`Kri  
      默认的UI template主题 DedY(JOvB  
QFg{.F?3q>  
struts.url.http.port OnND(YiX  
      The HTTP port used by Struts URLs cna/?V  
      设置http端口 %jh gKq  
G6XDPr:}  
struts.url.https.port Vpe\Okt:  
      The HTTPS port used by Struts URLs %0_}usrsk  
      设置https端口 ^|lw~F  
)qeed-{  
struts.url.includeParams WzqYB a  
      The default includeParams method to generate Struts URLs oU/{<gs  
      在url中产生 默认的includeParams w{"ro~9o  
18WJ*q7:  
] L6LB \  
struts.velocity.configfile nc9sfH3  
      The Velocity configuration file path ~N]pB]/][  
      velocity配置文件路径 gkFw=Cd  
3y}8|ML  
struts.velocity.contexts E#VF7 9L  
      List of Velocity context names 2I>`{#fV  
      velocity的context列表 r:U/a=V  
MWI7u7{  
_-:CU  
struts.velocity.manager.classname Oq[YbQ'GE  
      org.apache.struts2.views.velocity.VelocityManager implementation class XR+  
      org.apache.struts2.views.velocity.VelocityManager接口名 {lbNYjknS  
l&_PsnU  
struts.velocity.toolboxlocation ]T;  
      The location of the Velocity toolbox l\_81oZ  
      velocity工具盒的位置 ]-{A"tJ  
struts.xslt.nocache m9mkZ:r(kV  
      Whether or not XSLT templates should not be cached sI5S)^'IQ  
      是否XSLT模版应该被缓存 0gsRBy  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八