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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &@W4^- 9  
RZd4(7H=q  
struts.action.extension c[h'`KXJf-  
      The URL extension to use to determine if the request is meant for a Struts action g/ l0}%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &=z1$ih>2\  
o7Cnyy#:  
struts.configuration lv00sa2z  
      The org.apache.struts2.config.Configuration implementation class F8S~wW=\w  
        org.apache.struts2.config.Configuration接口名 ,dZ#,<  
^%oG8z,L  
struts.configuration.files LZQFj/,Jg  
      A list of configuration files automatically loaded by Struts +f\pk \Ith  
      struts自动加载的一个配置文件列表 RUS7Z~5  
A&|Wvb=  
struts.configuration.xml.reload K/wiL69  
      Whether to reload the XML configuration or not X40la_[.  
      是否加载xml配置(true,false) hINnb7 o  
Q.9Ph ~  
struts.continuations.package ]@/^_f>D  
      The package containing actions that use Rife continuations ;WvYzd9  
      含有actions的完整连续的package名称 MJ>Qq[0  
uXQ7eXX  
struts.custom.i18n.resources I|F~HUzA"  
      Location of additional localization properties files to load Jcalf{W6  
      加载附加的国际化属性文件(不包含.properties后缀) J-, H6u  
MdVCD^B  
struts.custom.properties 84p[N8  
      Location of additional configuration properties files to load $kkp*3{ot  
      加载附加的配置文件的位置 piYws<Q  
vLnq%@x  
Q(=Vk~v  
struts.devMode 8K@"B  
      Whether Struts is in development mode or not B:3+',i1  
      是否为struts开发模式 l&6U|q`  
`R=a@DQ  
struts.dispatcher.parametersWorkaround {DEzuU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wR Xn9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t<!+b@l5  
YQ8j  
struts.enable.DynamicMethodInvocation P\22op_te-  
      Allows one to disable dynamic method invocation from the URL +}c|O+6g  
        允许动态方法调用 CJMaltPp&  
t+=12{9;f  
struts.freemarker.manager.classname Ad]<e?oN=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ']d!?>C@o  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 T6h;Y  
8 zQ_xE  
struts.i18n.encoding A*7Io4e!  
      The encoding to use for localization messages L.09\1?.n  
      国际化信息内码 W{fULl  
+A8=R%&b)[  
struts.i18n.reload Kk!6B  
      Whether the localization messages should automatically be reloaded >a&?AP #  
      是否国际化信息自动加载 Y )u_nn'[  
?%\mQmjas  
struts.locale \LO_Nu9  
      The default locale for the Struts application g.[+yzuE6  
      默认的国际化地区信息 r#_7]_3  
*[d~Nk%Y$  
struts.mapper.class My]+?.Ru  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v87$NQvwQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Qq'i*Mh  
Lnh':7FQJx  
struts.multipart.maxSize n0rerI[R  
      The maximize size of a multipart request (file upload) ; g Z%U  
      multipart请求信息的最大尺寸(文件上传用) fKL'/?LD]  
GXOFk7>  
struts.multipart.parser X'V+^u@W  
      The org.apache.struts2.dispatcher.multipart. hl AR[]  
      MultiPartRequest parser implementation for a multipart request (file upload) TK; \_yN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RGT_}ni  
8w)e/*:j  
? .c?Pu  
struts.multipart.saveDir 8ivRp<9  
      The directory to use for storing uploaded files :D"@6PC]  
      设置存储上传文件的目录夹 ;Y Dv.I  
)8pc f`h{  
struts.objectFactory uk`T+@K  
      The com.opensymphony.xwork2.ObjectFactory implementation class zc6H o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !"g=&Uy&  
VDB$"T9#  
struts.objectFactory.spring.autoWire a`7%A H)  
      Whether Spring should autoWire or not OOCQsoN  
      是否自动绑定Spring E^b pckP  
Dz[566UD  
struts.objectFactory.spring.useClassCache yB-.sGu  
      Whether Spring should use its class cache or not n=f`AmF;  
      是否spring应该使用自身的cache iKg75%;t  
"#*Nnt  
struts.objectTypeDeterminer EKc C+g   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Px'R`1^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !+m@AQ:,  
~k9O5S{  
struts.serve.static.browserCache V-[2jC{  
If static content served by the Struts filter should set browser caching header properties or not ^ [ET&"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;LHDh_.pX  
pU M&"V  
struts.serve.static VVs{l\$=ZV  
      Whether the Struts filter should serve static content or not HDyQzCG,  
      是否struts过滤器应该提供静态内容 OZG0AX+=#  
66oK3%[  
struts.tag.altSyntax zLh Fbyn(  
      Whether to use the alterative syntax for the tags or not {J{1`@  
      是否可以用替代的语法替代tags ;!'qtw"CB  
m'd^?Qc  
struts.ui.templateDir '4$lL 6ly>  
      The directory containing UI templates T}UT 7W|  
      UI templates的目录夹 LRWOBD  
^rL ,&rk  
struts.ui.theme S2ark,sp6  
      The default UI template theme |-|jf  
      默认的UI template主题 rxQ<4  
f7Yz>To  
struts.url.http.port 6A}eSG3  
      The HTTP port used by Struts URLs ,NDh@VYe  
      设置http端口 ])C>\@c6Gm  
}xqXd%uz  
struts.url.https.port $)Wb#B  
      The HTTPS port used by Struts URLs @\ }sb]  
      设置https端口 TfL4_IAG.  
G=1m] >I8  
struts.url.includeParams kg:l:C)Tq  
      The default includeParams method to generate Struts URLs Te+^J8  
      在url中产生 默认的includeParams H- 185]7  
Yr+d1(  
VQ2Fnb4  
struts.velocity.configfile ~]4kkm7Y  
      The Velocity configuration file path =Ci13< KQ  
      velocity配置文件路径 K<#-"Xe;  
3)y{n%3L  
struts.velocity.contexts Lj iI+NJ  
      List of Velocity context names .?f:Nb.O  
      velocity的context列表 Ee8--  
}S,-uggz  
#'C/Gya  
struts.velocity.manager.classname c -w0  
      org.apache.struts2.views.velocity.VelocityManager implementation class 57U%`  
      org.apache.struts2.views.velocity.VelocityManager接口名 B3Mx,uXT\  
f4 Q( 1(C  
struts.velocity.toolboxlocation [g+y_@9s  
      The location of the Velocity toolbox PT+c&5AS  
      velocity工具盒的位置 <^Nk.E  
struts.xslt.nocache R3?:\d{  
      Whether or not XSLT templates should not be cached )i0 $j)R  
      是否XSLT模版应该被缓存 U,HIB^= R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八