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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R(2HY Z  
piYws<Q  
struts.action.extension ZSF=  
      The URL extension to use to determine if the request is meant for a Struts action hy$MV3LP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V#gF*]q  
6bbZ<E5At  
struts.configuration ,5eH2W  
      The org.apache.struts2.config.Configuration implementation class ;&+[W(7Sy  
        org.apache.struts2.config.Configuration接口名 Sv~YFS :oy  
@ate49W  
struts.configuration.files <+? Y   
      A list of configuration files automatically loaded by Struts 2fkIdy#n@  
      struts自动加载的一个配置文件列表 ~T>jBYI0  
z*M}=`M$  
struts.configuration.xml.reload :]B% >*;}  
      Whether to reload the XML configuration or not P"R97#C  
      是否加载xml配置(true,false) VY+(,\ )U  
\~gA+ o}Q  
struts.continuations.package NJ|NJ p&0  
      The package containing actions that use Rife continuations H _Zo@y~J  
      含有actions的完整连续的package名称 'a;ini  
di3 B=A>3  
struts.custom.i18n.resources ;[TljcbS  
      Location of additional localization properties files to load ASzzBR;?_  
      加载附加的国际化属性文件(不包含.properties后缀) ^8?j~&u$F  
="3a%\  
struts.custom.properties (orrX Ez  
      Location of additional configuration properties files to load |5 oKq'(b  
      加载附加的配置文件的位置 {yvb$ND|j{  
_`bS[%CJ  
QL)>/%yU  
struts.devMode 1DEO3p  
      Whether Struts is in development mode or not WF ?/GN  
      是否为struts开发模式 Sni&?tcY  
CRZi;7`*1  
struts.dispatcher.parametersWorkaround -`zG_]=-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0Jm]f/iZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tjnt(5g  
hAV2F #  
struts.enable.DynamicMethodInvocation ./"mn3U  
      Allows one to disable dynamic method invocation from the URL Cz'xGW{  
        允许动态方法调用 ]j& FbP)3  
+M44XhT  
struts.freemarker.manager.classname `pP9z;/Xq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -Wl)Lez@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 abM84EU  
5Y(r\Dd  
struts.i18n.encoding H|PrsGW  
      The encoding to use for localization messages y#b;uDY  
      国际化信息内码 xGKfej9  
b%Wd<N2  
struts.i18n.reload YHs?QsP  
      Whether the localization messages should automatically be reloaded 5a=nF9/  
      是否国际化信息自动加载 .cw!ls7d  
kRmj"9oA  
struts.locale 25xcD1*  
      The default locale for the Struts application wn &$C0  
      默认的国际化地区信息 HA$Y1}  
r#LnDseW  
struts.mapper.class HzP.aw4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 90Xt_$_}s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CdX`PQ  
>j&1?M2C  
struts.multipart.maxSize _FL<egK  
      The maximize size of a multipart request (file upload) Q/9a,85  
      multipart请求信息的最大尺寸(文件上传用) ^g9}f  
/VRUz++K  
struts.multipart.parser 3H1Pp*PH  
      The org.apache.struts2.dispatcher.multipart. .|T2\M  
      MultiPartRequest parser implementation for a multipart request (file upload) ?ouV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'eqiYY|  
CXBzX:T?#  
fucUwf\_  
struts.multipart.saveDir {UP'tXah  
      The directory to use for storing uploaded files aQ&uC )w  
      设置存储上传文件的目录夹 ;5<P|:^  
0r1g$mKb  
struts.objectFactory -Bj.hx*  
      The com.opensymphony.xwork2.ObjectFactory implementation class f.@Xjf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) BRe{1i 6  
SEYGy+#K  
struts.objectFactory.spring.autoWire hO#HvW  
      Whether Spring should autoWire or not ] } '^`  
      是否自动绑定Spring 5!<o-{J[(=  
#-,g&)`]  
struts.objectFactory.spring.useClassCache %>i@F=O2<  
      Whether Spring should use its class cache or not (Q'U@{s  
      是否spring应该使用自身的cache @YCv  
g&bwtEZ  
struts.objectTypeDeterminer e[}],W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B3Mx,uXT\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0rcjorWI  
u^l*5F%DK  
struts.serve.static.browserCache _e_4Q)z-a  
If static content served by the Struts filter should set browser caching header properties or not lcCJ?!lsSW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +5-]iKh  
WKxm9y V  
struts.serve.static } %+qP +O\  
      Whether the Struts filter should serve static content or not Yq J]7V\  
      是否struts过滤器应该提供静态内容 _-/x;C  
v~}5u 5 $O  
struts.tag.altSyntax AeaPK  
      Whether to use the alterative syntax for the tags or not 9 Va40X1  
      是否可以用替代的语法替代tags ?I\v0H*  
-?5$ PH  
struts.ui.templateDir l~['[Ub0)  
      The directory containing UI templates ?ql2wWsQO  
      UI templates的目录夹 QF.3c6O@  
_jmkl B  
struts.ui.theme VJg,~lQN#t  
      The default UI template theme 6|^0_6_  
      默认的UI template主题 EI\v  
E+z18Lf?  
struts.url.http.port F@1d%c  
      The HTTP port used by Struts URLs H<Hrwy~  
      设置http端口 $3 4j6;oN  
5z~\5x  
struts.url.https.port >t0%?wj)Y  
      The HTTPS port used by Struts URLs YDFCGA  
      设置https端口 &n|*uLn  
E=k w)<X2  
struts.url.includeParams -w~(3(  
      The default includeParams method to generate Struts URLs +0"x|$f~  
      在url中产生 默认的includeParams 2e.N"eLNt  
GRIa8>  
.LObOR 5J7  
struts.velocity.configfile qg4fR' i  
      The Velocity configuration file path <s}|ZnGE   
      velocity配置文件路径 4V$fGjJ3  
&K *X)DAs  
struts.velocity.contexts Vho0e V=  
      List of Velocity context names q^*6C[G B  
      velocity的context列表 O:^'x*}  
jo_ sAb  
s}ADk-7  
struts.velocity.manager.classname Me/\z^pF  
      org.apache.struts2.views.velocity.VelocityManager implementation class $KX[Zu%  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,H39V+Y*  
_]=9#Fg7{  
struts.velocity.toolboxlocation b+@D_E-RJ  
      The location of the Velocity toolbox BS7J#8cu  
      velocity工具盒的位置 K%gP5>y*9>  
struts.xslt.nocache =VSkl;(O  
      Whether or not XSLT templates should not be cached HE;V zR  
      是否XSLT模版应该被缓存 NR4Jn?l{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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