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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )=Z>#iH1  
]&xk30  
struts.action.extension ](0A/,#q6  
      The URL extension to use to determine if the request is meant for a Struts action dk3\~m%Pv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SD697L9  
+nqOP3  
struts.configuration @{$SjR8Q $  
      The org.apache.struts2.config.Configuration implementation class @lBH@HR=C  
        org.apache.struts2.config.Configuration接口名 rFmE6{4:p  
@D7cv"   
struts.configuration.files DSIa3! 0  
      A list of configuration files automatically loaded by Struts Q.8Jgel1  
      struts自动加载的一个配置文件列表 7"S|GEs:  
p<J/J.E  
struts.configuration.xml.reload f{b"=hQ  
      Whether to reload the XML configuration or not :r~?Z6gK  
      是否加载xml配置(true,false) RSkpf94`  
!}vz_6)  
struts.continuations.package 0Ifd!  
      The package containing actions that use Rife continuations g|T' oK  
      含有actions的完整连续的package名称 ,qr)}s-  
RZz].Nx  
struts.custom.i18n.resources g"#+U7O  
      Location of additional localization properties files to load XCt}>/"s\h  
      加载附加的国际化属性文件(不包含.properties后缀) <vj&e(D^  
&XZ>}^lD^  
struts.custom.properties ciXAyT cG  
      Location of additional configuration properties files to load ]w')~yk  
      加载附加的配置文件的位置 I)sCWC:Mq~  
'Y-c*q  
2R1W[,Ga!  
struts.devMode +XIN-8  
      Whether Struts is in development mode or not %iX +"  
      是否为struts开发模式 D)mqe-%1  
\"uR&D  
struts.dispatcher.parametersWorkaround 3|~(9b{+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '8W }|aF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uH7u4f1Q  
?=fJu\;  
struts.enable.DynamicMethodInvocation hio{: (  
      Allows one to disable dynamic method invocation from the URL Lu<'A4Q1  
        允许动态方法调用 $w65/  
!!P)r1=g  
struts.freemarker.manager.classname ]6(NeS+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u''(;U[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q,m6$\g4  
Nlo*vu  
struts.i18n.encoding UyvFR@  
      The encoding to use for localization messages w1.KRe{M  
      国际化信息内码 "V^(i%E;  
]pFYAe ?  
struts.i18n.reload 2'/ ip@  
      Whether the localization messages should automatically be reloaded udw5A*Ls  
      是否国际化信息自动加载 Ypp>7J/  
;[*7UE+#7  
struts.locale 3s$m0  
      The default locale for the Struts application Iunt!L  
      默认的国际化地区信息 *VD-c  
sKNN ahGjh  
struts.mapper.class x0 3|L!n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dhV =;'   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7$/ O{GBJ  
i)eub`uMy  
struts.multipart.maxSize (m@({  
      The maximize size of a multipart request (file upload) xeZ,}YP)  
      multipart请求信息的最大尺寸(文件上传用) rs<UWk<q  
&a7KdGP8V  
struts.multipart.parser $Y>LUZ)b&8  
      The org.apache.struts2.dispatcher.multipart. BE:GB?XBH  
      MultiPartRequest parser implementation for a multipart request (file upload) W4X=.vr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L0Xb^vx}m  
M$|^?U>cm  
<w 8*Ly:L  
struts.multipart.saveDir &;*jMu6  
      The directory to use for storing uploaded files vJK0>":G  
      设置存储上传文件的目录夹 F4KXx^~o  
ECQ>VeP  
struts.objectFactory 8NA2C.gOZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class / bfLox  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `WX @1]m  
U^:+J-z{  
struts.objectFactory.spring.autoWire ]B\H  
      Whether Spring should autoWire or not O57 eq.aT  
      是否自动绑定Spring 1Hk`i%  
I6zKvP8pb  
struts.objectFactory.spring.useClassCache %Q]m6ciAM  
      Whether Spring should use its class cache or not j l%27Ld  
      是否spring应该使用自身的cache 0c /xE<h  
1s/t}J~zZ  
struts.objectTypeDeterminer eG=Hyc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 48W$ ,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AEp|#H' >  
~*ST fyFw  
struts.serve.static.browserCache Jvgx+{Xu  
If static content served by the Struts filter should set browser caching header properties or not Hq ]f$Q6:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +VCG/J  
v[A)r]"j"M  
struts.serve.static nj]l'~Y0  
      Whether the Struts filter should serve static content or not 3E) X(WJY  
      是否struts过滤器应该提供静态内容 <My4 )3  
..)O/g.  
struts.tag.altSyntax Rm>AU=  
      Whether to use the alterative syntax for the tags or not lpv Z[^G  
      是否可以用替代的语法替代tags k><k|P[|  
 _xjw:  
struts.ui.templateDir =c8xg/  
      The directory containing UI templates CD]"Q1 t}  
      UI templates的目录夹 *6IytW OX5  
/m"O.17N  
struts.ui.theme @Fvp~]jCb  
      The default UI template theme ~ HN  
      默认的UI template主题 lkl+o&D9  
Kg4\:A7Sa.  
struts.url.http.port oG{0 {%*@  
      The HTTP port used by Struts URLs QM wrt  
      设置http端口 {wA(%e3_  
rvfS[@>v  
struts.url.https.port YS],o'T  
      The HTTPS port used by Struts URLs /u?ZwoTzY  
      设置https端口 (q o ?e2K  
?V&# nA  
struts.url.includeParams w>S;}[fM  
      The default includeParams method to generate Struts URLs &UrPb%=2H  
      在url中产生 默认的includeParams @@uKOFA?  
~/C9VR&  
6,Z.R T{5  
struts.velocity.configfile ]"q9~  
      The Velocity configuration file path y Ny,$1  
      velocity配置文件路径 `-Y8T\  
f(S9>c2  
struts.velocity.contexts }B1f_T  
      List of Velocity context names *3@ =XY7  
      velocity的context列表 [Z]%jABR  
!1m7^3l7j  
G'#Uzwo  
struts.velocity.manager.classname 7! sR%h5p  
      org.apache.struts2.views.velocity.VelocityManager implementation class s$g3__|Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 {HO,d{{  
3R>"X c  
struts.velocity.toolboxlocation LS:^K  
      The location of the Velocity toolbox @js`$  
      velocity工具盒的位置 z"%{SI^  
struts.xslt.nocache N++ ;}j  
      Whether or not XSLT templates should not be cached p!/!ZIo  
      是否XSLT模版应该被缓存 Yj"{aFK#u@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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