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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &w*.S@  ;  
2etcSU(y>  
struts.action.extension Q6_!I42Y`  
      The URL extension to use to determine if the request is meant for a Struts action i:&Y{iPQp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @+syD  
\x(J v Dt  
struts.configuration >9esZA^';  
      The org.apache.struts2.config.Configuration implementation class m qPWCFP  
        org.apache.struts2.config.Configuration接口名 #h /-  
JZD27[b  
struts.configuration.files 8niQG']  
      A list of configuration files automatically loaded by Struts fH`P8?](x  
      struts自动加载的一个配置文件列表 $A7[?Ai ?  
?%JH4I2  
struts.configuration.xml.reload @_FL,AC&m  
      Whether to reload the XML configuration or not X@JDfn?A  
      是否加载xml配置(true,false) RB\>$D  
!z{bqPlFGG  
struts.continuations.package O2:m)@  
      The package containing actions that use Rife continuations A>%fE 6FY  
      含有actions的完整连续的package名称 jXGr{n  
*Y9"-C+  
struts.custom.i18n.resources X3!btxa% t  
      Location of additional localization properties files to load [ \V]tpl!  
      加载附加的国际化属性文件(不包含.properties后缀) #| A @  
TcpD*%wW  
struts.custom.properties }dAb} 0XK.  
      Location of additional configuration properties files to load {tu* ="d=  
      加载附加的配置文件的位置 aP cO9  
s)375jCga  
MGX,JW>L  
struts.devMode ^\e:j7@z  
      Whether Struts is in development mode or not `2J6Dz"W  
      是否为struts开发模式 $Z+N*w~8  
 n1y#gC  
struts.dispatcher.parametersWorkaround )}~k7bb}Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |I^\|5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J^ P/2a#a  
, y{o!w  
struts.enable.DynamicMethodInvocation 9H1R0iWW  
      Allows one to disable dynamic method invocation from the URL 5|r3i \  
        允许动态方法调用 (FH4\'t)  
f3y_&I+zl  
struts.freemarker.manager.classname @2CYv>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @D9c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 lLmVat(  
[jD O8n/  
struts.i18n.encoding MZ=U} &F  
      The encoding to use for localization messages EK@yzJ%  
      国际化信息内码 ;?=nr5;q  
{8@?9Z9R{  
struts.i18n.reload &KbtW_  
      Whether the localization messages should automatically be reloaded /A_</GYs  
      是否国际化信息自动加载 @]H&(bw  
~< Gs<c}z  
struts.locale &^ =t%A%#  
      The default locale for the Struts application j:) (`  
      默认的国际化地区信息 Yah3I@xGy  
]'~'V2Ey  
struts.mapper.class ^zs CF0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u-OwL1S+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L@CN0ezQs  
U6jlv3  
struts.multipart.maxSize o$d; Y2K  
      The maximize size of a multipart request (file upload) *S~. KW[  
      multipart请求信息的最大尺寸(文件上传用) B V+"uF  
HQt=.#GW  
struts.multipart.parser f:Nfw+/q  
      The org.apache.struts2.dispatcher.multipart. D G7FG--  
      MultiPartRequest parser implementation for a multipart request (file upload) 0z#+^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eK/[jxNO  
&oTSff>p}  
>bz}IcZP  
struts.multipart.saveDir wMt?yc:X  
      The directory to use for storing uploaded files *N\U{)b\  
      设置存储上传文件的目录夹 \dIIZSN  
``w,CP ?  
struts.objectFactory 8@6:UR.)  
      The com.opensymphony.xwork2.ObjectFactory implementation class (mt,:hX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k W/3 Aq7r  
i&mu=J[  
struts.objectFactory.spring.autoWire W>wE8? _,  
      Whether Spring should autoWire or not YXrTm[P  
      是否自动绑定Spring m[ay  
W qci51y>#  
struts.objectFactory.spring.useClassCache ReZ|q5*  
      Whether Spring should use its class cache or not e_k1pox]l  
      是否spring应该使用自身的cache B wtD!de$  
4xtbP\=   
struts.objectTypeDeterminer }(op;7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qZKU=HM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |5e/.T$  
1k{ E7eL  
struts.serve.static.browserCache j\@s pbE@  
If static content served by the Struts filter should set browser caching header properties or not l:j9lBS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7S2Bm]fP  
f IQ$a >  
struts.serve.static [FF%HRce,.  
      Whether the Struts filter should serve static content or not Z%(aBz7Et  
      是否struts过滤器应该提供静态内容 :ozHuHJ#  
N+HN~'8r  
struts.tag.altSyntax C*kZ>mbc  
      Whether to use the alterative syntax for the tags or not saU|.\l  
      是否可以用替代的语法替代tags cg1<  
e/#4)@]  
struts.ui.templateDir s67$tlV  
      The directory containing UI templates kl3#&>e  
      UI templates的目录夹 @iC!Q>D  
=J0FT2 d  
struts.ui.theme isWB)$q  
      The default UI template theme c)iQ3_&=  
      默认的UI template主题 jpm}EOq<%  
EJdq"6S  
struts.url.http.port 2$qeNy  
      The HTTP port used by Struts URLs [#3:CDT  
      设置http端口 "Q2[A]4E  
6NJ La|&n  
struts.url.https.port AGK+~EjL@  
      The HTTPS port used by Struts URLs ?D57HCd`n  
      设置https端口 t~sW]<qjp  
F[RhuNa&'W  
struts.url.includeParams '~liDz*O   
      The default includeParams method to generate Struts URLs wpx,~`&  
      在url中产生 默认的includeParams r-4I{GPb  
5XFhjVmEL  
V %Y.N4H  
struts.velocity.configfile %b@>riR(y  
      The Velocity configuration file path >[ lj8n  
      velocity配置文件路径 jD H)S{k  
.N/4+[2p(  
struts.velocity.contexts "/ @ ;6   
      List of Velocity context names ^h^j:!76j  
      velocity的context列表 sE>'~ +1_O  
rUx%2O|qu  
<XCH{Te1  
struts.velocity.manager.classname cf0em!  
      org.apache.struts2.views.velocity.VelocityManager implementation class =jg!@H=_i  
      org.apache.struts2.views.velocity.VelocityManager接口名 YwB 5Zqr  
Cv;z^8PZJz  
struts.velocity.toolboxlocation 0A5xG&  
      The location of the Velocity toolbox bsqoR8  
      velocity工具盒的位置 6kIq6rWF9  
struts.xslt.nocache D=9x/ ) *G  
      Whether or not XSLT templates should not be cached F^`sIrZvs  
      是否XSLT模版应该被缓存 ,Z MYCl]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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