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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _~C1M&b(X3  
y&O?`"Uv/M  
struts.action.extension G{>PYLxOb  
      The URL extension to use to determine if the request is meant for a Struts action t)?K@{ 9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L$ sENOm  
) )FLM^dj  
struts.configuration &ynAB)  
      The org.apache.struts2.config.Configuration implementation class y0&vsoT  
        org.apache.struts2.config.Configuration接口名 4E2/?3D  
|mbD q\U  
struts.configuration.files SDE$ymP x  
      A list of configuration files automatically loaded by Struts Z[] 8X@IPe  
      struts自动加载的一个配置文件列表 zF>;7'\x  
B]()  
struts.configuration.xml.reload #>,E"-]f  
      Whether to reload the XML configuration or not 6aHD?a o  
      是否加载xml配置(true,false) +/RR!vG,  
tK/,U =+  
struts.continuations.package /je $+  
      The package containing actions that use Rife continuations Rf>)#hn%  
      含有actions的完整连续的package名称 ^ +@OiL>&i  
kN{$-v=K  
struts.custom.i18n.resources ISK 8t  
      Location of additional localization properties files to load h!|Uj  
      加载附加的国际化属性文件(不包含.properties后缀) r<:d+5"  
@H4]Gp ]  
struts.custom.properties fsw[ R0B  
      Location of additional configuration properties files to load /J/V1dC}]D  
      加载附加的配置文件的位置 i\b^}m8c.N  
i$6rnS&C  
G8%VL^;O*5  
struts.devMode `sso Wn4  
      Whether Struts is in development mode or not W}3%BWn  
      是否为struts开发模式 } eHxw+.  
o 7tUv"Rs  
struts.dispatcher.parametersWorkaround <rK[&JlJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .s,04xW\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gt(p%~  
Do\j_  
struts.enable.DynamicMethodInvocation .Tq8Qdl  
      Allows one to disable dynamic method invocation from the URL MusUgBQy  
        允许动态方法调用 kV T |(Y  
Sa[lYMuB  
struts.freemarker.manager.classname y?O-h1"3,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DbFe;3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6jgP/~hP>N  
"9QZX[J|*  
struts.i18n.encoding \~+b&  
      The encoding to use for localization messages 8OV =;aM?{  
      国际化信息内码 G6W|l2P!  
PLz+%L;{  
struts.i18n.reload cb0rkmO  
      Whether the localization messages should automatically be reloaded Ay 4P_>^  
      是否国际化信息自动加载 !m9hL>5vR  
rEC  
struts.locale 00dY?d{[D  
      The default locale for the Struts application ]cS(2hP7  
      默认的国际化地区信息 a)=|{QR>W  
(?^F }]  
struts.mapper.class ^p9V5o  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Tsb}\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N wNxO  
\7*|u  
struts.multipart.maxSize UF-'(  
      The maximize size of a multipart request (file upload) ]a&riPh"  
      multipart请求信息的最大尺寸(文件上传用) zx2`0%Q  
K\;4;6 g  
struts.multipart.parser 7.ein:M|CB  
      The org.apache.struts2.dispatcher.multipart. V59!}kel1%  
      MultiPartRequest parser implementation for a multipart request (file upload) Db*b"/]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y,}h{*9Kd  
cNmAr8^}  
quaRVD>s +  
struts.multipart.saveDir '<<@@.(f  
      The directory to use for storing uploaded files {^N,$,Ab.  
      设置存储上传文件的目录夹 O#18a,o@  
&g23tT#P?  
struts.objectFactory WoGnJ0N q  
      The com.opensymphony.xwork2.ObjectFactory implementation class 71P. 9Iz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ![r)KE=v8I  
8,[ *BgeX  
struts.objectFactory.spring.autoWire .JB1#&B +  
      Whether Spring should autoWire or not F*Hovxez  
      是否自动绑定Spring Vjt7X"_/  
*aWh]x9TlU  
struts.objectFactory.spring.useClassCache Te?PYV-  
      Whether Spring should use its class cache or not &-Wt!X 3  
      是否spring应该使用自身的cache v@yqTZ  
c!wRq4  
struts.objectTypeDeterminer JBJ?|}5k4c  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dJnKa]X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~aQR_S  
P, l (4  
struts.serve.static.browserCache Vh?vD:|  
If static content served by the Struts filter should set browser caching header properties or not |zP~/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \#w8~+`Gq  
+$(y2F7|u-  
struts.serve.static wA/!A$v(  
      Whether the Struts filter should serve static content or not uuD2O )v  
      是否struts过滤器应该提供静态内容 .*oL@iX  
1D8S}=5&  
struts.tag.altSyntax CPcUB4a%#  
      Whether to use the alterative syntax for the tags or not W=293mME  
      是否可以用替代的语法替代tags ~'0n ]Fw  
}b}jw.2Wu  
struts.ui.templateDir 8$47Y2r@  
      The directory containing UI templates 4]0:zS*O  
      UI templates的目录夹 SC2LY  
-#/DK   
struts.ui.theme ]:?S}DRG  
      The default UI template theme n[K%Xs)  
      默认的UI template主题 Q{uO/6  
-]u>kjiIT  
struts.url.http.port GIpYx`mHi  
      The HTTP port used by Struts URLs y&8`NS#_p?  
      设置http端口 )z z{~Cf  
<kwF<J  
struts.url.https.port v< 2,OcH  
      The HTTPS port used by Struts URLs V?x&\<;,  
      设置https端口 E)jd>"  
Bd=K40Z:  
struts.url.includeParams (,+#H]L  
      The default includeParams method to generate Struts URLs md18q:AG)  
      在url中产生 默认的includeParams +N+117m  
mr#.uhd.z  
Sw-2vnSdM  
struts.velocity.configfile Z> Rshtg  
      The Velocity configuration file path <6+B;brh  
      velocity配置文件路径 q8/k $5E  
[kr-gV  
struts.velocity.contexts r^rk@W;[  
      List of Velocity context names #EE<MKka  
      velocity的context列表 PlA#xnq#  
8L/XZ)  
tq'hiS(b  
struts.velocity.manager.classname s%Ph  
      org.apache.struts2.views.velocity.VelocityManager implementation class z~p!7q&g  
      org.apache.struts2.views.velocity.VelocityManager接口名 40].:9VG  
udr|6EjD.  
struts.velocity.toolboxlocation s/11 TgJ  
      The location of the Velocity toolbox ,d_rK\J  
      velocity工具盒的位置 N!dBF t"  
struts.xslt.nocache $qZ6i  
      Whether or not XSLT templates should not be cached P2s\f;Dwr  
      是否XSLT模版应该被缓存 mA,{E-T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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