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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 I|Gp$ uq _  
Sf8{h|71  
struts.action.extension M'/aZ# b  
      The URL extension to use to determine if the request is meant for a Struts action i7ly[6{^pr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k!{p7*0  
#^ ]n0!  
struts.configuration HJY2#lSha6  
      The org.apache.struts2.config.Configuration implementation class B-r0"MX&  
        org.apache.struts2.config.Configuration接口名 vY_-Ranj#.  
h;0S%ZC  
struts.configuration.files =)7s$ p  
      A list of configuration files automatically loaded by Struts D|.ic!w'  
      struts自动加载的一个配置文件列表 bwl|0"f+`  
@/1w4'M  
struts.configuration.xml.reload O]m+u  
      Whether to reload the XML configuration or not \7*`}&  
      是否加载xml配置(true,false) y\x+  
h5K$mA5  
struts.continuations.package }-@`9(o`)  
      The package containing actions that use Rife continuations s8h-,@p  
      含有actions的完整连续的package名称 B2O}1.  
M8TSt\  
struts.custom.i18n.resources 28=O03q  
      Location of additional localization properties files to load  ^k\e8F/  
      加载附加的国际化属性文件(不包含.properties后缀) k]I0o)+O.  
x|5k<CiA  
struts.custom.properties 9WR6!.y#f  
      Location of additional configuration properties files to load ~ _!F01s  
      加载附加的配置文件的位置 u#@Q:tnN_  
.e3+s*  
Q6r7.pk"SU  
struts.devMode 2j&AiD  
      Whether Struts is in development mode or not nt@aYXK4|  
      是否为struts开发模式 ;"m ,:5%  
%?Ev|:i`@  
struts.dispatcher.parametersWorkaround =*LS%WI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mtj h`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WH \)) y-  
Alxx[l\<J  
struts.enable.DynamicMethodInvocation +) m_o"hl  
      Allows one to disable dynamic method invocation from the URL ;I!MLI  
        允许动态方法调用 s4uhsJL V$  
f-7 1~  
struts.freemarker.manager.classname $81*^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bv*,#Qm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~Onoe $A[<  
r#B+(X7LM  
struts.i18n.encoding 0a"c2J  
      The encoding to use for localization messages fP `b>]N_  
      国际化信息内码 s]JF0584  
O7$hYk  
struts.i18n.reload |x-S&-  
      Whether the localization messages should automatically be reloaded X7g1:L1Ys  
      是否国际化信息自动加载 go<W( ,O  
ez6EjUk  
struts.locale !dC<4qZ\C  
      The default locale for the Struts application xcf%KXJf6  
      默认的国际化地区信息 |UxG$M(  
mFZ?hOyP.  
struts.mapper.class _Iv6pNd/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^:Gie  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 bG(3^"dS  
?28N ^  
struts.multipart.maxSize ;{" +g)u  
      The maximize size of a multipart request (file upload) DY?Kfvef  
      multipart请求信息的最大尺寸(文件上传用) X]dwX%:Z!j  
'4#}e[e  
struts.multipart.parser `6xkf&Kt  
      The org.apache.struts2.dispatcher.multipart. ynhmMy%  
      MultiPartRequest parser implementation for a multipart request (file upload) qDfd.gL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CLJ;<  
8!Ww J Oe  
7 !JQB  
struts.multipart.saveDir  #c66)  
      The directory to use for storing uploaded files y;o^- O  
      设置存储上传文件的目录夹 H"dJ6  
N/K.%<h  
struts.objectFactory x" L20}  
      The com.opensymphony.xwork2.ObjectFactory implementation class u!W0P6   
      com.opensymphony.xwork2.ObjectFactory接口(spring) 07^iP>?  
X'qU*Eo  
struts.objectFactory.spring.autoWire  _ "VkGG  
      Whether Spring should autoWire or not n@,G8=J?  
      是否自动绑定Spring d*%`!G  
F ;2w1S^  
struts.objectFactory.spring.useClassCache R'@9]99  
      Whether Spring should use its class cache or not AGYc |;  
      是否spring应该使用自身的cache %s(k_|G+4  
(j3xAA  
struts.objectTypeDeterminer K$E3QVa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xe` </  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :dQ B R  
ZU%[guf  
struts.serve.static.browserCache ]33>m|?@  
If static content served by the Struts filter should set browser caching header properties or not sv&;Y\2c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U5.LDv;  
;k>&FWEG  
struts.serve.static 2 Cv4=S  
      Whether the Struts filter should serve static content or not qtQ6cq Ld  
      是否struts过滤器应该提供静态内容 5?F__Hx*2  
ei[j1F  
struts.tag.altSyntax .Lsavpo  
      Whether to use the alterative syntax for the tags or not N%*5T[.  
      是否可以用替代的语法替代tags <BMXCk  
E{Ov>osq  
struts.ui.templateDir \Yc'~2n  
      The directory containing UI templates r'HtZo$^R  
      UI templates的目录夹 l^pA2yh|  
&p4&[H?  
struts.ui.theme 6&!PmKFO.  
      The default UI template theme t7j);W%e6  
      默认的UI template主题 D)m5  
|6K+E6H  
struts.url.http.port :<bB?N(  
      The HTTP port used by Struts URLs -v]Sr33L  
      设置http端口 W;!}#o|%s  
5n9B?T8C  
struts.url.https.port P;qN(2L/=<  
      The HTTPS port used by Struts URLs IpcNuZo9&  
      设置https端口 yl7&5)b#9  
W"}M1o  
struts.url.includeParams jw^<IMAG\8  
      The default includeParams method to generate Struts URLs Wp!%-vzy&  
      在url中产生 默认的includeParams `OXpU,Z 6U  
3W3ZjdV+  
0Tx{3#  
struts.velocity.configfile 1+jAz`nA:T  
      The Velocity configuration file path 8o'_`{ba  
      velocity配置文件路径 =E.t`x=  
[BqHx5Xz(  
struts.velocity.contexts }dWq=)*  
      List of Velocity context names b`~p.c%(  
      velocity的context列表 P(,p'I;j  
7b;I+q  
LSGBq  
struts.velocity.manager.classname 8&?s#5zA  
      org.apache.struts2.views.velocity.VelocityManager implementation class *KV0%)}sbL  
      org.apache.struts2.views.velocity.VelocityManager接口名 X\@C.H2ttY  
#><.oreXq  
struts.velocity.toolboxlocation Rv$[)`&T  
      The location of the Velocity toolbox C/vI EYG4  
      velocity工具盒的位置 O4cr*MCb5  
struts.xslt.nocache 'rO!AcdLU  
      Whether or not XSLT templates should not be cached QxVq^H  
      是否XSLT模版应该被缓存 t\{'F7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五