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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 VUR|OV%  
.O}%  
struts.action.extension l u%}h7ng  
      The URL extension to use to determine if the request is meant for a Struts action 9kS^Abtk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &t:Gx<]  
:I^;jdL  
struts.configuration b9<#K+L-  
      The org.apache.struts2.config.Configuration implementation class ILShd)]Rw  
        org.apache.struts2.config.Configuration接口名 vJOw]cwq  
XtSkh] #z!  
struts.configuration.files uurh??R  
      A list of configuration files automatically loaded by Struts !6>~?gNd  
      struts自动加载的一个配置文件列表 Hm'=aff6A  
\WB<86+z  
struts.configuration.xml.reload DG ;_Vg  
      Whether to reload the XML configuration or not /F'sb[  
      是否加载xml配置(true,false) oij}'|/Jc  
.qZ~_xkd  
struts.continuations.package '|p$)yx2  
      The package containing actions that use Rife continuations 9b"=9y,  
      含有actions的完整连续的package名称 9=h'9Wo  
<oA7'|Bu<  
struts.custom.i18n.resources 2OR{[L*  
      Location of additional localization properties files to load b:]V`uF?  
      加载附加的国际化属性文件(不包含.properties后缀) T\j{Bi5 \J  
y^v6AM  
struts.custom.properties 0rG^,(3m  
      Location of additional configuration properties files to load ?8Z0Gqt74  
      加载附加的配置文件的位置 .-oxb,/  
NDlF0f  
q ]e`9/U  
struts.devMode .Blf5b  
      Whether Struts is in development mode or not L4z ~B!uvF  
      是否为struts开发模式 ww $  
fd<:_f]v  
struts.dispatcher.parametersWorkaround 'yG4 LF  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o{q{!7DH@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "~7>\>UFh  
22M1j5  
struts.enable.DynamicMethodInvocation K<qk.~ S  
      Allows one to disable dynamic method invocation from the URL '2nhv,|.U  
        允许动态方法调用 27O|).yKX  
@ H7d_S  
struts.freemarker.manager.classname jun_QiU:2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _Wq  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cacr=iX  
D"rK(  
struts.i18n.encoding J1sv[$9  
      The encoding to use for localization messages hp7|m0.JW  
      国际化信息内码 ?6un4EVL{  
QoIT*!  
struts.i18n.reload wFsyD3  
      Whether the localization messages should automatically be reloaded r6} |hpJ8  
      是否国际化信息自动加载 Q)" Nu.m &  
7k9G(i[-+  
struts.locale c[4i9I3v  
      The default locale for the Struts application `e|0g"oP  
      默认的国际化地区信息 <vh/4  
v|%Z+w  
struts.mapper.class '~[d=fwH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kG@@ot" n  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *|>d  
dDGgvi|[Mz  
struts.multipart.maxSize jW3!6*93  
      The maximize size of a multipart request (file upload) Xr$J9*Jk-  
      multipart请求信息的最大尺寸(文件上传用) eWtZ]kB  
9- YwkK#z  
struts.multipart.parser MmnOHN@.  
      The org.apache.struts2.dispatcher.multipart. J|kR5'?x  
      MultiPartRequest parser implementation for a multipart request (file upload) (@<c6WS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ],FMwCI  
9~mh@Kgv  
_c*=4y  
struts.multipart.saveDir s{S4J'VW  
      The directory to use for storing uploaded files M&@b><B  
      设置存储上传文件的目录夹 X>(TrdK_9"  
~yfNxH~k  
struts.objectFactory %]DP#~7[|  
      The com.opensymphony.xwork2.ObjectFactory implementation class ")dH,:#S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) V#t%/l  
-tHU6s,  
struts.objectFactory.spring.autoWire . Z.)t  
      Whether Spring should autoWire or not Mg OR2,cR  
      是否自动绑定Spring =2zJ3&9  
hp* /#D  
struts.objectFactory.spring.useClassCache E.ly#2?  
      Whether Spring should use its class cache or not ceM6{N<_U  
      是否spring应该使用自身的cache Ov4y %Pj  
o( RG-$  
struts.objectTypeDeterminer -o[x2u~n\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =;3Sx::=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7/ysVWt  
Z&4&-RCi  
struts.serve.static.browserCache WDc+6/<  
If static content served by the Struts filter should set browser caching header properties or not EQ`(yj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )- viGxJ@  
36%nB*  
struts.serve.static xtE_=5$~  
      Whether the Struts filter should serve static content or not qY<'<T4\  
      是否struts过滤器应该提供静态内容 ujaG Ng?,  
!2A:"2Kys:  
struts.tag.altSyntax )5%'.P>  
      Whether to use the alterative syntax for the tags or not 'EF9Zt8  
      是否可以用替代的语法替代tags wEE\+3b)  
*:t|qgJI#+  
struts.ui.templateDir p|jV{P  
      The directory containing UI templates RwPN gRF  
      UI templates的目录夹 &8>IeK {I  
N#7QzB9]  
struts.ui.theme #PanfYR  
      The default UI template theme lBhLf@  
      默认的UI template主题 8V)^R(\;  
r>"   
struts.url.http.port *x])Y~oQ  
      The HTTP port used by Struts URLs n'01Hh`0  
      设置http端口 oA7;.:3  
V7[zAq  
struts.url.https.port 2H6,'JK@F  
      The HTTPS port used by Struts URLs j =WST  
      设置https端口 qg!|l7e  
~j5x+yC  
struts.url.includeParams #iWSDy  
      The default includeParams method to generate Struts URLs }L3oR  
      在url中产生 默认的includeParams ]Nl=wZ#`  
2viM)+  
:Jy'# c  
struts.velocity.configfile C] 9 p5Hs  
      The Velocity configuration file path U{z9>  
      velocity配置文件路径 *@Y3oh}S  
6s\Kt3=  
struts.velocity.contexts M^iU;vo  
      List of Velocity context names RIE5KCrGB  
      velocity的context列表 iz?tu: \v&  
& )vC;$vD`  
jhu&& ==\f  
struts.velocity.manager.classname CkD#/  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;SaX;!`39+  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y&_&s7z  
NqEA4C  
struts.velocity.toolboxlocation ?jt}*q>X]  
      The location of the Velocity toolbox &A)B~"[~  
      velocity工具盒的位置 A~ +S1  
struts.xslt.nocache '|*?*6q  
      Whether or not XSLT templates should not be cached Yd=a}T  
      是否XSLT模版应该被缓存 8&~~j7p,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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