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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {O6yJckH  
?J@P0(M#  
struts.action.extension OWc~=Cr  
      The URL extension to use to determine if the request is meant for a Struts action hCb2<_3CR  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (DkfLadB  
c2u*<x  
struts.configuration Bm5\*Xd1(  
      The org.apache.struts2.config.Configuration implementation class xpp>5d !  
        org.apache.struts2.config.Configuration接口名 7Bym?  
8shx7"  
struts.configuration.files BS=~G+/:|  
      A list of configuration files automatically loaded by Struts z22:O"UHa  
      struts自动加载的一个配置文件列表 9&bJ]  
'!F'B:  
struts.configuration.xml.reload NRT@"3,1YP  
      Whether to reload the XML configuration or not Pj1k?7  
      是否加载xml配置(true,false) CiV^bYi  
Ig<# {V  
struts.continuations.package r&+w)U~  
      The package containing actions that use Rife continuations dJe 3DW :  
      含有actions的完整连续的package名称 eQwvp`@"  
ZfXgVTJ`  
struts.custom.i18n.resources )nGH$Mu  
      Location of additional localization properties files to load [$c"}=g[+  
      加载附加的国际化属性文件(不包含.properties后缀) i<(~J4}b  
[tRb{JsUd  
struts.custom.properties Q ZC\%X8j  
      Location of additional configuration properties files to load vY7 @1_"  
      加载附加的配置文件的位置 WXY-]ir.  
uvAJJIae'  
!4T!@"#  
struts.devMode ?./%7v  
      Whether Struts is in development mode or not fB 0X9iV6j  
      是否为struts开发模式 DYoGtks(  
xf{ZwS%X  
struts.dispatcher.parametersWorkaround kA> e*6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "|Kag|(qB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) D"2bgw  
"}Ikx tee  
struts.enable.DynamicMethodInvocation ]:;dJc'  
      Allows one to disable dynamic method invocation from the URL +i#s |kKs\  
        允许动态方法调用 cTq;<9Iew  
R9(Yi<CC  
struts.freemarker.manager.classname qi ">AQpp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class B>4/[ YHr;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :5F(,Z_  
==BOW\  
struts.i18n.encoding :G#+ 5 }  
      The encoding to use for localization messages {  '402  
      国际化信息内码 ~9"c64 q  
Cg|\UKfy$  
struts.i18n.reload [$F*R@,&  
      Whether the localization messages should automatically be reloaded +&dkJ 4g[  
      是否国际化信息自动加载 ddN G :  
do*aE  
struts.locale K&,";9c  
      The default locale for the Struts application h#c7v !g  
      默认的国际化地区信息 Uu52uR  
Qm=iCZ|E^!  
struts.mapper.class  fZ&' _  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'F#dv[N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l|{[vZpT  
]1pB7XL  
struts.multipart.maxSize O"/Sv'|H#  
      The maximize size of a multipart request (file upload) )\j dF-s  
      multipart请求信息的最大尺寸(文件上传用) CZ'm|^S  
c%bzrYQvA;  
struts.multipart.parser 2% /Kf}+  
      The org.apache.struts2.dispatcher.multipart. 7A) E4f'  
      MultiPartRequest parser implementation for a multipart request (file upload) m@u% 3*:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E NCWOj  
->X>h_k.Y  
;4(}e{  
struts.multipart.saveDir " Zx<hL*  
      The directory to use for storing uploaded files L`e19I$  
      设置存储上传文件的目录夹 d S'J@e=#  
Nu OxEyC  
struts.objectFactory U82mO+}  
      The com.opensymphony.xwork2.ObjectFactory implementation class oH!O{pQK}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Zxhbnl6  
#0hqfs  
struts.objectFactory.spring.autoWire ]31=8+D  
      Whether Spring should autoWire or not (KwC,0p  
      是否自动绑定Spring h5pfmN\-5  
,Si{]y  
struts.objectFactory.spring.useClassCache hF$qH^-c*A  
      Whether Spring should use its class cache or not R&BWCC{  
      是否spring应该使用自身的cache vf$IF|  
#9Jr?K43  
struts.objectTypeDeterminer qv}ECQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HsUh5;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .}v" `>x  
? dHl'  
struts.serve.static.browserCache vy7/  
If static content served by the Struts filter should set browser caching header properties or not l)dE7$H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 beC%Tnb7  
%Zbm%YaW5  
struts.serve.static -*MY7t3  
      Whether the Struts filter should serve static content or not Rw%?@X3m]  
      是否struts过滤器应该提供静态内容 1kw*Q:   
)5LT!14  
struts.tag.altSyntax (XW'1@b  
      Whether to use the alterative syntax for the tags or not @fJsRWvGq  
      是否可以用替代的语法替代tags [U8/nT  
*i^$xjOa  
struts.ui.templateDir <+-n lK4  
      The directory containing UI templates ,z>-_HOnw  
      UI templates的目录夹 abm 3q!a-  
DKu$u ]Z  
struts.ui.theme <Q/)SN6_E  
      The default UI template theme BWy-R6br  
      默认的UI template主题 u~j H  
Z\EA!Cs3  
struts.url.http.port  \20} /&  
      The HTTP port used by Struts URLs ]W14'Z  
      设置http端口 1(dKb  
!CcDA/0  
struts.url.https.port V){Io_"  
      The HTTPS port used by Struts URLs /\# f@Sg  
      设置https端口 pR93T+X  
p\&/m  
struts.url.includeParams D|*w6p("z  
      The default includeParams method to generate Struts URLs G^#>HE|  
      在url中产生 默认的includeParams HXSryjF?  
v N\[2r%S  
l^nvwm`f#:  
struts.velocity.configfile fc8ODk*;E  
      The Velocity configuration file path uJ -$i  
      velocity配置文件路径 q,@# cQBV  
*oz#YGNm  
struts.velocity.contexts -43>?m/a  
      List of Velocity context names < $e#o H  
      velocity的context列表 ]!"w?-h Si  
8|=C/k  
(,#m+  
struts.velocity.manager.classname jIT|Kk&]  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5rB>)p05[  
      org.apache.struts2.views.velocity.VelocityManager接口名 c{I]!y^!  
#eOHe4Vt  
struts.velocity.toolboxlocation {qi #  
      The location of the Velocity toolbox {+hABusq  
      velocity工具盒的位置 " WQ6[;&V  
struts.xslt.nocache >pLJ ,Z  
      Whether or not XSLT templates should not be cached 7;AK=;  
      是否XSLT模版应该被缓存 .,xyE--;d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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