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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vMI\$E &  
p' gv5\u[w  
struts.action.extension HxM-VK '  
      The URL extension to use to determine if the request is meant for a Struts action 0bd.ess  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 eeX)JC0A  
#e0+;kBh  
struts.configuration >%[W2L\'  
      The org.apache.struts2.config.Configuration implementation class ,#m\W8j  
        org.apache.struts2.config.Configuration接口名 ~gAx  
N!va12  
struts.configuration.files qj/P4*6E  
      A list of configuration files automatically loaded by Struts w5nRgdboy!  
      struts自动加载的一个配置文件列表 PQs9@]w[  
 )Ob{]  
struts.configuration.xml.reload 2]'ozs$|v  
      Whether to reload the XML configuration or not #nd,cn  
      是否加载xml配置(true,false) WgL! @g  
>ylVES/V  
struts.continuations.package RU'J!-w{  
      The package containing actions that use Rife continuations }qg!Um0  
      含有actions的完整连续的package名称 =wQ=`  
0'<S7?~|  
struts.custom.i18n.resources Owr`ip\  
      Location of additional localization properties files to load n-Xj>  
      加载附加的国际化属性文件(不包含.properties后缀) I F@M  
 e?7paJ  
struts.custom.properties r5"/EMieh  
      Location of additional configuration properties files to load v 7R&9kU{  
      加载附加的配置文件的位置  ?b0\[  
~DD/\V  
OwEz( pj@  
struts.devMode tEUmED0FY  
      Whether Struts is in development mode or not :8ZxOwwv  
      是否为struts开发模式 cQR1v-Xt  
)v9[/ ]*P  
struts.dispatcher.parametersWorkaround `#]\Wnp~y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |bk*Lgkzw  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zaZnL7ZJX  
2*M*<p=v  
struts.enable.DynamicMethodInvocation yV8).4  
      Allows one to disable dynamic method invocation from the URL cm]]9z_<  
        允许动态方法调用 LWI~m2  
6~}H3rvO}  
struts.freemarker.manager.classname U,=K_oBAq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W)#`4a^xj7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Vo%d;>!G\;  
qj1z>,\  
struts.i18n.encoding -: ,h8JyMP  
      The encoding to use for localization messages 1@WGbORc*  
      国际化信息内码 |(S W  
+6=!ve}  
struts.i18n.reload ^6+x0[13  
      Whether the localization messages should automatically be reloaded 3\{Sf /#  
      是否国际化信息自动加载 _a&|,ajy >  
AVp [gr  
struts.locale a5-\=0L~  
      The default locale for the Struts application asg>TO W  
      默认的国际化地区信息 k@L~h{`Mc\  
=r~. I  
struts.mapper.class :~(im_r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V%ch'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qC )VT3  
R*X2Z{n  
struts.multipart.maxSize  sD8S2  
      The maximize size of a multipart request (file upload) M2}<gRL*}J  
      multipart请求信息的最大尺寸(文件上传用) 9^u?v`!  
x/=j$oA  
struts.multipart.parser >v[(w1?rX  
      The org.apache.struts2.dispatcher.multipart. yr>bL"!CA  
      MultiPartRequest parser implementation for a multipart request (file upload) IMza 2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S F>D:$a  
Ct)MvZ  
Gq*)]X{U a  
struts.multipart.saveDir &r%*_pX  
      The directory to use for storing uploaded files B5:g{,C  
      设置存储上传文件的目录夹 :,m)D775S  
|xVCl<{F%  
struts.objectFactory s3{s.55{m  
      The com.opensymphony.xwork2.ObjectFactory implementation class Yys~p2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )\-";?sYky  
/BM1AV{s6  
struts.objectFactory.spring.autoWire 6[.Mx}h6  
      Whether Spring should autoWire or not aLi_Hrb9  
      是否自动绑定Spring GYC&P]  
gE&W6z0fJ  
struts.objectFactory.spring.useClassCache _wNPA1q0J  
      Whether Spring should use its class cache or not fm%RNAPvc  
      是否spring应该使用自身的cache P]"d eB|  
DYlvxF`  
struts.objectTypeDeterminer 5lnSa+_/f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WuFwt\U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {X<4wxeTo  
4|N\Q=,  
struts.serve.static.browserCache c1kxKxE  
If static content served by the Struts filter should set browser caching header properties or not hG7S]\N_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]^9* t,{9  
vt@Us\fI  
struts.serve.static eJw="  
      Whether the Struts filter should serve static content or not ;#s}b1  
      是否struts过滤器应该提供静态内容  }m%?&c  
U}w+`ZLN  
struts.tag.altSyntax |90 +)/$4  
      Whether to use the alterative syntax for the tags or not K3:|Tc(  
      是否可以用替代的语法替代tags RR!!hY3 K  
.^lb LN^2  
struts.ui.templateDir pP* ~ =?  
      The directory containing UI templates EB5_;  
      UI templates的目录夹 ]A72) 1  
X@qk>/  
struts.ui.theme vM7vf6  
      The default UI template theme !I5~))E  
      默认的UI template主题 zLQ#GF  
s S5fd)x  
struts.url.http.port ~ sIGI?5f  
      The HTTP port used by Struts URLs q|o |/O-{  
      设置http端口 +K%pxuVh  
#)0Tt>d6  
struts.url.https.port #[a"%byTR  
      The HTTPS port used by Struts URLs t {SMSp  
      设置https端口 /3Nb  
;DD>k bd  
struts.url.includeParams /Pn.)Lxfl  
      The default includeParams method to generate Struts URLs 58&{5YpS  
      在url中产生 默认的includeParams ;wXY3|@  
FU\/JF.j  
?orhJS  
struts.velocity.configfile N pXgyD  
      The Velocity configuration file path 5BHOHw D{  
      velocity配置文件路径 jefNiEE[  
qA/#IUi)1  
struts.velocity.contexts G7Z vfLR{:  
      List of Velocity context names  .3a:n\tY  
      velocity的context列表 K)/!&{7n}a  
^r>f2 x  
i)7n c  
struts.velocity.manager.classname 4r1<,{gCS  
      org.apache.struts2.views.velocity.VelocityManager implementation class {jOzap|  
      org.apache.struts2.views.velocity.VelocityManager接口名 "[*S?QO(L  
mA(nyF  
struts.velocity.toolboxlocation QSHJmk 6L  
      The location of the Velocity toolbox &_9YLXtMi;  
      velocity工具盒的位置 ;GE26Ymqly  
struts.xslt.nocache q]"2hLq  
      Whether or not XSLT templates should not be cached Q`S iV  
      是否XSLT模版应该被缓存 Y^R?Q'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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