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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _5.^A&Y*  
z:|4S@9  
struts.action.extension ~j mHzF kQ  
      The URL extension to use to determine if the request is meant for a Struts action JMw1qPJQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x\!Qe\lE  
)`^t,x<S  
struts.configuration d$kGYMT"  
      The org.apache.struts2.config.Configuration implementation class p}!rPd*  
        org.apache.struts2.config.Configuration接口名 Dq Kk9s;6_  
IC/'<%k  
struts.configuration.files ?I`']|I  
      A list of configuration files automatically loaded by Struts DTt/nmKAqJ  
      struts自动加载的一个配置文件列表 #~q{6()e:  
mKPyM<Q  
struts.configuration.xml.reload L\5j"] }`  
      Whether to reload the XML configuration or not Ezm ~SY  
      是否加载xml配置(true,false) .ev'd&l.  
^$24231^  
struts.continuations.package "MKgU[t  
      The package containing actions that use Rife continuations "o`N6@[w^  
      含有actions的完整连续的package名称 8,#v7ns}#  
;_,=  
struts.custom.i18n.resources g ` 6Xrf  
      Location of additional localization properties files to load _NA0$bGN9  
      加载附加的国际化属性文件(不包含.properties后缀) GrW+P[j9  
.#6Dad=S*  
struts.custom.properties <u*~RYA2  
      Location of additional configuration properties files to load  s6rdQI]  
      加载附加的配置文件的位置 X26gl 'U  
P8Fq %k  
EMmNlj6  
struts.devMode y1(smZU  
      Whether Struts is in development mode or not o';sHa'  
      是否为struts开发模式 )Rn}4)9!iT  
7:I` ~ @m  
struts.dispatcher.parametersWorkaround j{IAZs#@>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gpe^G64c`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VieC+Kk  
$[6:KV  
struts.enable.DynamicMethodInvocation _LFZ0  
      Allows one to disable dynamic method invocation from the URL !!b5vzyve  
        允许动态方法调用 Ni'vz7j  
#q%xJ[  
struts.freemarker.manager.classname c</d1xT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class OnC|9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]ZelB,7q  
_+S`[:;a  
struts.i18n.encoding (01M0b#  
      The encoding to use for localization messages ^UZEdR;  
      国际化信息内码 KO<Yc`Fs  
H ZIJKk(  
struts.i18n.reload 3lqR(Hh3  
      Whether the localization messages should automatically be reloaded V{O,O,*  
      是否国际化信息自动加载 .%h.b6^  
B9/x?Jv1  
struts.locale '%yWz)P  
      The default locale for the Struts application s@E "EWp0  
      默认的国际化地区信息 X5cl'J(j9  
bBc<yaN  
struts.mapper.class 0R >M_|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [iwn"e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cj`g)cX|  
`$jc=ZLm  
struts.multipart.maxSize r+217fS>  
      The maximize size of a multipart request (file upload) G)';ucs:,  
      multipart请求信息的最大尺寸(文件上传用) zy~vw6vu  
p)N=  
struts.multipart.parser 7JD jJQy  
      The org.apache.struts2.dispatcher.multipart. (n05MwKu\  
      MultiPartRequest parser implementation for a multipart request (file upload) TggM/ @k  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x1W<r)A )r  
<->Nex  
ykH?;Xu  
struts.multipart.saveDir +N: K V}K  
      The directory to use for storing uploaded files o"->RC  
      设置存储上传文件的目录夹 B?'`\q) UL  
&*B=5W;6^u  
struts.objectFactory UM(tM9  
      The com.opensymphony.xwork2.ObjectFactory implementation class oJ\UF S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .$y}}/{j?[  
qvy~b  
struts.objectFactory.spring.autoWire Jiyt,D*wX  
      Whether Spring should autoWire or not tI0d!8K  
      是否自动绑定Spring iY1%"x  
 jhjb)r.  
struts.objectFactory.spring.useClassCache  d!5C$C/x  
      Whether Spring should use its class cache or not x+x 6F  
      是否spring应该使用自身的cache +!6aB|-  
"rOe J~4 X  
struts.objectTypeDeterminer $@"o BCc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yT%"<m6Y*\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >!MOgLO3  
 ^E*W B~  
struts.serve.static.browserCache sy=M#WGS  
If static content served by the Struts filter should set browser caching header properties or not 2F[smUL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1Y:lFGoe  
 h%0/j  
struts.serve.static 3JVENn9  
      Whether the Struts filter should serve static content or not T&c0j(  
      是否struts过滤器应该提供静态内容 /L\ ]t  
=T;>$&qs  
struts.tag.altSyntax D0 Yl?LU3  
      Whether to use the alterative syntax for the tags or not ^AkVmsv;;  
      是否可以用替代的语法替代tags 0)`{]&  
"K n JUXpl  
struts.ui.templateDir HgPRz C  
      The directory containing UI templates u@tJu'X  
      UI templates的目录夹 6:O3>'n  
j}7as&  
struts.ui.theme ||a 5)D  
      The default UI template theme dqMt6b\}  
      默认的UI template主题 yBqv'Y  
P,r9  <  
struts.url.http.port y|f`sBMM  
      The HTTP port used by Struts URLs aG.j0`)%  
      设置http端口 2A7g}V  
qq" &Bc>  
struts.url.https.port 6FNs4|(d  
      The HTTPS port used by Struts URLs ++d(}^C;  
      设置https端口 dznHR6x  
-Zx hh  
struts.url.includeParams 1t haQ"  
      The default includeParams method to generate Struts URLs np,L39:sf  
      在url中产生 默认的includeParams M3c!SXx\  
KKP}fN  
f_a.BTtNO  
struts.velocity.configfile Pj9n`LwM  
      The Velocity configuration file path 8.FBgZh*  
      velocity配置文件路径 )nmLgsg  
):OGhWq  
struts.velocity.contexts NSH20$A<  
      List of Velocity context names ~CiVLS H=  
      velocity的context列表 }`#OA]NZ  
dR~4*59Bg  
qplz !=  
struts.velocity.manager.classname N=FU>qbz  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7hwl[knyB  
      org.apache.struts2.views.velocity.VelocityManager接口名 =<mpZ'9gW  
 lc9aDt  
struts.velocity.toolboxlocation Jlw%t!Kx  
      The location of the Velocity toolbox SFCKD/8  
      velocity工具盒的位置  $0>>Z  
struts.xslt.nocache GWo^hIfJ  
      Whether or not XSLT templates should not be cached iJ.P&T9  
      是否XSLT模版应该被缓存 `X[L62D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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