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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z A&0H  
(&PamsV*8  
struts.action.extension :m5& i&  
      The URL extension to use to determine if the request is meant for a Struts action =t@m:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E2(;R!ML#  
90sMS]a  
struts.configuration 1?(BWX)7  
      The org.apache.struts2.config.Configuration implementation class BGOI$,  
        org.apache.struts2.config.Configuration接口名 sl6p/\_w  
L)8+/+  
struts.configuration.files aZ@4Z=LK  
      A list of configuration files automatically loaded by Struts 7b+OIZB  
      struts自动加载的一个配置文件列表 "1%<IqpU+  
Ez?vJDd  
struts.configuration.xml.reload oge^2  
      Whether to reload the XML configuration or not C>v    
      是否加载xml配置(true,false) YtW#MG$f  
(&x~pv"+  
struts.continuations.package 6;n^/3*#  
      The package containing actions that use Rife continuations E>4#j PK  
      含有actions的完整连续的package名称 a:zx&DwM  
MF 5w.@62X  
struts.custom.i18n.resources ~e{2Y%  
      Location of additional localization properties files to load + A0@# :B  
      加载附加的国际化属性文件(不包含.properties后缀) h4?+/jk7  
~|DF-t V  
struts.custom.properties R%#c~NOO  
      Location of additional configuration properties files to load |]GEJUWtCd  
      加载附加的配置文件的位置 /4_}wi\  
Vaha--QB  
^]U2Jd  
struts.devMode #H!~:Xu   
      Whether Struts is in development mode or not @;rVB  
      是否为struts开发模式 I.KYWs  
`b\4h/~  
struts.dispatcher.parametersWorkaround 7]nPWz1%*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +D h=D*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,1~Zqprn  
T{)!>)  
struts.enable.DynamicMethodInvocation uFok'3!g7%  
      Allows one to disable dynamic method invocation from the URL Bs##3{ylu  
        允许动态方法调用 xje{ kx#  
3\4Cg()  
struts.freemarker.manager.classname c U{LyZp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PU'v o4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =x7ODBYW^  
*kKGsy  
struts.i18n.encoding L1F){8[  
      The encoding to use for localization messages `Mjm/9+18  
      国际化信息内码 Q'8v!/"}p{  
yBl<E$=  
struts.i18n.reload &1Y+ q]  
      Whether the localization messages should automatically be reloaded ko5\*!|:lj  
      是否国际化信息自动加载  >#q|Pjv]  
7Ru0>4B  
struts.locale s]I],>}RU  
      The default locale for the Struts application >)N#n`  
      默认的国际化地区信息 RF;N]A?*  
<=zGaU,  
struts.mapper.class WEsH@ [  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VKs\b-1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %]R#}amW  
Wt`D  
struts.multipart.maxSize cYp}$  
      The maximize size of a multipart request (file upload) @i`gR%  
      multipart请求信息的最大尺寸(文件上传用) t{ 7l.>kf  
`773& \PK  
struts.multipart.parser t]` 2f3UO  
      The org.apache.struts2.dispatcher.multipart. )a}5\V  
      MultiPartRequest parser implementation for a multipart request (file upload) |.S;z"v![  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ym6ec|9;  
+p[~hM6?  
2Z97Tq  
struts.multipart.saveDir wH`@r?&  
      The directory to use for storing uploaded files 7d<v\=J}  
      设置存储上传文件的目录夹 x:bYd\ EJ[  
7&QVw(:)M  
struts.objectFactory $YC~02{  
      The com.opensymphony.xwork2.ObjectFactory implementation class =&pbh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C=]3NB>Jc  
PWmz7*/  
struts.objectFactory.spring.autoWire [yyV`&  
      Whether Spring should autoWire or not a2 SQ:d  
      是否自动绑定Spring |HA7 C  
w\mF2h  
struts.objectFactory.spring.useClassCache ~mp$P+M(%p  
      Whether Spring should use its class cache or not aE%VH ;?  
      是否spring应该使用自身的cache "a g_   
&-* nr/xT  
struts.objectTypeDeterminer $W?XxgkB?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6a@~;!GlI  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |]q=D1/A  
-hzza1DP  
struts.serve.static.browserCache c`+ITNV  
If static content served by the Struts filter should set browser caching header properties or not gfYB|VyWo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :9#`| #uh  
${+.1"/[  
struts.serve.static KRtu@;?  
      Whether the Struts filter should serve static content or not yRYWx` G  
      是否struts过滤器应该提供静态内容 lkm(3y@']A  
V!P3CNK  
struts.tag.altSyntax Q#N+5<]J)#  
      Whether to use the alterative syntax for the tags or not m@@QT<  
      是否可以用替代的语法替代tags m\f_u*  
Ig<p(G.;}  
struts.ui.templateDir hkJZqUA  
      The directory containing UI templates FNuu',:  
      UI templates的目录夹 2UF94  
Ic}ofBK  
struts.ui.theme `/zt&=`VB  
      The default UI template theme K5>:Wi Y  
      默认的UI template主题 (Pd>*G\  
PR?clg=z  
struts.url.http.port q?L(V+X  
      The HTTP port used by Struts URLs ? st#6=M  
      设置http端口 J7GsNFL  
,*[LnR  
struts.url.https.port ^W D$ gd  
      The HTTPS port used by Struts URLs _zh5KP[{  
      设置https端口 \2pFFVT  
L_mqC(vn  
struts.url.includeParams =LxmzQO#  
      The default includeParams method to generate Struts URLs gN(hv.nQ  
      在url中产生 默认的includeParams Hz8`)cv`  
cEdJn@ ,  
Mj B[5:s  
struts.velocity.configfile 9/Dt:R3QU  
      The Velocity configuration file path Q ~JKKq  
      velocity配置文件路径 s RQh~5kM  
^4pKsO3ul  
struts.velocity.contexts v4_OUA>z,  
      List of Velocity context names f9UaAdJ(  
      velocity的context列表 lzG;F]  
HY;?z `=  
-5 /v`  
struts.velocity.manager.classname \!Zh="hN  
      org.apache.struts2.views.velocity.VelocityManager implementation class O/9%"m:i  
      org.apache.struts2.views.velocity.VelocityManager接口名 z L'IN)7MU  
*g4Cy 8$  
struts.velocity.toolboxlocation 8$ZSF92C  
      The location of the Velocity toolbox %8CT -mQ  
      velocity工具盒的位置 sLdUrD%  
struts.xslt.nocache 4>VZk^%b#  
      Whether or not XSLT templates should not be cached 1L8ULxi_?]  
      是否XSLT模版应该被缓存 =veOVv[Q&/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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