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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m4uh<;C~  
P()n=&XO6  
struts.action.extension %L)QTv/  
      The URL extension to use to determine if the request is meant for a Struts action BE&8E\w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *1-0s*T  
HD{u#~8{  
struts.configuration 3&E@#I^] ,  
      The org.apache.struts2.config.Configuration implementation class EJz!#f~  
        org.apache.struts2.config.Configuration接口名 . WJ  
Q~ Nq5[  
struts.configuration.files +B8oW3v# )  
      A list of configuration files automatically loaded by Struts bUy!hS;s  
      struts自动加载的一个配置文件列表 dtV*CX.D.7  
f6SXXkO+  
struts.configuration.xml.reload gkTwGI+w  
      Whether to reload the XML configuration or not -;6uN\gq  
      是否加载xml配置(true,false) r$M<vo6C  
&xUCXj2-z  
struts.continuations.package Wn=I[K&&  
      The package containing actions that use Rife continuations Nk%$;Si  
      含有actions的完整连续的package名称 XmwR^  
Hr]  
struts.custom.i18n.resources FmF[S&gFRs  
      Location of additional localization properties files to load uF3{FYM{I  
      加载附加的国际化属性文件(不包含.properties后缀) -sf[o"T,j  
Jk`l{N  
struts.custom.properties VR_/Vh ]@  
      Location of additional configuration properties files to load i&m6;>?`  
      加载附加的配置文件的位置 !.iFU+?V  
#68$'Rl"o1  
0S+$l  
struts.devMode }9B},  
      Whether Struts is in development mode or not l| \ -d  
      是否为struts开发模式 Ed;!A(64r  
zA|lbJz=GY  
struts.dispatcher.parametersWorkaround =d~pr:.F  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ub1~+T'O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MUtM^uY  
45Zh8k  
struts.enable.DynamicMethodInvocation o&k,aCQC  
      Allows one to disable dynamic method invocation from the URL *yZta:(w-W  
        允许动态方法调用 >}0H5Q8@  
1PWi~1q{Q  
struts.freemarker.manager.classname =D?HL?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qKeR}&b  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D > U(&n  
Ln+.$ C  
struts.i18n.encoding S+eu3nMq  
      The encoding to use for localization messages %0vsm+XQ0E  
      国际化信息内码 I:al[V2g  
.bV^u  
struts.i18n.reload pFu!$.Fr  
      Whether the localization messages should automatically be reloaded JAMV@  
      是否国际化信息自动加载 wr:-n  
r-WX("Vvh  
struts.locale 8In~qf  
      The default locale for the Struts application {pre|r\  
      默认的国际化地区信息 (B@\Dw8^  
)VG>6x  
struts.mapper.class _~>WAm<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }a UQ#x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 y'oH>l+n  
\ ux {J  
struts.multipart.maxSize |Q%nnN  
      The maximize size of a multipart request (file upload) f/.f08  
      multipart请求信息的最大尺寸(文件上传用) xu]Kt+QnSk  
FL$S_JAw  
struts.multipart.parser 1B 0[dK2N  
      The org.apache.struts2.dispatcher.multipart. n#?y;Y\  
      MultiPartRequest parser implementation for a multipart request (file upload) #IqRu:csp  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V!@6Nv  
FSkX95  
SuV3$-);z  
struts.multipart.saveDir x=\W TC  
      The directory to use for storing uploaded files hSps9*y  
      设置存储上传文件的目录夹 .k up[d(  
Lcy6G%A  
struts.objectFactory AEFd,;GF  
      The com.opensymphony.xwork2.ObjectFactory implementation class eAQ-r\h'2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Z)3oiLmD  
|hDN$By  
struts.objectFactory.spring.autoWire FKf2Q&2I  
      Whether Spring should autoWire or not x>4p6H{]0'  
      是否自动绑定Spring 3RlNEc%)  
lF7".  
struts.objectFactory.spring.useClassCache ]haQ#e}WH  
      Whether Spring should use its class cache or not '['x'G50  
      是否spring应该使用自身的cache g>b{hkIXg  
Az?^4 1r8  
struts.objectTypeDeterminer o~xGE6A*"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class d,'gh4C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4] u\5K-  
jQfnc:'  
struts.serve.static.browserCache BoARM{m  
If static content served by the Struts filter should set browser caching header properties or not 80gOh:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 yS?5&oMl  
ET*:iioP  
struts.serve.static GJ?J6@|  
      Whether the Struts filter should serve static content or not ~e]l  
      是否struts过滤器应该提供静态内容 6pQo_l}  
t="nmjQs  
struts.tag.altSyntax OSJj^Y)W|  
      Whether to use the alterative syntax for the tags or not AOqL&z  
      是否可以用替代的语法替代tags fCO<-L9k$  
5@W63!N  
struts.ui.templateDir h]Gvt 5  
      The directory containing UI templates egWfKL&iy  
      UI templates的目录夹 Kb/qM}jS  
$(yi+v  
struts.ui.theme rNke&z:%X_  
      The default UI template theme |@'K]$vZ*  
      默认的UI template主题 \m<$qp,n  
?jbx7')  
struts.url.http.port `lbRy($L  
      The HTTP port used by Struts URLs %w!x \UV  
      设置http端口 G8Ow;:Ro  
r'*#i>PkQD  
struts.url.https.port  Oo~   
      The HTTPS port used by Struts URLs [*H h6  
      设置https端口 g\49[U}[~F  
SHnMqaq  
struts.url.includeParams  z_(4  
      The default includeParams method to generate Struts URLs >@-BZJg/k  
      在url中产生 默认的includeParams  z' 5  
?cK67|%W  
}_+):<Db  
struts.velocity.configfile ij}{H#0S-  
      The Velocity configuration file path {"N:2  
      velocity配置文件路径 j97K\]tQ  
yZmeke)_  
struts.velocity.contexts 6OtNWbB  
      List of Velocity context names *m'&<pg]X  
      velocity的context列表 ?|Wxqo  
AJoP3Zv|?  
h54\ \Ci  
struts.velocity.manager.classname 9'vf2) "  
      org.apache.struts2.views.velocity.VelocityManager implementation class }n,LvA@[0  
      org.apache.struts2.views.velocity.VelocityManager接口名 }h sR}  
=[TXH^.0  
struts.velocity.toolboxlocation + =U9<8  
      The location of the Velocity toolbox ,o3`O|PiK  
      velocity工具盒的位置 aCfWbJ@qiG  
struts.xslt.nocache k~QmDq  
      Whether or not XSLT templates should not be cached A' n7u'6=  
      是否XSLT模版应该被缓存 W$z^U) |t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五