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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l|onH;g\  
)s';m$  
struts.action.extension 9azk(OL6  
      The URL extension to use to determine if the request is meant for a Struts action  _8G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v4V|j<R  
8LouCv(>  
struts.configuration 5 LZ+~!2+  
      The org.apache.struts2.config.Configuration implementation class '5vgpmn  
        org.apache.struts2.config.Configuration接口名 |K%nVcR=  
WF{rrU:  
struts.configuration.files h r!Htew4  
      A list of configuration files automatically loaded by Struts _'lrI23I  
      struts自动加载的一个配置文件列表 Q<F-l. q   
_a3,Zuv  
struts.configuration.xml.reload ;2=H7dq  
      Whether to reload the XML configuration or not _Xn[G>1  
      是否加载xml配置(true,false) d;kdw  
E?/Bf@a28=  
struts.continuations.package E'J| p7  
      The package containing actions that use Rife continuations I 8 \Ka=w  
      含有actions的完整连续的package名称 jLEwFPz  
Zg@NMT  
struts.custom.i18n.resources utz!ElzA  
      Location of additional localization properties files to load TLk=H Gw  
      加载附加的国际化属性文件(不包含.properties后缀) L*VO2YI  
B3V=;zn3  
struts.custom.properties YLfZ;W|6u  
      Location of additional configuration properties files to load f9Hm2wV  
      加载附加的配置文件的位置 {t;{={$  
XNU[\I  
v!pT!(h4  
struts.devMode p^U:O&U(  
      Whether Struts is in development mode or not ^BruRgc+  
      是否为struts开发模式 `<C/-Au  
i-b++R/WN  
struts.dispatcher.parametersWorkaround 27t23@{YL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'RlPj 0Cg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JKkR963 O  
jI8qiZ);~  
struts.enable.DynamicMethodInvocation yBPaGZ{f  
      Allows one to disable dynamic method invocation from the URL lF\oEMd*  
        允许动态方法调用 h>6'M  
+##b}?S%  
struts.freemarker.manager.classname $Qv+*%c  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [Pu~kiN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H?P:;1A]c  
C NNyz$  
struts.i18n.encoding L.[ H   
      The encoding to use for localization messages Z5uetS^  
      国际化信息内码 w6fVZY4  
76\ir<1up  
struts.i18n.reload FX FTf2*T  
      Whether the localization messages should automatically be reloaded xsx @aF  
      是否国际化信息自动加载 62&(+'$n  
Ew=8"V`C  
struts.locale 1r?<1vh:z  
      The default locale for the Struts application |8$x  
      默认的国际化地区信息 \S)\~>.`y!  
?dukK3u  
struts.mapper.class TvE M{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i '5Q.uX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _U.D*f<3)  
P8Bv3  
struts.multipart.maxSize pr8eRV!x  
      The maximize size of a multipart request (file upload) dooS|Mq  
      multipart请求信息的最大尺寸(文件上传用) 4dXuy>Km  
2z7+@!w/  
struts.multipart.parser Wb] ha1$  
      The org.apache.struts2.dispatcher.multipart. LFCcV<~  
      MultiPartRequest parser implementation for a multipart request (file upload)  #cqia0.H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gc 14%  
S=>54!{`x  
gL(ny/Ob9  
struts.multipart.saveDir &i8AB{OU  
      The directory to use for storing uploaded files Y. ]FVq  
      设置存储上传文件的目录夹 2<Tbd"x?  
z O  
struts.objectFactory 8I)66  
      The com.opensymphony.xwork2.ObjectFactory implementation class c|lo%[]R!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ; /fZh:V2  
&+\J "V8  
struts.objectFactory.spring.autoWire yVvO!  
      Whether Spring should autoWire or not zo-hH8J:  
      是否自动绑定Spring Bf$YwoZov  
O+Fu zCWj  
struts.objectFactory.spring.useClassCache gRS}Y8  
      Whether Spring should use its class cache or not i2SR.{&  
      是否spring应该使用自身的cache *.0}3  
1MH[-=[Q  
struts.objectTypeDeterminer {H+~4XG  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >;eWgQ6V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J#7\R':}zl  
'ao<gTUbu  
struts.serve.static.browserCache (PjC]`FK  
If static content served by the Struts filter should set browser caching header properties or not LMf_wsp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }1P>^I"[Y  
|*W`}i  
struts.serve.static {)j3Pn  
      Whether the Struts filter should serve static content or not `H6-g=C  
      是否struts过滤器应该提供静态内容 ?GPTJ#=j=]  
Cpu L[|51  
struts.tag.altSyntax t<M^/xe2  
      Whether to use the alterative syntax for the tags or not 8<C u S  
      是否可以用替代的语法替代tags RU3:[ (7  
37DyDzW)'  
struts.ui.templateDir 5A,@$yp+  
      The directory containing UI templates sas}k7m"  
      UI templates的目录夹 7*8R:X+^r  
3~~KtH=  
struts.ui.theme DIH|6R  
      The default UI template theme Y<0;;tVf4U  
      默认的UI template主题 $<.\,wW*'w  
bI 3o|  
struts.url.http.port 79|=y7i#  
      The HTTP port used by Struts URLs :c@v_J6C&  
      设置http端口 \jDD=ew  
ufE;rcYE  
struts.url.https.port XBE+O7  
      The HTTPS port used by Struts URLs A*jU&3#  
      设置https端口 j:# wt70  
`9BZ))Pg  
struts.url.includeParams <H{%`  
      The default includeParams method to generate Struts URLs FS7 _ldD  
      在url中产生 默认的includeParams QFMR~6 ?  
;/w-7O:  
Q H:k5V~  
struts.velocity.configfile _KBN  
      The Velocity configuration file path j^#4!Ue  
      velocity配置文件路径 @:u>  
YvD+Lk'hm  
struts.velocity.contexts T 22tZp  
      List of Velocity context names FES_:?.0  
      velocity的context列表 Q>R jv.1  
m~c z  
qRkY-0vBP  
struts.velocity.manager.classname 'NyIy:  
      org.apache.struts2.views.velocity.VelocityManager implementation class (_h<<`@B  
      org.apache.struts2.views.velocity.VelocityManager接口名 C7#ji"t  
b^[Ab:`}[V  
struts.velocity.toolboxlocation ~.99H  
      The location of the Velocity toolbox qPeaSv]W  
      velocity工具盒的位置 u;f${Wn'3  
struts.xslt.nocache 22aS <@}  
      Whether or not XSLT templates should not be cached  xE.K  
      是否XSLT模版应该被缓存 #9-qF9M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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