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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +dCDk* /m  
6eSo.@*l  
struts.action.extension S8#0Vo$)a  
      The URL extension to use to determine if the request is meant for a Struts action s%D%c;.|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ' ##?PQ*u  
(kxS0 ]=  
struts.configuration , /.@([C  
      The org.apache.struts2.config.Configuration implementation class W>pe-  
        org.apache.struts2.config.Configuration接口名 eft=k}  
c-$rB_t+  
struts.configuration.files %%No XW  
      A list of configuration files automatically loaded by Struts 9+ 1{a.JO  
      struts自动加载的一个配置文件列表 'NtI bS  
_BewaI;w  
struts.configuration.xml.reload ..`c# O&  
      Whether to reload the XML configuration or not 1ubu~6  
      是否加载xml配置(true,false) hV7EjQp  
AIHH@z   
struts.continuations.package #*.!J zOg  
      The package containing actions that use Rife continuations i<ES/U\  
      含有actions的完整连续的package名称 Cv,WG]E7(  
Dmh$@Uu#F  
struts.custom.i18n.resources ]KFh 1  
      Location of additional localization properties files to load /!Rva"  
      加载附加的国际化属性文件(不包含.properties后缀) 6Ryc&z5  
iV{_?f1jo  
struts.custom.properties !BoGSI  
      Location of additional configuration properties files to load *Dg@fxCQ  
      加载附加的配置文件的位置 t1Ts!Q2  
0!\gK <,z  
[E9iuym  
struts.devMode Q,NnB{R  
      Whether Struts is in development mode or not ( >}1t!1  
      是否为struts开发模式 ei= 4u'  
d*6f,z2=  
struts.dispatcher.parametersWorkaround ,buX|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b~.$1oZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F8w7N$/V",  
?nc:bC  
struts.enable.DynamicMethodInvocation .BP d06y  
      Allows one to disable dynamic method invocation from the URL 08ZvRy(Je<  
        允许动态方法调用 .F ?ww}2p]  
C@qWour  
struts.freemarker.manager.classname 2VV>?s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aqSOC(jU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \6 \bD<  
7@{%S~TN  
struts.i18n.encoding ]>~.U ~  
      The encoding to use for localization messages U.TZd"  
      国际化信息内码 5]i#l3")  
M{L<aYe  
struts.i18n.reload W1)SgiXnuy  
      Whether the localization messages should automatically be reloaded va@;V+cD  
      是否国际化信息自动加载 Sj ovL@X  
8ve-g\C8 H  
struts.locale | co#X8J  
      The default locale for the Struts application vJ0v6\  
      默认的国际化地区信息 k)knyEUi  
8g=O0Gb  
struts.mapper.class >.SO2w  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pqg2#@F.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 72| gzm  
7O)ATb#up  
struts.multipart.maxSize \0|x<~#j'  
      The maximize size of a multipart request (file upload) G:e=9qTf  
      multipart请求信息的最大尺寸(文件上传用) +/&rO,Ql  
/,I?"&FWc  
struts.multipart.parser W<<G  'Km  
      The org.apache.struts2.dispatcher.multipart. /%m?D o  
      MultiPartRequest parser implementation for a multipart request (file upload) 6ud?US(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ky !Z JR  
3+>R%TX6i<  
yi^X?E{WnX  
struts.multipart.saveDir *effDNE!  
      The directory to use for storing uploaded files 2\{/|\  
      设置存储上传文件的目录夹  '0f!o&?g  
dZ|bw0~_!  
struts.objectFactory <2*+Y|Lk2  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~/4j&IG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fz8& Jn!  
{X, -T&  
struts.objectFactory.spring.autoWire oi Q3E  
      Whether Spring should autoWire or not + o< 7*  
      是否自动绑定Spring Tx ?s?DwC  
{{A=^rr%C  
struts.objectFactory.spring.useClassCache g?1bEOA!  
      Whether Spring should use its class cache or not }!g$k $y  
      是否spring应该使用自身的cache =YYqgNz+\w  
"j%Gr :a  
struts.objectTypeDeterminer \R&ZWJKh  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~i-n_7+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /_<_X 7  
f:q2JgX  
struts.serve.static.browserCache O0^Y1l  
If static content served by the Struts filter should set browser caching header properties or not 7<jr0)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %_]O|(  
3Mh_ &%!O  
struts.serve.static @bkSA  
      Whether the Struts filter should serve static content or not 4xx?x/q  
      是否struts过滤器应该提供静态内容 -b%' K}.C  
ADP[KZO$ 4  
struts.tag.altSyntax :@~3wD[y  
      Whether to use the alterative syntax for the tags or not } 2y"F@{T  
      是否可以用替代的语法替代tags W*c^(W  
<y-2ovw*  
struts.ui.templateDir @)ozgs@e  
      The directory containing UI templates How:_ Hj  
      UI templates的目录夹 Gd&G*x  
tchpO3u,  
struts.ui.theme Sr10ot&ox  
      The default UI template theme <Dnv=)Rq  
      默认的UI template主题 D5T0o"A  
S r7EcT-  
struts.url.http.port %'F[(VB   
      The HTTP port used by Struts URLs K!jau|FS  
      设置http端口 q[Y* .%~  
NLWj5K)1P  
struts.url.https.port kJXy )  
      The HTTPS port used by Struts URLs imS&N.*3m  
      设置https端口 %]DJ-7 xE  
?IG+U TI  
struts.url.includeParams ctC! b{S"@  
      The default includeParams method to generate Struts URLs >>7m'-k%D  
      在url中产生 默认的includeParams cMt , 80  
\U`rF  
Jxb+NPUB  
struts.velocity.configfile 7 ( /  
      The Velocity configuration file path 1K$8F ~%Z  
      velocity配置文件路径 0Ioa;XgOn  
LTY(6we-  
struts.velocity.contexts rFv=j :8  
      List of Velocity context names -/qu."9(B  
      velocity的context列表 CI?M2\<g  
v/Ei0}e6~  
Qgv-QcI{  
struts.velocity.manager.classname 'v3> "b  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0/%VejZ'  
      org.apache.struts2.views.velocity.VelocityManager接口名 G5x%:,n  
?< $DQ%bf  
struts.velocity.toolboxlocation D(S^g+rd  
      The location of the Velocity toolbox 4[]4KKO3Q2  
      velocity工具盒的位置 93N:?B9  
struts.xslt.nocache |a {*r.  
      Whether or not XSLT templates should not be cached ;i&'va$  
      是否XSLT模版应该被缓存 Y_&)>;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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