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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]" 'yf;g  
TrjyU  
struts.action.extension =A"Abmx|  
      The URL extension to use to determine if the request is meant for a Struts action }@r23g%   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uAO!fE}CJ  
>f]/VaMH{  
struts.configuration KUI{Z I  
      The org.apache.struts2.config.Configuration implementation class v ccH(T  
        org.apache.struts2.config.Configuration接口名 t%=7v)IOE  
nh} Xu~#_  
struts.configuration.files TjW!-s?S  
      A list of configuration files automatically loaded by Struts `fBQ?[05.  
      struts自动加载的一个配置文件列表 5PeS/%uT@  
!m@cTB7i   
struts.configuration.xml.reload fzSkl`K}  
      Whether to reload the XML configuration or not smn"]K  
      是否加载xml配置(true,false) MpCPY"WLL  
nQF& ^1n  
struts.continuations.package X{-4w([  
      The package containing actions that use Rife continuations  s5VK  
      含有actions的完整连续的package名称 NdXHpq;  
E'AR.!  
struts.custom.i18n.resources CsO!Y\'FY  
      Location of additional localization properties files to load Y+?QHtZL  
      加载附加的国际化属性文件(不包含.properties后缀) RM2Ik_IH[l  
ewMVUq*:  
struts.custom.properties F]$ Nu  
      Location of additional configuration properties files to load mrTf[ "K  
      加载附加的配置文件的位置 Ni_H1G  
_Id'56N]J!  
dN{At-  
struts.devMode y~9wxK  
      Whether Struts is in development mode or not ~MG6evm &  
      是否为struts开发模式 4 2Z:J 0  
O=0p}{3l  
struts.dispatcher.parametersWorkaround 5GsmBf$RUb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W{6QvQD8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) z74JyY  
Kr}RFJ"d  
struts.enable.DynamicMethodInvocation BIx*t9wA  
      Allows one to disable dynamic method invocation from the URL EmNVQ1w  
        允许动态方法调用 Za|7gt];l  
q*hn5K*  
struts.freemarker.manager.classname */aY $aWv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .n 9.y8C  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V._-iw]v  
=M\yh,s!  
struts.i18n.encoding bxXpw&  
      The encoding to use for localization messages >F$9&s&  
      国际化信息内码 QQJGqM3a2  
s9?mX@>h  
struts.i18n.reload  {53FR  
      Whether the localization messages should automatically be reloaded H=/1d.p  
      是否国际化信息自动加载 ]iV ]7g8:  
< 5zR-UA>  
struts.locale oC&}lp)q  
      The default locale for the Struts application #VQZ"7nI@  
      默认的国际化地区信息 A*h8 o9M  
49qa  
struts.mapper.class ]cRvdUGv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Pf;OYWST  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 M\1CDU+*Ns  
yFE0a"0y  
struts.multipart.maxSize RoqkT|#$  
      The maximize size of a multipart request (file upload) mR0`wrt  
      multipart请求信息的最大尺寸(文件上传用) a"(Ws]K  
'(]Wtx%9"  
struts.multipart.parser ` m 5\  
      The org.apache.struts2.dispatcher.multipart. %NLd"SV  
      MultiPartRequest parser implementation for a multipart request (file upload) Y>$5j}K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rz|T2K  
`,O7S9]R+  
!'$*Z(  
struts.multipart.saveDir Q& [!+s:2J  
      The directory to use for storing uploaded files xF_u:}7`  
      设置存储上传文件的目录夹 M+t)#O4  
|!oC7!+0^  
struts.objectFactory M6-uTmN:d  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5<Kt"5Z%7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `^#Rwn#  
h7]+#U]mi  
struts.objectFactory.spring.autoWire 7w73,r/D8A  
      Whether Spring should autoWire or not FBE|pG7  
      是否自动绑定Spring TOiLv.Dor  
~&:-c v  
struts.objectFactory.spring.useClassCache Uz;^R@  
      Whether Spring should use its class cache or not BB}WfA  
      是否spring应该使用自身的cache g}~s"Sz  
L|[i<s;  
struts.objectTypeDeterminer U&"L9o`2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0\i\G|5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CH7a4qL`  
Rk9n,"xpv  
struts.serve.static.browserCache f@sC~A. 9\  
If static content served by the Struts filter should set browser caching header properties or not J>X@g;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .XgY&5Qk  
kQI'kL8>  
struts.serve.static Y*xgY*K  
      Whether the Struts filter should serve static content or not }w)}=WmD  
      是否struts过滤器应该提供静态内容 Vg62HZ |  
/CALX wL  
struts.tag.altSyntax Q`i@['?p  
      Whether to use the alterative syntax for the tags or not C.4(8~Y=~  
      是否可以用替代的语法替代tags K^x{rn.Zf  
;)ay uS sQ  
struts.ui.templateDir km>ZhsqD  
      The directory containing UI templates pg5W`4-F  
      UI templates的目录夹 (bm> )U=  
l_k:OZ  
struts.ui.theme T6y~iNd<  
      The default UI template theme [( xPX  
      默认的UI template主题 t<Sa ;[+  
gwNZ`_Q  
struts.url.http.port G{?`4=K  
      The HTTP port used by Struts URLs g)f& mQ)  
      设置http端口 t=lDN'\P  
Jd `Qa+  
struts.url.https.port ~F@p}u8TV  
      The HTTPS port used by Struts URLs v$ \<L|  
      设置https端口 HH6n3c!:mm  
!,$K;L  
struts.url.includeParams o5/BE`VD5c  
      The default includeParams method to generate Struts URLs UNSXr`9  
      在url中产生 默认的includeParams @|h9jx|  
bOU"s>?  
IqlCl>_j  
struts.velocity.configfile %1 RWF6  
      The Velocity configuration file path ~(*tcs]hY  
      velocity配置文件路径 lpPPI+|4N  
4'3;{k$z  
struts.velocity.contexts d@^%fVhG  
      List of Velocity context names 7Wv.-LD6  
      velocity的context列表 %J'/cmR&  
|[r7B*fw  
f5M;q;  
struts.velocity.manager.classname W3ms8=z  
      org.apache.struts2.views.velocity.VelocityManager implementation class Bi9Q8#lh  
      org.apache.struts2.views.velocity.VelocityManager接口名 >aVtYp B  
h+Lpj^<2a  
struts.velocity.toolboxlocation Tei2[siA5  
      The location of the Velocity toolbox &kvmLOI  
      velocity工具盒的位置 Y(aUB$"  
struts.xslt.nocache tKyGD|g S  
      Whether or not XSLT templates should not be cached s[eSPSFZ  
      是否XSLT模版应该被缓存 67/\0mV:~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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