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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nW2 fB8yq  
d K|6p_  
struts.action.extension !J ")TP=  
      The URL extension to use to determine if the request is meant for a Struts action clK3kBh~&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C!xqp   
Z#.J>_u )  
struts.configuration lC&U9=7W  
      The org.apache.struts2.config.Configuration implementation class $/ ;:Xb=q  
        org.apache.struts2.config.Configuration接口名 g[fCvWm#d  
@f442@_4  
struts.configuration.files f h05*]r  
      A list of configuration files automatically loaded by Struts IT& U%hw  
      struts自动加载的一个配置文件列表 n1K"VjZk  
{M: Fsay>p  
struts.configuration.xml.reload cl4`FU  
      Whether to reload the XML configuration or not =fa!"$J3  
      是否加载xml配置(true,false) HU ]Yv+3   
g2L^cP>2  
struts.continuations.package <)c/PI[j  
      The package containing actions that use Rife continuations {U8Sl.  
      含有actions的完整连续的package名称 9ui_/[K  
M B|+F  
struts.custom.i18n.resources d U n+?  
      Location of additional localization properties files to load WCxt-+#  
      加载附加的国际化属性文件(不包含.properties后缀) oLVy?M%{P  
H%NP4pK  
struts.custom.properties ~M`-sSjZs  
      Location of additional configuration properties files to load 1<a+91*=e  
      加载附加的配置文件的位置 `` (D01<  
0/?V _  
1iBOf8  
struts.devMode @czNiWU"4;  
      Whether Struts is in development mode or not .Ymoh>JRL  
      是否为struts开发模式 @!/w'k 8  
vU&I,:72 H  
struts.dispatcher.parametersWorkaround HSHY0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P!yE{_%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) D?~`L[}I!}  
82#7TX4  
struts.enable.DynamicMethodInvocation :lz@G 4 =C  
      Allows one to disable dynamic method invocation from the URL KP" lz  
        允许动态方法调用 a$!|)+  
ju#/ {V;D  
struts.freemarker.manager.classname em`z=JGG  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )s^D}I(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 EjLj5Z/q  
zs!,PQF(  
struts.i18n.encoding .G#wXsJj  
      The encoding to use for localization messages \{  
      国际化信息内码 ;&4}hPq  
&~oBJar  
struts.i18n.reload d`9% :2qE  
      Whether the localization messages should automatically be reloaded +{Yd\{9  
      是否国际化信息自动加载 9[}L=n  
[#$:X+lw  
struts.locale n'a=@/  
      The default locale for the Struts application JK:i-  
      默认的国际化地区信息 Lqy]bnY  
?EF[OyE  
struts.mapper.class M]&F1<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Xy[O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #7/;d=  
@]yd Wd  
struts.multipart.maxSize Z 4,nl  
      The maximize size of a multipart request (file upload) @q0\oG4L  
      multipart请求信息的最大尺寸(文件上传用) p^PAbCP'|3  
lA}(63j+b  
struts.multipart.parser e]-bB#-A  
      The org.apache.struts2.dispatcher.multipart. @Bs7kjuX  
      MultiPartRequest parser implementation for a multipart request (file upload) ~/LO @  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :tclYX  
5.!iVyN  
`7<4]#b^o  
struts.multipart.saveDir m'D_zb9+  
      The directory to use for storing uploaded files Y?Ph%i2E  
      设置存储上传文件的目录夹 ?HT+| !4p  
\x D.rBbt  
struts.objectFactory \IB@*_G  
      The com.opensymphony.xwork2.ObjectFactory implementation class  ,r\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O ;,BzA-n  
:%ms6j/B&V  
struts.objectFactory.spring.autoWire Sx{vZS3  
      Whether Spring should autoWire or not J8Bz|.@Q  
      是否自动绑定Spring L{_Q%!h3]  
_7df(+.{<A  
struts.objectFactory.spring.useClassCache Tjba @^T  
      Whether Spring should use its class cache or not 7=yV8.cD  
      是否spring应该使用自身的cache Zd$a}~4~  
,h1 z8.wD|  
struts.objectTypeDeterminer feg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )/VhkSXbG!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 67Z@Hg  
5~GHAi  
struts.serve.static.browserCache #6O<!{PH6  
If static content served by the Struts filter should set browser caching header properties or not 1#rcxUSi  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .bcoH  
Y*0AS|r!  
struts.serve.static t"[ xx_i  
      Whether the Struts filter should serve static content or not [Q(FBoI|  
      是否struts过滤器应该提供静态内容 49S*f  
GG0l\! 2)  
struts.tag.altSyntax 0X6|pC~  
      Whether to use the alterative syntax for the tags or not v%gkQa  
      是否可以用替代的语法替代tags 9z>I&vcX  
:&*Y Io  
struts.ui.templateDir *d%"/l^0  
      The directory containing UI templates @'UbTB!  
      UI templates的目录夹 wuRB[KLe  
-E, d)O`;$  
struts.ui.theme M\4pTcz{  
      The default UI template theme SMX70T!'9  
      默认的UI template主题 3$x[{\ {  
MR$R#  
struts.url.http.port G i 1Jl"  
      The HTTP port used by Struts URLs dw'&Av' |E  
      设置http端口 2d1Z;@x  
5]_m\zn=  
struts.url.https.port )F_0('=t  
      The HTTPS port used by Struts URLs @ol}~&"  
      设置https端口 S0-f_,(  
}4'5R  
struts.url.includeParams 8%C7!l q  
      The default includeParams method to generate Struts URLs S#km`N`  
      在url中产生 默认的includeParams c8uFLM j  
ybsQ[9_36  
C(N' +VV_  
struts.velocity.configfile / =]h@m-`  
      The Velocity configuration file path SP}!v5.  
      velocity配置文件路径 (>~:1  
`" BFvF#  
struts.velocity.contexts H&$L1CrdL  
      List of Velocity context names qUNK Dt  
      velocity的context列表 %H)^k${  
`6bIxb{  
awYnlE/Z1  
struts.velocity.manager.classname _p;>]0cc.  
      org.apache.struts2.views.velocity.VelocityManager implementation class '0\,waEu  
      org.apache.struts2.views.velocity.VelocityManager接口名 Uk@du7P1k  
ky2n%<0]  
struts.velocity.toolboxlocation 'mwgHo<u  
      The location of the Velocity toolbox Q,pnh!.-c  
      velocity工具盒的位置 (<bYoWrK#  
struts.xslt.nocache v)+E!"R3.  
      Whether or not XSLT templates should not be cached jh7-Fl`  
      是否XSLT模版应该被缓存 I8ZBs0sfF{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五