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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 gRs @T<k2  
4WlB Q<5  
struts.action.extension  k=t{o  
      The URL extension to use to determine if the request is meant for a Struts action TH>uL;?=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CZy!nR!  
_7v4S/V  
struts.configuration Z>`frL  
      The org.apache.struts2.config.Configuration implementation class X$%[%q8qg  
        org.apache.struts2.config.Configuration接口名 Hj-n 'XZ  
y[f%0*\B  
struts.configuration.files U&^(%W#  
      A list of configuration files automatically loaded by Struts @0:Eg1-  
      struts自动加载的一个配置文件列表 [C ezz5  
U0|wC,7"  
struts.configuration.xml.reload <_8eOL<X  
      Whether to reload the XML configuration or not 1Xcj=I- 4  
      是否加载xml配置(true,false) Mj0jpP<uf  
! .Pbbs%  
struts.continuations.package H5vg s2R  
      The package containing actions that use Rife continuations 1.2qh"#  
      含有actions的完整连续的package名称 q%s<y+  
t`6~ ud>  
struts.custom.i18n.resources `j2|aX %Z*  
      Location of additional localization properties files to load heES [  
      加载附加的国际化属性文件(不包含.properties后缀) =J-&usX  
% T$!I(L&  
struts.custom.properties fuf' r>1n  
      Location of additional configuration properties files to load Cs]\3R|D`  
      加载附加的配置文件的位置 L$Xkx03lz>  
}lkU3Pf1U  
4d`f?8vS  
struts.devMode ktY  
      Whether Struts is in development mode or not /xg1i1Et  
      是否为struts开发模式 *Ta {  
u<\Sf"fs  
struts.dispatcher.parametersWorkaround tR=1.M96Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =?M{B1;H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?YFSK  
W'zI~'K  
struts.enable.DynamicMethodInvocation AGlFbc(L  
      Allows one to disable dynamic method invocation from the URL UZJs!#P  
        允许动态方法调用 ]7,0}q.  
Q9X+H4`}y  
struts.freemarker.manager.classname it j&L <e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0 4ceDe  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !9S!zRy@  
y7b>>|C  
struts.i18n.encoding TY+Rol;!  
      The encoding to use for localization messages sEb*GF*.V  
      国际化信息内码 x;&iLQZh  
]o9^?iU]  
struts.i18n.reload Q:b>1  
      Whether the localization messages should automatically be reloaded #%CB`l  
      是否国际化信息自动加载 <7%#RJwe  
Zh:@A Fz:R  
struts.locale RLh%Y>w  
      The default locale for the Struts application #FGj)pu  
      默认的国际化地区信息 3 lKBwjW  
CTB qX  
struts.mapper.class 30cb+)h(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %Bnn\{Az  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0#sf,ja>  
DS< E:'N  
struts.multipart.maxSize x1+V  
      The maximize size of a multipart request (file upload) jJkc vC8d  
      multipart请求信息的最大尺寸(文件上传用) B%co`0$  
r+k~%5Ff~  
struts.multipart.parser (Ixmg=C6y  
      The org.apache.struts2.dispatcher.multipart. ,Igd<A=  
      MultiPartRequest parser implementation for a multipart request (file upload) e>HdJ"S`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t; #D,gx  
?D@WXE0a  
p ^I#9(PT  
struts.multipart.saveDir ]1bNcq2I  
      The directory to use for storing uploaded files x]"N:t  
      设置存储上传文件的目录夹 L# .vbf  
l\bgp3.+  
struts.objectFactory CDFX>>N  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;3O=lo:$~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }(UU~V  
>s%m\"|oh  
struts.objectFactory.spring.autoWire H1ox>sC  
      Whether Spring should autoWire or not UDgUbi^v|D  
      是否自动绑定Spring G $iC@,/  
V(!-xu1,  
struts.objectFactory.spring.useClassCache )K 0rPnYV  
      Whether Spring should use its class cache or not D89 (u.h  
      是否spring应该使用自身的cache I|P#|0< 2  
0e~4(2xK  
struts.objectTypeDeterminer Q$S|LC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D14i]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \avgXndI  
8Dc'"3+6  
struts.serve.static.browserCache J+nUxF;EE  
If static content served by the Struts filter should set browser caching header properties or not Z2{G{]EV(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G4K3qD#+H  
WaDdZIz4  
struts.serve.static V53iWWaFe  
      Whether the Struts filter should serve static content or not lT- LOu|  
      是否struts过滤器应该提供静态内容 !-|{B3"6  
fJOA5(  
struts.tag.altSyntax &n2dL->*#  
      Whether to use the alterative syntax for the tags or not R`>z>!)  
      是否可以用替代的语法替代tags }woNI  
5PT*b}g@  
struts.ui.templateDir 5cSqo{|En  
      The directory containing UI templates X2C&q$8  
      UI templates的目录夹 } |? W  
`^CIOCK%  
struts.ui.theme N ._&\fHY  
      The default UI template theme /U,;]^  
      默认的UI template主题 \Q MRuR.  
@]:GTrs  
struts.url.http.port ^U{SUWl  
      The HTTP port used by Struts URLs Q\GSX RP  
      设置http端口 lZhd^69y  
W"H*Ad(V  
struts.url.https.port ,mvU`>Ry  
      The HTTPS port used by Struts URLs s% (|z  
      设置https端口 N:e5=;6s  
5| bc*iqU  
struts.url.includeParams C1SCV^#  
      The default includeParams method to generate Struts URLs $n9Bp'<  
      在url中产生 默认的includeParams {-e|x&-  
5>"X?U}He  
OOX[xv!b  
struts.velocity.configfile !I[|\ 4j  
      The Velocity configuration file path ]c$)0O\O  
      velocity配置文件路径 ;{K/W.R  
A@#D_[~  
struts.velocity.contexts nG !6[^D  
      List of Velocity context names Jhr3[A  
      velocity的context列表 ;=E!xfp5U  
ycSC'R  
g/e2t=qP  
struts.velocity.manager.classname |$.`4h?  
      org.apache.struts2.views.velocity.VelocityManager implementation class D eM/B5qw  
      org.apache.struts2.views.velocity.VelocityManager接口名 %Ig3udcY?  
@vkO(o  
struts.velocity.toolboxlocation ` @Tl7I\  
      The location of the Velocity toolbox `l`)Cs;a  
      velocity工具盒的位置 Ld:U~M-  
struts.xslt.nocache Ny)N  
      Whether or not XSLT templates should not be cached nkTu/)or  
      是否XSLT模版应该被缓存 &! MV!9$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八