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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _^`TG]F  
F{laA YE  
struts.action.extension ;n.SRy6  
      The URL extension to use to determine if the request is meant for a Struts action cpM]APF-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 aMaqlqf  
xmHW,#%ui\  
struts.configuration ,soXX_Y>  
      The org.apache.struts2.config.Configuration implementation class /@@?0xjX  
        org.apache.struts2.config.Configuration接口名 \omfWWpK  
UD^=@?^7  
struts.configuration.files @*iT%p_L  
      A list of configuration files automatically loaded by Struts [#+klP$  
      struts自动加载的一个配置文件列表 =H?^G[y  
cX|(/h,W/  
struts.configuration.xml.reload R_b)2FU1y  
      Whether to reload the XML configuration or not ZV$!dHW/  
      是否加载xml配置(true,false) tD> qHR  
6o~g3{Ow  
struts.continuations.package U,Th-oU  
      The package containing actions that use Rife continuations sn8r`59C  
      含有actions的完整连续的package名称 C5=m~  
g&X X@I8+v  
struts.custom.i18n.resources =m U</F)  
      Location of additional localization properties files to load fnK H<  
      加载附加的国际化属性文件(不包含.properties后缀) wN:vI(C  
sq+cF/jo6  
struts.custom.properties ?6 "B4%7b  
      Location of additional configuration properties files to load na3lbwq  
      加载附加的配置文件的位置 UDV6 ##$  
fcw/l,k9  
`2n%Lo?_  
struts.devMode !XO"lS  
      Whether Struts is in development mode or not ,$"T/yYer  
      是否为struts开发模式 &"clBR Vg  
j4$NQ]e^4  
struts.dispatcher.parametersWorkaround q1Ehl S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9Rb tFwbn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7e6; |?  
8^hbS%s!  
struts.enable.DynamicMethodInvocation *OHaqe(*  
      Allows one to disable dynamic method invocation from the URL S(G&{KG  
        允许动态方法调用 LT]YYn($  
}a!c  
struts.freemarker.manager.classname M)CQ|P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o^+g2;Ro  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F\-oZ#g  
LNF|mS\+D  
struts.i18n.encoding QQQN}!xPj  
      The encoding to use for localization messages 'v%v*Ujf[  
      国际化信息内码 \!zM4ppr  
bkIQ?cl<at  
struts.i18n.reload W.?EjEx  
      Whether the localization messages should automatically be reloaded HlXEU$e  
      是否国际化信息自动加载 $pj;CoPm  
3j/~XT  
struts.locale JF(&+\i<p  
      The default locale for the Struts application '(SqHP|8&g  
      默认的国际化地区信息 t ]P^6jw'  
hh<ryuZ  
struts.mapper.class Ummoph7_@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0> U7]wZKc  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (`&E^t  
$q0i=l&$&  
struts.multipart.maxSize FTcXjWBPF9  
      The maximize size of a multipart request (file upload) Y#rd' 8  
      multipart请求信息的最大尺寸(文件上传用) B=|m._OL]n  
U\(T<WX,  
struts.multipart.parser %D E_kwL  
      The org.apache.struts2.dispatcher.multipart. !5K5;M_Ih"  
      MultiPartRequest parser implementation for a multipart request (file upload) }!jn%@_y@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oC|']r6  
U2*kuP+n  
)CG,Udu  
struts.multipart.saveDir W"\O+  
      The directory to use for storing uploaded files 8GT4U5c ;  
      设置存储上传文件的目录夹 PPj%.i)  
!Er)|YP  
struts.objectFactory 6yedl0@wa!  
      The com.opensymphony.xwork2.ObjectFactory implementation class h&<>nK   
      com.opensymphony.xwork2.ObjectFactory接口(spring) SH;:bLk_  
V~S(cO[vj  
struts.objectFactory.spring.autoWire D9higsN  
      Whether Spring should autoWire or not  Z6_fI  
      是否自动绑定Spring 9lc{{)m2)  
Gr !@ih^  
struts.objectFactory.spring.useClassCache )m>Y[)8!  
      Whether Spring should use its class cache or not \04 (V'`U  
      是否spring应该使用自身的cache s@pIcNvx  
|J&=h|-A  
struts.objectTypeDeterminer PG3,MCf:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'b Kc;\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +/!y#&C&*  
}cERCS\t  
struts.serve.static.browserCache Z^%aXaf8  
If static content served by the Struts filter should set browser caching header properties or not ]ujXPK=t  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NJPp6RZ%  
58gkE94  
struts.serve.static 3/EJ^C  
      Whether the Struts filter should serve static content or not SVqKG+{My  
      是否struts过滤器应该提供静态内容 eOs4c`  
@T&w n k  
struts.tag.altSyntax ; nYR~~  
      Whether to use the alterative syntax for the tags or not  u'qc=5  
      是否可以用替代的语法替代tags jl,>0 MA  
mLH,6rO9  
struts.ui.templateDir x1`zD*{  
      The directory containing UI templates E\*M4n\!  
      UI templates的目录夹 @_Es|(4  
{{ +8oRzY  
struts.ui.theme #EIcP=1m4  
      The default UI template theme fU ^5Dl  
      默认的UI template主题 zI.:1(,  
=iE)vY,?"}  
struts.url.http.port D@`"99z  
      The HTTP port used by Struts URLs !X+}W[Ic^  
      设置http端口 i#(+Kxr]>  
Y(h (Z  
struts.url.https.port 30Udba+{]p  
      The HTTPS port used by Struts URLs |snWO0iF  
      设置https端口 c<imqDf  
z?.XVk-  
struts.url.includeParams IZ9* '0Z  
      The default includeParams method to generate Struts URLs jYnP)xX;  
      在url中产生 默认的includeParams V(3rTDg  
Gu# wH  
 @zSj&4  
struts.velocity.configfile k;pU8y6Y  
      The Velocity configuration file path Hw%lT}[O  
      velocity配置文件路径 ZBXn&Gm  
 #-K,,"  
struts.velocity.contexts s+&iH  
      List of Velocity context names vze|*dKS  
      velocity的context列表 zd?uMq;w  
)KcY<K  
la 89>pF  
struts.velocity.manager.classname nVGWJ3  
      org.apache.struts2.views.velocity.VelocityManager implementation class D<(VP{ ,G  
      org.apache.struts2.views.velocity.VelocityManager接口名 #gRtCoew  
(zIF2qY  
struts.velocity.toolboxlocation Zl{ DqC^  
      The location of the Velocity toolbox b%|6y  
      velocity工具盒的位置 E rnGX#@v  
struts.xslt.nocache ZG1 {"J/z  
      Whether or not XSLT templates should not be cached 2GJp`2(%dA  
      是否XSLT模版应该被缓存 AqjEz+TVt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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