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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZI,j?i6\  
4:D:| r  
struts.action.extension b6|Z"{TI _  
      The URL extension to use to determine if the request is meant for a Struts action &M[MEO`t8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )Nbc/nB$  
_mXs4  
struts.configuration %4,xx'`  
      The org.apache.struts2.config.Configuration implementation class e8oKn&  
        org.apache.struts2.config.Configuration接口名 kQLT$8io  
zDB" r  
struts.configuration.files dXl]Pe|v  
      A list of configuration files automatically loaded by Struts |k6Ox*  
      struts自动加载的一个配置文件列表 Axlm<3<wf"  
IK'F{QPH  
struts.configuration.xml.reload b vRB  
      Whether to reload the XML configuration or not gY!N3 *:  
      是否加载xml配置(true,false) L=RGL+f1 _  
f3G1r5x  
struts.continuations.package C,"=}z1P  
      The package containing actions that use Rife continuations bG(x:Py&  
      含有actions的完整连续的package名称 |H W( vA  
4@6 <  
struts.custom.i18n.resources W .U+.hR  
      Location of additional localization properties files to load T^]7R4 Fg  
      加载附加的国际化属性文件(不包含.properties后缀) /YFa ;2 W  
Q/py qe G  
struts.custom.properties qEQAn/&  
      Location of additional configuration properties files to load \]8VwsP  
      加载附加的配置文件的位置 } ~F~hf>s  
^LVk5l)\>g  
Umz05*  
struts.devMode y@3Q;~l,  
      Whether Struts is in development mode or not ePEe?o4;  
      是否为struts开发模式 :m K xa  
paWxanSt  
struts.dispatcher.parametersWorkaround TGf;_)El  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X FQNr`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m; o4Fu  
($62o&I  
struts.enable.DynamicMethodInvocation *g_w I%l  
      Allows one to disable dynamic method invocation from the URL UW6VHA>  
        允许动态方法调用 26.)Ur<F  
&tj0M.-  
struts.freemarker.manager.classname 'w.}2(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,hWcytzEw  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =IZ[_ /@  
RBE7485  
struts.i18n.encoding cKjRF6w  
      The encoding to use for localization messages pDn&V(  
      国际化信息内码 ,[X_]e;  
J4>;[\%m  
struts.i18n.reload K(VW%hV1  
      Whether the localization messages should automatically be reloaded d2~l4IL)~  
      是否国际化信息自动加载 _R^y\1Qu  
ARF\fF|<2  
struts.locale 1k[GuG%/K  
      The default locale for the Struts application 6{=_718l`  
      默认的国际化地区信息 vk'rA{x  
8eJE>g1J  
struts.mapper.class ,q#2:b<E  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l^W uS|G[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^=+e?F`:{  
YJ,*(A18  
struts.multipart.maxSize (.?ZKL  
      The maximize size of a multipart request (file upload) ^m%52Tm h  
      multipart请求信息的最大尺寸(文件上传用) w"8V0z  
NiA4JgM]v  
struts.multipart.parser :, _!pe;H  
      The org.apache.struts2.dispatcher.multipart. TQc@lR!  
      MultiPartRequest parser implementation for a multipart request (file upload) xS8,W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _TUm$#@Y`  
sbnjy"Z%  
}pawIf4V  
struts.multipart.saveDir T SjI z5  
      The directory to use for storing uploaded files g jxS  
      设置存储上传文件的目录夹 qTM%G-  
',)7GY/n~  
struts.objectFactory fF;h V  
      The com.opensymphony.xwork2.ObjectFactory implementation class >zngJ$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c}-(.eu  
P!e=b-T  
struts.objectFactory.spring.autoWire m Ni2b*k  
      Whether Spring should autoWire or not 6kR\xP]Kr  
      是否自动绑定Spring SK R1E];4  
%e? fH.)  
struts.objectFactory.spring.useClassCache Td hTQ  
      Whether Spring should use its class cache or not }mk>!B}=  
      是否spring应该使用自身的cache "0Q1qZ  
O/b+CSS1  
struts.objectTypeDeterminer C:i|-te  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @i LIU}+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +,5-qm)Gh>  
% frfSGf.#  
struts.serve.static.browserCache HB iBv-=,  
If static content served by the Struts filter should set browser caching header properties or not ho.(v;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a#[-*ou`  
3FNT|QF  
struts.serve.static |=K_F3aJ  
      Whether the Struts filter should serve static content or not "2{%JFE  
      是否struts过滤器应该提供静态内容 VhEka#  
lH2wG2  
struts.tag.altSyntax x({C(Q'O  
      Whether to use the alterative syntax for the tags or not  tR)H~l7q  
      是否可以用替代的语法替代tags )D/ 6%]O  
(9C<K<  
struts.ui.templateDir Kat&U19YH  
      The directory containing UI templates 7L3ik;>  
      UI templates的目录夹 ;Ii1B{W  
_#C()Ro*P  
struts.ui.theme %j+xgX/&  
      The default UI template theme :P+\p=  
      默认的UI template主题 :a0zT#u  
lAi2,bz"  
struts.url.http.port "G?Yrh  
      The HTTP port used by Struts URLs d 6t:hn  
      设置http端口 9P WY52!  
2+Rv{%  
struts.url.https.port L{&U V0q!  
      The HTTPS port used by Struts URLs BVpO#c~I  
      设置https端口 MX|H}+\  
9Q.#\  
struts.url.includeParams 'V&Y[7Aeq  
      The default includeParams method to generate Struts URLs KbW9s,:p  
      在url中产生 默认的includeParams ST dNM\+  
~Z)/RT/  
GTl xq%?b  
struts.velocity.configfile w$fJ4+  
      The Velocity configuration file path !3 qVB  
      velocity配置文件路径 =#xK=pRy;  
e0HfP v_  
struts.velocity.contexts F0lOlS   
      List of Velocity context names F]+~x/!  
      velocity的context列表 j/!H$0PN  
q(IQa@$SR  
@n+=vC.xO  
struts.velocity.manager.classname ?cy4&]s  
      org.apache.struts2.views.velocity.VelocityManager implementation class *rh,"Zo  
      org.apache.struts2.views.velocity.VelocityManager接口名 s:>\/[*>0c  
L.'}e{ldW  
struts.velocity.toolboxlocation h2Bz F  
      The location of the Velocity toolbox 6iA( o*'Yn  
      velocity工具盒的位置 "Cz<d w]D  
struts.xslt.nocache "TOa=Tt{,  
      Whether or not XSLT templates should not be cached kg97S  
      是否XSLT模版应该被缓存 :iF%cy.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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