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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~ R*6w($  
Nf;vUYP  
struts.action.extension 2cmqtlW"  
      The URL extension to use to determine if the request is meant for a Struts action [&zP$i&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 i "-#1vy=  
+ATN2 o  
struts.configuration .:lzT"QXI  
      The org.apache.struts2.config.Configuration implementation class D<rjxP  
        org.apache.struts2.config.Configuration接口名 ]&9f:5',  
Z v~ A9bB  
struts.configuration.files q,*IR*B:a  
      A list of configuration files automatically loaded by Struts O=-|b kO  
      struts自动加载的一个配置文件列表 Mv9s  
H?aB8=)  
struts.configuration.xml.reload ;bA9(:?  
      Whether to reload the XML configuration or not I{RktO;1  
      是否加载xml配置(true,false) fB:M'A'  
DvhK0L*Qr  
struts.continuations.package P!vBS "S  
      The package containing actions that use Rife continuations .<j8>1  
      含有actions的完整连续的package名称 I5bi^!i  
0CDTj,eK  
struts.custom.i18n.resources 95H`-A  
      Location of additional localization properties files to load $OUa3!U_!  
      加载附加的国际化属性文件(不包含.properties后缀) <&x_e-;b'  
", |wG7N K  
struts.custom.properties V)0bLR  
      Location of additional configuration properties files to load HSUr  
      加载附加的配置文件的位置 4$|G$h  
@*_K#3  
&FK=w]P  
struts.devMode HML6<U-eS  
      Whether Struts is in development mode or not ^X_%e|  
      是否为struts开发模式 ^Krkf4fO  
pa\]@;P1  
struts.dispatcher.parametersWorkaround pr m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '@:;oe@]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <<A@69"4n  
JN8k x;@  
struts.enable.DynamicMethodInvocation s0`uSQ2X  
      Allows one to disable dynamic method invocation from the URL @lJGdp  
        允许动态方法调用 oZ8SEC "]  
AG9U2x  
struts.freemarker.manager.classname =* (d+[_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xQD#; 7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G's/Q-'[\  
N7M^  
struts.i18n.encoding )q=1<V44d  
      The encoding to use for localization messages JRo{z{!O6  
      国际化信息内码 huQ1A0(no  
pH*L8tT  
struts.i18n.reload C2b.([HE  
      Whether the localization messages should automatically be reloaded '@W72ML.  
      是否国际化信息自动加载 cKxJeM07  
-,i1T(p1  
struts.locale ;0BCM(>Wo  
      The default locale for the Struts application 9u)h$VC  
      默认的国际化地区信息 Og&2,`Jb  
OIoAqt  
struts.mapper.class W!Xgse3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |4'E&(BU-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @ J"1 !`  
.:;i*  
struts.multipart.maxSize ktS0  
      The maximize size of a multipart request (file upload) LD6fi  
      multipart请求信息的最大尺寸(文件上传用) U .rH,`  
T[7DJNdG6  
struts.multipart.parser Jz-f1mhQV  
      The org.apache.struts2.dispatcher.multipart. J]~3{Mi  
      MultiPartRequest parser implementation for a multipart request (file upload) BPPhVE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7;_5 [_  
Y Jv{Z^;M  
<bid 6Q0|  
struts.multipart.saveDir QK@z##U  
      The directory to use for storing uploaded files zMG4oRPP  
      设置存储上传文件的目录夹 %|u"0/  
r!zNcN(%cs  
struts.objectFactory >a0;|;hp  
      The com.opensymphony.xwork2.ObjectFactory implementation class FINM4<s)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7'o?'He-.2  
yrIT4y  
struts.objectFactory.spring.autoWire Y# lE  
      Whether Spring should autoWire or not #?-W.  
      是否自动绑定Spring 7 yi>G  
*&U9npN  
struts.objectFactory.spring.useClassCache T0SD|'  
      Whether Spring should use its class cache or not : ._O.O  
      是否spring应该使用自身的cache /R,/hi Kx\  
x##Iv|$  
struts.objectTypeDeterminer Wm\f:|U5`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `"bm Hs7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ())|x[>JS+  
oZ=e/\[K  
struts.serve.static.browserCache G>!"XK:fB  
If static content served by the Struts filter should set browser caching header properties or not Lr+2L_/v`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7f(UbO@BD  
^]v}AEcmW  
struts.serve.static %] Bb;0G  
      Whether the Struts filter should serve static content or not i|=XW6J%  
      是否struts过滤器应该提供静态内容 "w A8J%:  
IGp-`%9  
struts.tag.altSyntax :2?'mKa7  
      Whether to use the alterative syntax for the tags or not C {'c_wX  
      是否可以用替代的语法替代tags  q)%C|  
/TB_4{  
struts.ui.templateDir 6^wiEnA  
      The directory containing UI templates C :e 'wmA  
      UI templates的目录夹  CZuxH  
YGNX+6Lz  
struts.ui.theme zxj!ihs<  
      The default UI template theme &,#VhT![  
      默认的UI template主题 {6KU.'#iF  
5i#B?+Y  
struts.url.http.port Y<|L|b6  
      The HTTP port used by Struts URLs 9sRP8Nj|  
      设置http端口 ]]]7"a  
-x RsYYw  
struts.url.https.port UIyOn` d"  
      The HTTPS port used by Struts URLs Vxw?"mhP  
      设置https端口 *Lufz-[1  
M 35}5+  
struts.url.includeParams >DV0!'jW  
      The default includeParams method to generate Struts URLs l"vT@ g|  
      在url中产生 默认的includeParams $]hf2Yr(  
P(Lwpa,S  
BY 1~\M  
struts.velocity.configfile S#""((U$  
      The Velocity configuration file path CsE|pXVG  
      velocity配置文件路径 HPgMVp'  
D_8hn3FH  
struts.velocity.contexts Jv7M[SJ#x  
      List of Velocity context names |Rl|Th  
      velocity的context列表 W]R5\ G*  
gG $o8c-  
R vY`9D  
struts.velocity.manager.classname /wK7l-S  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~ugcfDJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 co12\,aD  
69L s"e  
struts.velocity.toolboxlocation ^yb_aCw  
      The location of the Velocity toolbox yn=1b:kid  
      velocity工具盒的位置 fW\u*dMMZE  
struts.xslt.nocache 5Q^~Z},  
      Whether or not XSLT templates should not be cached Q647a}  
      是否XSLT模版应该被缓存 ck^Z,AKL+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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