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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 eR =P  
#5=Yg5   
struts.action.extension /wKL"M-%  
      The URL extension to use to determine if the request is meant for a Struts action lor jMS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U+URj <)  
{}~7Gi!  
struts.configuration L`tr7EEr  
      The org.apache.struts2.config.Configuration implementation class [>v.#:YM^  
        org.apache.struts2.config.Configuration接口名 +Y6=;*j$  
7]62=p2R  
struts.configuration.files ]w"r4HlCx  
      A list of configuration files automatically loaded by Struts [Jwo,?w  
      struts自动加载的一个配置文件列表 gm(`SC?a  
P @G2F:}  
struts.configuration.xml.reload $O?&!8);,  
      Whether to reload the XML configuration or not E&/#Ov  
      是否加载xml配置(true,false) T5Yu+>3  
KHI-m9(  
struts.continuations.package zXIVHC,"{  
      The package containing actions that use Rife continuations VPet1hAy  
      含有actions的完整连续的package名称 bU7n1pzW,o  
>2tYw,m  
struts.custom.i18n.resources !T!U@e=u  
      Location of additional localization properties files to load xhWWl(r`5  
      加载附加的国际化属性文件(不包含.properties后缀) ;3'ta!.c  
:H@ Q`g u  
struts.custom.properties RNiFLD%5  
      Location of additional configuration properties files to load GU([A@;  
      加载附加的配置文件的位置 zT 9"B  
}CIH1q3P  
JUHmIFjZ  
struts.devMode 9rf6,hF  
      Whether Struts is in development mode or not 'H0uvvhOp  
      是否为struts开发模式 il|e5TD^  
)w4i0Xw^C:  
struts.dispatcher.parametersWorkaround ~+ Mp+gE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \C#X Kk$OE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \QGh@AQp"  
]ri5mnB  
struts.enable.DynamicMethodInvocation )[oegfnn-  
      Allows one to disable dynamic method invocation from the URL N2#Wyt8MC  
        允许动态方法调用 5<^ $9('  
Y23- Im  
struts.freemarker.manager.classname 0}$Zr*|;Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rO[cm}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9J+ p.N  
fh,kbn==r?  
struts.i18n.encoding 4YX/=  
      The encoding to use for localization messages /H3z~PBa  
      国际化信息内码 1DLAfsLlj  
6V-u<FJ  
struts.i18n.reload *t=8^q(K[  
      Whether the localization messages should automatically be reloaded LDc?/ Z1  
      是否国际化信息自动加载 ~.7/o0'+  
)31{.c/  
struts.locale KPHtD4  
      The default locale for the Struts application K2|2Ks_CS  
      默认的国际化地区信息 |Tv}leJF  
lY -2e>  
struts.mapper.class 3dheT}XV?p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A#k(0e!O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !?)ky `S3  
VokIc&!Uz  
struts.multipart.maxSize 3b{ 7Z 2  
      The maximize size of a multipart request (file upload) wz`\R HL  
      multipart请求信息的最大尺寸(文件上传用) JbX"K< nQ  
Mu: y9o95  
struts.multipart.parser }:+SA  
      The org.apache.struts2.dispatcher.multipart. 1K{u>T  
      MultiPartRequest parser implementation for a multipart request (file upload) IyK^` y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6Ft?9 B(F:  
8z1#Q#5  
WVZ](D8Gc]  
struts.multipart.saveDir [`J91=  
      The directory to use for storing uploaded files Ec'Hlsgh&T  
      设置存储上传文件的目录夹 X(_xOU)V  
O2{~Q{p  
struts.objectFactory !B|Aq- n,  
      The com.opensymphony.xwork2.ObjectFactory implementation class v'RpsCov  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ] MP*5U>;  
. ,h>2;f  
struts.objectFactory.spring.autoWire f.)z_RyGd  
      Whether Spring should autoWire or not H1Jk_@b  
      是否自动绑定Spring LuW>8K\  
x%_VzqR`  
struts.objectFactory.spring.useClassCache = y @*vl   
      Whether Spring should use its class cache or not aQ.QkM Z  
      是否spring应该使用自身的cache ]w,:T/Z}  
!WS Y75  
struts.objectTypeDeterminer #ME!G/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T3wQRn  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Fc&3tw"g  
76::X:76  
struts.serve.static.browserCache d?ru8  
If static content served by the Struts filter should set browser caching header properties or not `D-P}hDm!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2JdzeJb  
\rj>T6  
struts.serve.static d6^:lbj  
      Whether the Struts filter should serve static content or not eR3v=Q  
      是否struts过滤器应该提供静态内容 Kd r7 V  
;O`ZVB  
struts.tag.altSyntax atiyQuT6Wh  
      Whether to use the alterative syntax for the tags or not ES}V\k*}  
      是否可以用替代的语法替代tags 2]of 4  
kz_gR;"(Z  
struts.ui.templateDir z( \4{Y  
      The directory containing UI templates M}fk[Yr>  
      UI templates的目录夹 jlxY|;gZ-0  
YY zUg  
struts.ui.theme XQ3"+M_KG  
      The default UI template theme ]J1oY]2~  
      默认的UI template主题 yopC <k  
_^/k  
struts.url.http.port 9\'JtZO  
      The HTTP port used by Struts URLs `' .;U=mF  
      设置http端口 %<)!]8}P*  
4bs<j  
struts.url.https.port \E(^<Af  
      The HTTPS port used by Struts URLs ~U r  
      设置https端口 gU&y5s~  
LwlO)|E  
struts.url.includeParams ]z#+3DaH  
      The default includeParams method to generate Struts URLs ]-j.\+(*  
      在url中产生 默认的includeParams oBO4a^D  
9r. h^  
PZ >(cvX&  
struts.velocity.configfile **V8a-@  
      The Velocity configuration file path n!dXjInV  
      velocity配置文件路径 yJK:4af;.  
R 7h^ @  
struts.velocity.contexts a,|Hn  
      List of Velocity context names I q?n*P$  
      velocity的context列表 9])Id;+91  
bey:Qj??  
z+Guu8  
struts.velocity.manager.classname ;Rlf[](iL  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4Ei8G]O $_  
      org.apache.struts2.views.velocity.VelocityManager接口名 [g bFs-B2/  
1Q_Q-Z  
struts.velocity.toolboxlocation KpBOmXE  
      The location of the Velocity toolbox !,+<?o y  
      velocity工具盒的位置 `w&?SXFO8  
struts.xslt.nocache z:a7)z  
      Whether or not XSLT templates should not be cached ]]o?!NX  
      是否XSLT模版应该被缓存 Kf-XL ),3l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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