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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tb3V qFx  
X]0>0=^  
struts.action.extension eVXXn)>  
      The URL extension to use to determine if the request is meant for a Struts action Ed9Uw 7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cw Obq\  
U&5* >fd=  
struts.configuration % Y^J''  
      The org.apache.struts2.config.Configuration implementation class [{x}# oRSE  
        org.apache.struts2.config.Configuration接口名 CKsVs.:u  
^J'_CA  
struts.configuration.files )Z}AhX  
      A list of configuration files automatically loaded by Struts ,lyW'<~gA  
      struts自动加载的一个配置文件列表 }#XFa#  
Jup)m/  
struts.configuration.xml.reload uDF;_bli)H  
      Whether to reload the XML configuration or not G.W !   
      是否加载xml配置(true,false) \(o"/*  
9njwAKF?  
struts.continuations.package Z~5) )5Ye;  
      The package containing actions that use Rife continuations hx;f/E Px  
      含有actions的完整连续的package名称 M+/xw8}a  
Cm}2>eH  
struts.custom.i18n.resources r* *zjv>  
      Location of additional localization properties files to load wKV4-uyr  
      加载附加的国际化属性文件(不包含.properties后缀) 0 'QWa{dS\  
Uzu6>yT  
struts.custom.properties  <wH+\  
      Location of additional configuration properties files to load %`Re {%1;  
      加载附加的配置文件的位置 {28|LwmL  
YG p+[|'  
zw0w."V  
struts.devMode Rj8%% G-pt  
      Whether Struts is in development mode or not JfY*#({y  
      是否为struts开发模式 X#B b?Pv  
'D\Q$q  
struts.dispatcher.parametersWorkaround mgs(n5V5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V~J5x >O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) / HTY>b  
VtreOJ+  
struts.enable.DynamicMethodInvocation _7 3q,3`24  
      Allows one to disable dynamic method invocation from the URL "q@m6fs  
        允许动态方法调用 c0!.ei  
Tb/TP3N  
struts.freemarker.manager.classname o4(*nz  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E-e(K8R  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @ZKf3,J0  
6 SSDc/  
struts.i18n.encoding ~/ %Xm<  
      The encoding to use for localization messages YO6BzS/~  
      国际化信息内码 [}RoZB&I  
hlTbCl  
struts.i18n.reload Yo-}uTkw  
      Whether the localization messages should automatically be reloaded DSGcxM+  
      是否国际化信息自动加载 ZykMri3bi  
5of3&  
struts.locale rr<E#w  
      The default locale for the Struts application <=uYfi3,  
      默认的国际化地区信息 v* ;d  
enoj4g7em^  
struts.mapper.class D7Q+w  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vDy&sgS$<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 M[uWX=  
hy;VvAH 5  
struts.multipart.maxSize f)I5=Ijy(  
      The maximize size of a multipart request (file upload) %|Ps|iV  
      multipart请求信息的最大尺寸(文件上传用) *[Hrbln  
:5d>^6eoB?  
struts.multipart.parser Zed Fhm  
      The org.apache.struts2.dispatcher.multipart. 6CJMQi,kn  
      MultiPartRequest parser implementation for a multipart request (file upload) ngY%T5-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K*6"c.D  
$YYWpeW '  
y(A' *G9  
struts.multipart.saveDir XtF m5\U  
      The directory to use for storing uploaded files 4s\spvJ  
      设置存储上传文件的目录夹 [ oWkd_dK  
}D/+YG  
struts.objectFactory  8*ZsR)!  
      The com.opensymphony.xwork2.ObjectFactory implementation class S_}`'Z )  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Zg;$vIhn  
gN&i &%*!  
struts.objectFactory.spring.autoWire LQ0/oYmNc  
      Whether Spring should autoWire or not GW2\YU^{  
      是否自动绑定Spring :yay:3qv  
UD I{4+z  
struts.objectFactory.spring.useClassCache =:W2NN'  
      Whether Spring should use its class cache or not 8^mE<  
      是否spring应该使用自身的cache 0D-`>_  
 Et>#&Nw8  
struts.objectTypeDeterminer ~zp8%lEe  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e3~MU6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _vQ52H,  
|diI(2w  
struts.serve.static.browserCache +`y(S}Z  
If static content served by the Struts filter should set browser caching header properties or not ">uN={Iy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VK}4 <u  
<}a?<):S  
struts.serve.static "W<Y1$Y=Y  
      Whether the Struts filter should serve static content or not tjdPi a  
      是否struts过滤器应该提供静态内容 Z9{~t  
MJn-] E  
struts.tag.altSyntax 0.GFg${v`  
      Whether to use the alterative syntax for the tags or not =C\Tl-$\f  
      是否可以用替代的语法替代tags l.YE@EL  
L3&Ys3-h  
struts.ui.templateDir \ovs[&  
      The directory containing UI templates ;p`1Y<d-O  
      UI templates的目录夹 ;\MWxh,K  
 C=D*  
struts.ui.theme V&mkS  
      The default UI template theme M!&Hn,22  
      默认的UI template主题 0b&# w  
W"{Ggk `  
struts.url.http.port qpQ;,8X-"  
      The HTTP port used by Struts URLs *yq65yZi5  
      设置http端口 js$R^P  
.jrNi=BP*  
struts.url.https.port ?_Qe45 @  
      The HTTPS port used by Struts URLs q'D Ts9Bj  
      设置https端口 xd Z$|{,  
fRp]  
struts.url.includeParams Q_mphW:[  
      The default includeParams method to generate Struts URLs /VR~E'Cy%  
      在url中产生 默认的includeParams y6(PG:L  
mc{z  
*d._H1zT  
struts.velocity.configfile hBgE%#`s  
      The Velocity configuration file path !gh8 Qs  
      velocity配置文件路径 >%/x~UFc5  
Q%e<0t7  
struts.velocity.contexts zJQh~)  
      List of Velocity context names \J LGw1F  
      velocity的context列表 YQ0#j'}/  
5F kdGF  
v,4{:y]p  
struts.velocity.manager.classname "*vrrY  
      org.apache.struts2.views.velocity.VelocityManager implementation class zs$r>rlO  
      org.apache.struts2.views.velocity.VelocityManager接口名 wt($trJ  
GDu^P+^  
struts.velocity.toolboxlocation <G})$f'x2  
      The location of the Velocity toolbox ]b- 2:M  
      velocity工具盒的位置 3Z*r#d$nh:  
struts.xslt.nocache U`v2Yw3E  
      Whether or not XSLT templates should not be cached |q`NJ  
      是否XSLT模版应该被缓存 X[tt'5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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