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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /eZ UAxq  
e -sZ_<GH  
struts.action.extension gpo+-NnG  
      The URL extension to use to determine if the request is meant for a Struts action Ebmd[A&&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 irg% n  
e;Iz K]kP  
struts.configuration XMt5o&U1  
      The org.apache.struts2.config.Configuration implementation class !nPwRK>  
        org.apache.struts2.config.Configuration接口名 EfTuHg$pe  
[N$#&4{Je  
struts.configuration.files =!@5!  
      A list of configuration files automatically loaded by Struts gO{XD.s  
      struts自动加载的一个配置文件列表 >P@JiR<@\n  
^o`;C\  
struts.configuration.xml.reload *b< a@  
      Whether to reload the XML configuration or not .?C-J  
      是否加载xml配置(true,false) cjTV~(i'4A  
. fZ*N/  
struts.continuations.package ;cye 'E  
      The package containing actions that use Rife continuations v61'fQ1Qg!  
      含有actions的完整连续的package名称 pA ,xDs@37  
VR/*h%  
struts.custom.i18n.resources  >^<%9{  
      Location of additional localization properties files to load &W'X3!Te  
      加载附加的国际化属性文件(不包含.properties后缀) 7hg)R @OC  
qB%?t.k7  
struts.custom.properties 1:L _qL  
      Location of additional configuration properties files to load %TOYU (k  
      加载附加的配置文件的位置 $-tgd<2h  
y'5 y  
u0Nag=cU  
struts.devMode H<hFA(M  
      Whether Struts is in development mode or not U{^~X_?  
      是否为struts开发模式 Klw\  
jB"?iC.  
struts.dispatcher.parametersWorkaround Y Ib=rR[ $  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3k5C;5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,-55*Rbi  
!|SVRaS  
struts.enable.DynamicMethodInvocation 7'pmW,;  
      Allows one to disable dynamic method invocation from the URL n/>^!S  
        允许动态方法调用 @k"Q e&BQ  
ncF|wz  
struts.freemarker.manager.classname ^e<"`e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Pz=x$aY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Xup"gYTZQ  
"r:i  
struts.i18n.encoding y;M}I8W[  
      The encoding to use for localization messages X4- _l$j  
      国际化信息内码 XOk0_[  
YlF<S49loC  
struts.i18n.reload YPq4VX,  
      Whether the localization messages should automatically be reloaded >?pWbL  
      是否国际化信息自动加载 BqF%2{  
=\t%U5  
struts.locale m1](f[$  
      The default locale for the Struts application st|;] q9?  
      默认的国际化地区信息 nUgZ]ag=G  
9>@@W#TK~  
struts.mapper.class J\WUBt-M  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @|N'V"*MT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z9TUaMhF  
Y? 1 3_~ K  
struts.multipart.maxSize o$S/EZ  
      The maximize size of a multipart request (file upload) jbDap i<  
      multipart请求信息的最大尺寸(文件上传用) qHAZ)Tz  
51,RbADB  
struts.multipart.parser ZQ&A '(tt4  
      The org.apache.struts2.dispatcher.multipart. %syFHUBw  
      MultiPartRequest parser implementation for a multipart request (file upload) M9 _G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9;fyC =  
7W{xK'|]  
3 &aBU [  
struts.multipart.saveDir Aqc Cb[1r  
      The directory to use for storing uploaded files fmDn1N-bG  
      设置存储上传文件的目录夹 lur$?_gt  
m'L7K K-Y)  
struts.objectFactory #_A <C+[  
      The com.opensymphony.xwork2.ObjectFactory implementation class $r>\y (W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lphELPh  
u$3wdZ2&m  
struts.objectFactory.spring.autoWire 6m=FWw3y  
      Whether Spring should autoWire or not O%w"bEr)N  
      是否自动绑定Spring UG]]Vk1d]  
<c,/+ lQ^  
struts.objectFactory.spring.useClassCache .e^AS~4pl  
      Whether Spring should use its class cache or not (%i)A$i6a  
      是否spring应该使用自身的cache u:6PAVW?  
yMJY6$Ct  
struts.objectTypeDeterminer GzC=xXON  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R(i2TAaaU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0%K/gd#S<  
c*5y8k  
struts.serve.static.browserCache w6B'&  
If static content served by the Struts filter should set browser caching header properties or not IQ&o%   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +c8cyx:^f  
0v~Eu>Rg  
struts.serve.static vP_V%5~yN  
      Whether the Struts filter should serve static content or not &~%( RO  
      是否struts过滤器应该提供静态内容 n@hf{hA[a  
iva?3.t  
struts.tag.altSyntax rO_|_nV[  
      Whether to use the alterative syntax for the tags or not r`; "  
      是否可以用替代的语法替代tags shjq4# 9  
fn!(cE|`E  
struts.ui.templateDir Mp8FYPjZ  
      The directory containing UI templates #6jdv|fu  
      UI templates的目录夹 r_5k$u(  
yNVmTb9mF  
struts.ui.theme &_DRrp0CN  
      The default UI template theme gypE~@  
      默认的UI template主题 TAkM-iyH]  
^/)!)=?  
struts.url.http.port l7.W2mg  
      The HTTP port used by Struts URLs !7m )QNV  
      设置http端口 x[ sSM:  
K2W$I H:.  
struts.url.https.port OG M9e!  
      The HTTPS port used by Struts URLs eH*u,/  
      设置https端口 m((A  
D<.zdTo  
struts.url.includeParams ! uC`7a  
      The default includeParams method to generate Struts URLs eX+FtN  
      在url中产生 默认的includeParams rvdhfM!-A  
uSAb  
z3RlD"F1  
struts.velocity.configfile _$W</8 <  
      The Velocity configuration file path cH5@Jam  
      velocity配置文件路径 SS4'yaQ  
v}$s,j3NO  
struts.velocity.contexts *\UxdL 22  
      List of Velocity context names c|kQ3(  
      velocity的context列表 ;[)t*yAh  
rm-6Az V  
^G(/;c*=  
struts.velocity.manager.classname ,P?R 3  
      org.apache.struts2.views.velocity.VelocityManager implementation class % d%KH9u  
      org.apache.struts2.views.velocity.VelocityManager接口名 a^9-9*  
:6,qp?/  
struts.velocity.toolboxlocation A? =(q  
      The location of the Velocity toolbox !k=>Wb8n2  
      velocity工具盒的位置 $U uSrX&  
struts.xslt.nocache ]^='aQ  
      Whether or not XSLT templates should not be cached *kI1NchF  
      是否XSLT模版应该被缓存 a ]PS`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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