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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 76MsrOv55  
f-+.;`H)T  
struts.action.extension h3 @s2 fK  
      The URL extension to use to determine if the request is meant for a Struts action p{C9`wi)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _t.FL@3e  
fOBN=y6x  
struts.configuration T|+$@o  
      The org.apache.struts2.config.Configuration implementation class 5faj;I{%JY  
        org.apache.struts2.config.Configuration接口名 OOLe[P3J3  
pG28M]\  
struts.configuration.files _;G=G5r  
      A list of configuration files automatically loaded by Struts iwo$\  
      struts自动加载的一个配置文件列表 <IH*\q:7  
22vq=RO7Z  
struts.configuration.xml.reload pTET%)3  
      Whether to reload the XML configuration or not Wm>b3:  
      是否加载xml配置(true,false) BTs0o&}e  
"_)|8|gN  
struts.continuations.package `vEqj v  
      The package containing actions that use Rife continuations DB8s  
      含有actions的完整连续的package名称 1f;or_f#k?  
41 'EA \V  
struts.custom.i18n.resources ,9vJtP+T+!  
      Location of additional localization properties files to load kH2oK:lN  
      加载附加的国际化属性文件(不包含.properties后缀) m<FK;   
C1ZyB"{  
struts.custom.properties o*;2mFP  
      Location of additional configuration properties files to load )Pa*+ew7  
      加载附加的配置文件的位置 ]wf |PU~nr  
u:5IjOb2^  
A\g%  
struts.devMode <ge}9pU)o^  
      Whether Struts is in development mode or not wT% "5:  
      是否为struts开发模式 `]&*`9IK{  
bX&e_Pd  
struts.dispatcher.parametersWorkaround r#I>_Utsy  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2fP~;\AP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9fCO7AE0#  
"OJr*B  
struts.enable.DynamicMethodInvocation =M7PvH'"  
      Allows one to disable dynamic method invocation from the URL ^Fvr f`A'  
        允许动态方法调用 T^NJ4L4#  
o'^phlX  
struts.freemarker.manager.classname Z"N(=B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x _|>n<Z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oek #^:pF  
x/_dW  
struts.i18n.encoding EqQ3=XMUL@  
      The encoding to use for localization messages xXPUrv5zO  
      国际化信息内码 9 P~d:'Ib  
xH@'H?  
struts.i18n.reload U%,;N\:_  
      Whether the localization messages should automatically be reloaded G{O\)gf  
      是否国际化信息自动加载  Q>[Ce3  
X\'E4  
struts.locale 4L11P  
      The default locale for the Struts application '2xcce#  
      默认的国际化地区信息 wzbz }P>  
i :EO(`  
struts.mapper.class /Mx.:.A&$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kU(kU2u%9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %xpd(&)n  
Yg|"-  
struts.multipart.maxSize \Nyr=<c  
      The maximize size of a multipart request (file upload) AtT"RG-6  
      multipart请求信息的最大尺寸(文件上传用) W/a,.M  
F`3^wHw^  
struts.multipart.parser +i4P,Lp  
      The org.apache.struts2.dispatcher.multipart. lT3|D?sF  
      MultiPartRequest parser implementation for a multipart request (file upload) 5Abz 5-^KH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bkkSIl+Q  
*bU% @O  
p4y6R4kyT  
struts.multipart.saveDir LhZZc`|7t  
      The directory to use for storing uploaded files YPG,9iZ&f  
      设置存储上传文件的目录夹 <oZ(ng@X  
A{M+vsL  
struts.objectFactory cp|:8 [  
      The com.opensymphony.xwork2.ObjectFactory implementation class n{z8Ao%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q>P[nz%  
S_j1=6 #^  
struts.objectFactory.spring.autoWire -Sp/fjlq/  
      Whether Spring should autoWire or not C|9[Al  
      是否自动绑定Spring =!YP$hfY  
i<bxc  
struts.objectFactory.spring.useClassCache 5U3qr*/;m  
      Whether Spring should use its class cache or not r:.6"VQu}  
      是否spring应该使用自身的cache U(P:Je  
p!QR3k.9s  
struts.objectTypeDeterminer 5'62ulwMP=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +R9%~Z.=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Vv2{^ !aZ  
e7lo!( >#  
struts.serve.static.browserCache Yu1QcFuy  
If static content served by the Struts filter should set browser caching header properties or not cNx \&vpd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V*>73I  
xl|ghjn  
struts.serve.static u*U_7Uw$  
      Whether the Struts filter should serve static content or not JR!Q,7S2!N  
      是否struts过滤器应该提供静态内容 -ywX5B  
"2%y~jrDN  
struts.tag.altSyntax 8B_0!U& ]  
      Whether to use the alterative syntax for the tags or not "wC0eDf  
      是否可以用替代的语法替代tags XRtyC4f  
F68},N>vr@  
struts.ui.templateDir i]LU4y %'  
      The directory containing UI templates XNKtL]U}$  
      UI templates的目录夹 T\)dt?Tv#\  
5"$e=y/  
struts.ui.theme ~37R0`C  
      The default UI template theme ypgliq(  
      默认的UI template主题 IN<:P  
>G<4R o"  
struts.url.http.port 3Hy%SN(  
      The HTTP port used by Struts URLs :a=ro2NH  
      设置http端口 5 d>nIKW  
@J kui  
struts.url.https.port =!(S<];  
      The HTTPS port used by Struts URLs W;q#ZD(;  
      设置https端口 )nJzSN=>$  
1bT' u5&  
struts.url.includeParams ]"C| qR*  
      The default includeParams method to generate Struts URLs YGfA qI y  
      在url中产生 默认的includeParams l&\t f`~  
o*?[_{x W  
}Q,(u   
struts.velocity.configfile rf)PAdj|~  
      The Velocity configuration file path =_K%$y*  
      velocity配置文件路径 IES41y<  
8y-e+  
struts.velocity.contexts $,}Qf0(S  
      List of Velocity context names 'uws  
      velocity的context列表 ,\BfmC_i  
2;dM:FHLhO  
0T7M_G'5Q  
struts.velocity.manager.classname ~o}moE/ ;O  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0@o;|N"i  
      org.apache.struts2.views.velocity.VelocityManager接口名 ])+Sc"g4k  
H<v c\r  
struts.velocity.toolboxlocation |*lH9lWJ  
      The location of the Velocity toolbox yBr$ 0$  
      velocity工具盒的位置 Q~x*bMb.  
struts.xslt.nocache j@%K*Gb`  
      Whether or not XSLT templates should not be cached >|v=Ba6R0  
      是否XSLT模版应该被缓存 p Z0=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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