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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *%A}x   
bQQVj?8jp  
struts.action.extension "s_Z&  
      The URL extension to use to determine if the request is meant for a Struts action lhPGE_\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )2.)3w1_4  
g>0vm2|  
struts.configuration 'Q|c@t  
      The org.apache.struts2.config.Configuration implementation class 2 ZG@!Y|  
        org.apache.struts2.config.Configuration接口名 FpVV4D  
{#hVD4$b  
struts.configuration.files )bD nbO$s_  
      A list of configuration files automatically loaded by Struts I3)Zr+  
      struts自动加载的一个配置文件列表 xPC"c*  
/[pqI0sf<A  
struts.configuration.xml.reload O@&+} D>  
      Whether to reload the XML configuration or not DW2>&|  
      是否加载xml配置(true,false) qrBZvJU  
!%S4 n  
struts.continuations.package J8Z0D:5  
      The package containing actions that use Rife continuations 6|=j+rScv  
      含有actions的完整连续的package名称 >.DC!QV  
PT]GJ<K/  
struts.custom.i18n.resources ClQe4uo{  
      Location of additional localization properties files to load <P4 FzK  
      加载附加的国际化属性文件(不包含.properties后缀) Y(VO.fVJK  
C`K^L=8`{  
struts.custom.properties vsMmCd)7U  
      Location of additional configuration properties files to load JYmAn?o-  
      加载附加的配置文件的位置 n-afDV  
OW5t[~y]  
Q5n`F5   
struts.devMode 6 /Y1 wu  
      Whether Struts is in development mode or not f[jN wb  
      是否为struts开发模式  ^jyD#  
 .i/m  
struts.dispatcher.parametersWorkaround k1}hIAk3u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p 2 !FcFi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -x]`DQUg  
..qd,9H  
struts.enable.DynamicMethodInvocation r"wtZ]69  
      Allows one to disable dynamic method invocation from the URL LU2waq}VA  
        允许动态方法调用 q``wt  
l]!B#{  
struts.freemarker.manager.classname qVgd(?hJ#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K-Mc6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b2) \ MNH  
M$S]}   
struts.i18n.encoding IVjU`ij  
      The encoding to use for localization messages Uems\I0  
      国际化信息内码 @;^Y7po6u  
?M}S| dsmE  
struts.i18n.reload =/9^, 6Q(  
      Whether the localization messages should automatically be reloaded Sc$UZ/qPT  
      是否国际化信息自动加载 LN^f1/ b*  
~~qWI>. 4  
struts.locale 6|;Uq'  
      The default locale for the Struts application 07_oP(;jT  
      默认的国际化地区信息 *@S@x{{s  
|m* .LTO  
struts.mapper.class 'Pd(\$ZY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?J!3j{4e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #@f[bP}a  
1~yZ T  
struts.multipart.maxSize f~h~5  
      The maximize size of a multipart request (file upload) nHst/5dA  
      multipart请求信息的最大尺寸(文件上传用) c:hK$C)T  
vNDu9ovs-  
struts.multipart.parser VLvS$0(}Z  
      The org.apache.struts2.dispatcher.multipart. `!4,jd  
      MultiPartRequest parser implementation for a multipart request (file upload) A o/vp-e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uofr8oL~  
lxb zHlX  
zF&=U`v  
struts.multipart.saveDir @F5f"8!.\  
      The directory to use for storing uploaded files '\7G@g?UZ  
      设置存储上传文件的目录夹 smy}3k  
5LW}h^N  
struts.objectFactory 4,P bg|  
      The com.opensymphony.xwork2.ObjectFactory implementation class > s EjR!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #/-_1H  
\OwpD,'  
struts.objectFactory.spring.autoWire O<*5$,K9  
      Whether Spring should autoWire or not 6[ga$nF?  
      是否自动绑定Spring p~jlx~1-]  
VG@};dwbz*  
struts.objectFactory.spring.useClassCache pbk$o{$`W  
      Whether Spring should use its class cache or not /f{$I  
      是否spring应该使用自身的cache t;q7t!sC]  
|Ul,6K@f"5  
struts.objectTypeDeterminer I["j=r  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HIc a nk  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |zsbW9 W*m  
QfpuZEUK  
struts.serve.static.browserCache MmoR~~*  
If static content served by the Struts filter should set browser caching header properties or not =t0tK}Y+4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ud%s^A-qS  
m@G i6   
struts.serve.static wxQ>ifi9Z  
      Whether the Struts filter should serve static content or not )0 Z!n  
      是否struts过滤器应该提供静态内容 k3Cz9Vt%  
-apXI.  
struts.tag.altSyntax <, @%*G1-  
      Whether to use the alterative syntax for the tags or not YlK7;yrq(  
      是否可以用替代的语法替代tags ~W#sTrK  
MN8H;0g-  
struts.ui.templateDir udk.zk  
      The directory containing UI templates ~Qj}ijWD  
      UI templates的目录夹 PRu&3BP  
s|yVAt|=  
struts.ui.theme 8 ;gXg  
      The default UI template theme `FF8ie8L  
      默认的UI template主题 o+O}Te  
Yc Q=vt{  
struts.url.http.port Y$ Fj2nk+  
      The HTTP port used by Struts URLs K >tf,  
      设置http端口 ]wn/BG)  
e79KbLV  
struts.url.https.port } (FPV*mS  
      The HTTPS port used by Struts URLs Z9`TwS@x[  
      设置https端口 wD \ZOn_J  
<O~WB  
struts.url.includeParams wVl+]zB  
      The default includeParams method to generate Struts URLs OEhHR  
      在url中产生 默认的includeParams X* eW#|$\  
A&5:ATQ/|  
kQ>^->w  
struts.velocity.configfile %8.J=B  
      The Velocity configuration file path pf"<!O[  
      velocity配置文件路径 u eb-2[=  
0Rn+`UnwB  
struts.velocity.contexts T<b+s#n4  
      List of Velocity context names dE`-\J  
      velocity的context列表 n| !@1sd  
;T+pu>)  
G5.nPsuM   
struts.velocity.manager.classname KP"%Rm`XN  
      org.apache.struts2.views.velocity.VelocityManager implementation class "UVFU-Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 bJ /5|E?  
{MdLX.ycc)  
struts.velocity.toolboxlocation wEW4gz{s  
      The location of the Velocity toolbox !c#]?b%  
      velocity工具盒的位置 kJ:F *34e=  
struts.xslt.nocache z;\dL  
      Whether or not XSLT templates should not be cached yCz|{=7"j  
      是否XSLT模版应该被缓存 LtgXShp_!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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