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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^1.*NG8  
*yRsFC{,  
struts.action.extension $o?U=  
      The URL extension to use to determine if the request is meant for a Struts action CK7([>2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ":udoVS!  
6h>#;M  
struts.configuration U S ALoe  
      The org.apache.struts2.config.Configuration implementation class m>vwpRBOA  
        org.apache.struts2.config.Configuration接口名 "V>}-G&  
L5FOlzn  
struts.configuration.files e%JIqKS  
      A list of configuration files automatically loaded by Struts l e'RU1k  
      struts自动加载的一个配置文件列表 }N[X<9^ Z  
&!CVF  
struts.configuration.xml.reload y8~OkdlN#  
      Whether to reload the XML configuration or not fIoc)T  
      是否加载xml配置(true,false) U*r54AyP  
@.W;3|~qc  
struts.continuations.package [LnPV2@e  
      The package containing actions that use Rife continuations uslu-|b!%  
      含有actions的完整连续的package名称 w{W+WJ  
YbP @  
struts.custom.i18n.resources bZYayjxZ5i  
      Location of additional localization properties files to load _Z0 .c@0  
      加载附加的国际化属性文件(不包含.properties后缀) -O *_+8f  
44ty,M3  
struts.custom.properties #%;Uh  
      Location of additional configuration properties files to load {6ZSf[Y6B  
      加载附加的配置文件的位置 oVpZR$  
J 4gtm"2)  
I8gNg Z  
struts.devMode h=A  
      Whether Struts is in development mode or not >.Gmu  
      是否为struts开发模式 0zH-g  
|c/=9Bb  
struts.dispatcher.parametersWorkaround -iR2UE@M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H@uu;:l<7A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GI]\  
iM<$ n2t  
struts.enable.DynamicMethodInvocation jB?SX  
      Allows one to disable dynamic method invocation from the URL *K|~]r(F?  
        允许动态方法调用 aoey 5hts  
(fF8)4l  
struts.freemarker.manager.classname b  Ssg`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UDG1F_&h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3xy2ZYw  
KmNnW1T  
struts.i18n.encoding `> %QCc\  
      The encoding to use for localization messages ^K<3_D>1>  
      国际化信息内码 'SFAJ  
MrR`jXz  
struts.i18n.reload !.6n=r8 d  
      Whether the localization messages should automatically be reloaded `D77CC]vU  
      是否国际化信息自动加载 \\k=N(n  
CV @P +  
struts.locale -V}oFxk]q  
      The default locale for the Struts application 8%,#TMOg  
      默认的国际化地区信息 O t)}:oG  
fxd+0R;f  
struts.mapper.class 'f<N7%eZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e-rlk5k%f  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VM%g QOo<  
2Xe1qzvo  
struts.multipart.maxSize lb{*,S  
      The maximize size of a multipart request (file upload) 1xL2f&bG  
      multipart请求信息的最大尺寸(文件上传用) lY.FmF}k  
@]Iku6d-  
struts.multipart.parser 3UslVj1u  
      The org.apache.struts2.dispatcher.multipart. < I8hy$+6  
      MultiPartRequest parser implementation for a multipart request (file upload) f/*Xw{s#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vs7Hg )F  
ysGK5kFz  
+7^%fX;3pW  
struts.multipart.saveDir QI=",vma u  
      The directory to use for storing uploaded files $khWu>b  
      设置存储上传文件的目录夹 iKLN !QR  
A$;U*7TJuO  
struts.objectFactory E2LpQNvN%g  
      The com.opensymphony.xwork2.ObjectFactory implementation class ojT TYR{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2e/ JFhA  
-+Kx^V#'R  
struts.objectFactory.spring.autoWire l yF~E  
      Whether Spring should autoWire or not Zh{Pzyp  
      是否自动绑定Spring qg'RD]a>R  
\P^WUWY  
struts.objectFactory.spring.useClassCache ]6GdB3?UVM  
      Whether Spring should use its class cache or not  zy  
      是否spring应该使用自身的cache +]Po!bN@@  
h-<('w:A  
struts.objectTypeDeterminer TlQ#0_as[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7xMvf<1P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ? Z.p.v  
r[q-O&2&  
struts.serve.static.browserCache PUuxKW}  
If static content served by the Struts filter should set browser caching header properties or not q$(aMO&J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c] $X+  
[_G_Wl'#8  
struts.serve.static |b QKymS  
      Whether the Struts filter should serve static content or not 4;<?ec(dc  
      是否struts过滤器应该提供静态内容 p3&/F=T;)  
Ckj2$c~  
struts.tag.altSyntax d/v{I  
      Whether to use the alterative syntax for the tags or not }JeGjpAcV  
      是否可以用替代的语法替代tags MT [V1I{LV  
B: \\aOEj  
struts.ui.templateDir @i'RIL}  
      The directory containing UI templates ({v$!AAv  
      UI templates的目录夹 GPONCL8(0  
Q>8F&p?R  
struts.ui.theme ,|D_? D)U  
      The default UI template theme B8F.}M-!  
      默认的UI template主题 ?3D|{  
;PCnEs  
struts.url.http.port VUpa^R  
      The HTTP port used by Struts URLs >v7fR<(%s  
      设置http端口 ea kj>7\s  
0x7F~%%2  
struts.url.https.port pM],-7UM  
      The HTTPS port used by Struts URLs $N'AZY]4]  
      设置https端口 VG0Ty;bV  
&_Ze@Ir-  
struts.url.includeParams #tg,%*.s  
      The default includeParams method to generate Struts URLs GqMa|8j  
      在url中产生 默认的includeParams N[~{'i  
6i|5`ZO  
,V1/(|[h  
struts.velocity.configfile m?'H 7cFR  
      The Velocity configuration file path KJn@2x6LP  
      velocity配置文件路径 7#d>a=$h  
d3-F?i 5d  
struts.velocity.contexts +Z> Y//  
      List of Velocity context names Oxo?\ :T  
      velocity的context列表 l/1u>'  
 ,5!&}  
YXz*B5R  
struts.velocity.manager.classname POvxZU  
      org.apache.struts2.views.velocity.VelocityManager implementation class }<R,)ZV^G  
      org.apache.struts2.views.velocity.VelocityManager接口名 [Jv0^"]  
\d"JYym  
struts.velocity.toolboxlocation rQmDpoy=  
      The location of the Velocity toolbox p7et>;WRx  
      velocity工具盒的位置 wpgO09  
struts.xslt.nocache PD #9Z=Hj  
      Whether or not XSLT templates should not be cached ;iT@41)7  
      是否XSLT模版应该被缓存 TL&`Ywy  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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