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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /qhm9~4e3  
>/HU'  
struts.action.extension /glnJ3   
      The URL extension to use to determine if the request is meant for a Struts action U`nS` p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |e-+xX|;  
SSsQu^A  
struts.configuration uuK]<h*  
      The org.apache.struts2.config.Configuration implementation class d>"$^${  
        org.apache.struts2.config.Configuration接口名 X @jYQ.  
K^qUlyv  
struts.configuration.files Oi%~8J>  
      A list of configuration files automatically loaded by Struts @~U6=(+  
      struts自动加载的一个配置文件列表 ]Y: W[p  
Hv7D+ j8M  
struts.configuration.xml.reload }Keon.N?   
      Whether to reload the XML configuration or not .' 2gJ"?,  
      是否加载xml配置(true,false) dR, NC-*  
ZNC?Ntw  
struts.continuations.package e}O-I  
      The package containing actions that use Rife continuations NF\^'W@N  
      含有actions的完整连续的package名称 UE`4$^qs  
$*)(8Cl  
struts.custom.i18n.resources 10I`AjF0  
      Location of additional localization properties files to load U;Y}2  
      加载附加的国际化属性文件(不包含.properties后缀) aj'8;E+  
rIWN!@.J  
struts.custom.properties h`;F<PFW  
      Location of additional configuration properties files to load yJ`1},^  
      加载附加的配置文件的位置 |9"^s x  
=|V]8 tN  
Rb}&c)4  
struts.devMode ^`r|3c0  
      Whether Struts is in development mode or not ![hhPYmV  
      是否为struts开发模式 RJs G]`  
`"=L  
struts.dispatcher.parametersWorkaround aU8Ti8A>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )E~\H+FP6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;3?J#e6;  
L\?g/l+k  
struts.enable.DynamicMethodInvocation W;g+R-  
      Allows one to disable dynamic method invocation from the URL 5<BV\'  
        允许动态方法调用 @NwM+^  
f{5| }PL  
struts.freemarker.manager.classname SU}oKii /  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AXv;r<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iGeT^!N  
W!0  
struts.i18n.encoding 3) Awj++  
      The encoding to use for localization messages T0"0/{5-_  
      国际化信息内码 oS|~\,p"  
}~~^ZtJ\  
struts.i18n.reload 6V6g{6W,/  
      Whether the localization messages should automatically be reloaded 83,1d*`  
      是否国际化信息自动加载 #\ S$$gP  
c^)E:J/  
struts.locale qkG;YGio  
      The default locale for the Struts application .,K?\WZ  
      默认的国际化地区信息 ~0r.3KTl"Y  
ne24QZ~}  
struts.mapper.class Qufv@.'AY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y {|~A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l=?y=2+  
=2)$|KC  
struts.multipart.maxSize /(pD^D  
      The maximize size of a multipart request (file upload) z,x"vK(  
      multipart请求信息的最大尺寸(文件上传用) OQ&D?2r  
0uJzff!|  
struts.multipart.parser DCzPm/#b  
      The org.apache.struts2.dispatcher.multipart. lJY=*KB(6  
      MultiPartRequest parser implementation for a multipart request (file upload) )MW}!U9G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }' 0Xz9/ l  
,u^0V"hJ  
#|1QA3KzO  
struts.multipart.saveDir =y]b|"s~2  
      The directory to use for storing uploaded files $AhX@|?z  
      设置存储上传文件的目录夹 4m(>"dHP  
@ZPTf>J}  
struts.objectFactory k^\ &.63(  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3udIe$.Q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JG4*B|3  
8+cpNX  
struts.objectFactory.spring.autoWire e^_@^(||!6  
      Whether Spring should autoWire or not -2ij;pkIW$  
      是否自动绑定Spring (BQ3M-  
Vd>.fb\U2  
struts.objectFactory.spring.useClassCache s@[t5R  
      Whether Spring should use its class cache or not w:xKgng=L  
      是否spring应该使用自身的cache +4nR&1z$  
.EZ{d  
struts.objectTypeDeterminer 6$<o^Ha*R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 207oE O]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i/Lq2n3 )  
{,2_K6#  
struts.serve.static.browserCache f>/ 1KV  
If static content served by the Struts filter should set browser caching header properties or not Jl4XE%0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]hVXFHrR  
 `e=n( D  
struts.serve.static .eXA.9 |jm  
      Whether the Struts filter should serve static content or not ;C3?Ic  
      是否struts过滤器应该提供静态内容 JJ=is}S|  
"{"2h>o#D}  
struts.tag.altSyntax ZboJszNb;  
      Whether to use the alterative syntax for the tags or not ^J~4~!  
      是否可以用替代的语法替代tags m$qC 8z]  
?JTyNg4<  
struts.ui.templateDir >d V@9  
      The directory containing UI templates fqsp1m$  
      UI templates的目录夹 Cj\+u\U#  
PR6uw  
struts.ui.theme i8@e}O I  
      The default UI template theme .ehvhMuG|  
      默认的UI template主题 <FT\u{9$  
fQ4$@  
struts.url.http.port q=i<vcw  
      The HTTP port used by Struts URLs ioCkPj  
      设置http端口 R+hS;F nh%  
nJH%pBc  
struts.url.https.port (jFE{M$-  
      The HTTPS port used by Struts URLs % peb{i  
      设置https端口 m1i$>9,  
c} ET#2,  
struts.url.includeParams { (,vm}iFL  
      The default includeParams method to generate Struts URLs dk`!UtNNRa  
      在url中产生 默认的includeParams H).5xx[`  
;iNx@tz4  
'[8jm=Q#'  
struts.velocity.configfile gc) 3  
      The Velocity configuration file path tvxcd*{  
      velocity配置文件路径 u3brb'Y+  
#e269FwN  
struts.velocity.contexts 0-f-  
      List of Velocity context names E'6P>6l5  
      velocity的context列表 lS-i9U/,>  
=U`c }dhS  
>g0@ Bk  
struts.velocity.manager.classname 'X<uG x  
      org.apache.struts2.views.velocity.VelocityManager implementation class U2nRgd  
      org.apache.struts2.views.velocity.VelocityManager接口名 3g:+p  
<r3n?w8  
struts.velocity.toolboxlocation iquGLwJ  
      The location of the Velocity toolbox v("vUqhx2+  
      velocity工具盒的位置 31Mc<4zI8  
struts.xslt.nocache ]3jH^7[?  
      Whether or not XSLT templates should not be cached TFPq(i  
      是否XSLT模版应该被缓存 "*\3.`Kd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八