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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 CBDG./  
mk3_  
struts.action.extension 5w\fSY  
      The URL extension to use to determine if the request is meant for a Struts action ZxlAk+<]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `E!N9qI?t$  
"Vr[4&`  
struts.configuration ]D@0|  
      The org.apache.struts2.config.Configuration implementation class ~}!3G  
        org.apache.struts2.config.Configuration接口名 ?[& 2o|  
u$D*tqxG  
struts.configuration.files (u]N  
      A list of configuration files automatically loaded by Struts `u.t[  
      struts自动加载的一个配置文件列表 =) E,8L  
6m VuyI  
struts.configuration.xml.reload u5~Ns&o&N  
      Whether to reload the XML configuration or not h.!}3\Y  
      是否加载xml配置(true,false) =56T{N  
pSm $FBW h  
struts.continuations.package ALEnI@0  
      The package containing actions that use Rife continuations ?d4m!HgR   
      含有actions的完整连续的package名称  )@ ~J  
R-Z~V  
struts.custom.i18n.resources = pI?A^  
      Location of additional localization properties files to load TLd`1Ac  
      加载附加的国际化属性文件(不包含.properties后缀) nOQa_G]Gz  
zNY)'  
struts.custom.properties _{Sm k [  
      Location of additional configuration properties files to load rU;RGz6}  
      加载附加的配置文件的位置 r1<F  
avy"r$v_&  
$5v0m#[^  
struts.devMode dJv!Dts')C  
      Whether Struts is in development mode or not u7xDau(c  
      是否为struts开发模式 ? tfT8$  
cgb2K$B_"  
struts.dispatcher.parametersWorkaround 7HVZZ!>~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kGL1!=>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l^d[EL+  
7@6g<"I  
struts.enable.DynamicMethodInvocation 'kYwz;gp  
      Allows one to disable dynamic method invocation from the URL .i^7|o:  
        允许动态方法调用 X*Z8CM_  
s;1]tD  
struts.freemarker.manager.classname S,U Pl}KF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `fNG$ODL   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 t6BHGX{o  
\`, [)`  
struts.i18n.encoding _BFOc>0  
      The encoding to use for localization messages Dw7vv]+ S  
      国际化信息内码 yQ3OL#  
EwS!]h?  
struts.i18n.reload lpRR&  
      Whether the localization messages should automatically be reloaded /t6X(*xoy  
      是否国际化信息自动加载 /XudV2P-CA  
y7S4d~&  
struts.locale w nTV|^Q  
      The default locale for the Struts application lNv".Y=l  
      默认的国际化地区信息 $7QoMV8V  
k<RZKwQc  
struts.mapper.class H'MJ{r0,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MG /,==  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `xiCm':  
\m=?xb8 f  
struts.multipart.maxSize );*YQmdx'  
      The maximize size of a multipart request (file upload) `MEYd U1  
      multipart请求信息的最大尺寸(文件上传用) 8?*RIA.a  
&20P,8@  
struts.multipart.parser N)S!7%ne  
      The org.apache.struts2.dispatcher.multipart. pxSX#S6I  
      MultiPartRequest parser implementation for a multipart request (file upload) _/S?#   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K^rIG6  
-dv %H{  
?0_7?yTR/  
struts.multipart.saveDir .bVmqR`  
      The directory to use for storing uploaded files =<@\,xN>C  
      设置存储上传文件的目录夹 UZEI:k,dv  
x f4{r+  
struts.objectFactory +,v-=~5  
      The com.opensymphony.xwork2.ObjectFactory implementation class <!pQ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) cst}Ibf i  
7O`o ovW$  
struts.objectFactory.spring.autoWire ](eN@Xi&@  
      Whether Spring should autoWire or not ^`SA'F ,  
      是否自动绑定Spring u*7Z~R  
kkvtB<<Y  
struts.objectFactory.spring.useClassCache \([WH!7  
      Whether Spring should use its class cache or not r-kMLw/)  
      是否spring应该使用自身的cache GHF_R,7  
o$C| J]%  
struts.objectTypeDeterminer v(l eide  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6DL[ aD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #k<":O  
W>M~Sk$v  
struts.serve.static.browserCache VD4C::J  
If static content served by the Struts filter should set browser caching header properties or not 7Z UiY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dY" }\v6  
M HL("v(@B  
struts.serve.static {F N;'Uc  
      Whether the Struts filter should serve static content or not iqhOi|!  
      是否struts过滤器应该提供静态内容 G5D2oQa=8  
'!Gs>T+  
struts.tag.altSyntax 0W`LVue  
      Whether to use the alterative syntax for the tags or not $KjTa#[RX7  
      是否可以用替代的语法替代tags M}0eu(_|  
M,3wmW&d6  
struts.ui.templateDir FFEfp.T1M  
      The directory containing UI templates p.fF}B  
      UI templates的目录夹 ED$DSz)x  
;Qi }{;+  
struts.ui.theme ~#}Dx :HH  
      The default UI template theme <DH*~tLp2  
      默认的UI template主题 D\^WXY5e%y  
xjdw'v+qZo  
struts.url.http.port 2JmZ{  
      The HTTP port used by Struts URLs JNWg|Qt  
      设置http端口 4gdY`}8b^}  
/w]&t\]*  
struts.url.https.port bg?"ILpk  
      The HTTPS port used by Struts URLs I\\QS.2  
      设置https端口 FVF-:C  
8*g ^o\M  
struts.url.includeParams v&g0ta@  
      The default includeParams method to generate Struts URLs -~)OF  
      在url中产生 默认的includeParams +Ra3bjl  
rZbEvS  
%Y4e9T".  
struts.velocity.configfile ">dq0gD  
      The Velocity configuration file path ~un%4]U  
      velocity配置文件路径 tLm867`c7  
?p[O%_Xf  
struts.velocity.contexts r^HA aGpC  
      List of Velocity context names j2 h[70fWC  
      velocity的context列表 d~ng6pA  
!c<wS Q,  
Aox3s?  
struts.velocity.manager.classname e=/&(Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class LT+3q%W.UC  
      org.apache.struts2.views.velocity.VelocityManager接口名 dMl+ko  
YEYY}/YX  
struts.velocity.toolboxlocation Qq0l* )mX  
      The location of the Velocity toolbox b'x$2K;E  
      velocity工具盒的位置 0MIUI<;j  
struts.xslt.nocache |'HLz=5\  
      Whether or not XSLT templates should not be cached AB.(CS=i  
      是否XSLT模版应该被缓存 .g\6g~n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五