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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ufocj1IU  
1-s G`%  
struts.action.extension j;EH[3  
      The URL extension to use to determine if the request is meant for a Struts action }(9ZME<(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ` c"  
(JT 273  
struts.configuration Pk`3sfz  
      The org.apache.struts2.config.Configuration implementation class 7DWGYvv[  
        org.apache.struts2.config.Configuration接口名 U<6+2y P  
9[:TWvd  
struts.configuration.files WIw*//nw  
      A list of configuration files automatically loaded by Struts 5p~hUP]tT  
      struts自动加载的一个配置文件列表 %0%Tp  
tcJN`N  
struts.configuration.xml.reload jaQH1^~l/-  
      Whether to reload the XML configuration or not 1;~| [C  
      是否加载xml配置(true,false) HnKXO  
sL#MYW5E  
struts.continuations.package ,:qk+  
      The package containing actions that use Rife continuations sY&Z/Y  
      含有actions的完整连续的package名称 vywpX^KPv  
9<5S!?JL  
struts.custom.i18n.resources pL2{zW`FDh  
      Location of additional localization properties files to load nPUD6<bF  
      加载附加的国际化属性文件(不包含.properties后缀) #cqI0ny?G  
I M G^L  
struts.custom.properties /])P{"v$^  
      Location of additional configuration properties files to load U.N?cKv  
      加载附加的配置文件的位置 *rA]q' jM  
6>z,7 [  
/Edq[5Ah  
struts.devMode A}(o1wuw  
      Whether Struts is in development mode or not H`rd bE  
      是否为struts开发模式 (btm g<WT"  
m{r#o?  
struts.dispatcher.parametersWorkaround +9B .}t#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]l, ,en5V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KY\=D 2m  
<,y> W!  
struts.enable.DynamicMethodInvocation sEi9<$~R@0  
      Allows one to disable dynamic method invocation from the URL ZKai*q4?  
        允许动态方法调用 sGc.;":  
Hz>Dp !  
struts.freemarker.manager.classname jW>K#vj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "NTiQ}i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gmZ] E45  
\85~~v@  
struts.i18n.encoding 664D5f#EJ  
      The encoding to use for localization messages }l Gui>/D  
      国际化信息内码 7 4]qz,  
Zr[B*1,ZV  
struts.i18n.reload `Ay:;I  
      Whether the localization messages should automatically be reloaded mp z3o\n  
      是否国际化信息自动加载 ~JO.h$1C  
>~_)2_j  
struts.locale eg24.W9c  
      The default locale for the Struts application aP#/%  
      默认的国际化地区信息 Q"H/RMo-  
I:("f+ H  
struts.mapper.class DKF '*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5<YL^m{/L  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 t8`wO+4@  
;*0?C'h=  
struts.multipart.maxSize !@ {sM6U  
      The maximize size of a multipart request (file upload)  45WJb+$  
      multipart请求信息的最大尺寸(文件上传用) fg4mP_  
K|I<kA~!H  
struts.multipart.parser |qBcE  
      The org.apache.struts2.dispatcher.multipart. JX{_,2*$  
      MultiPartRequest parser implementation for a multipart request (file upload) ]'pL*&"X  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M~~)tJYsu  
UqNUX?(  
n}c~+ 0`un  
struts.multipart.saveDir gU1Pb]]  
      The directory to use for storing uploaded files L @Q+HN  
      设置存储上传文件的目录夹 ?$l|];m)-  
1xInU_SPf  
struts.objectFactory %`YR+J/V  
      The com.opensymphony.xwork2.ObjectFactory implementation class =}.gU WV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P>(FCX  
;; ;=)'o  
struts.objectFactory.spring.autoWire ?:G 3U\M  
      Whether Spring should autoWire or not buT6 )~lw  
      是否自动绑定Spring c3r`T{Kf  
AREjS $  
struts.objectFactory.spring.useClassCache s;$f6X  
      Whether Spring should use its class cache or not ` 46z D ?  
      是否spring应该使用自身的cache f+8 QAvh  
'gHg&E9E&  
struts.objectTypeDeterminer \`E^>6!]q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ov ^##E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~H1<8py\J  
_W^;a  
struts.serve.static.browserCache hCS}  
If static content served by the Struts filter should set browser caching header properties or not 3#Bb4\_v  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9zY6hh**  
vrcIwCa  
struts.serve.static *"OUwEl a  
      Whether the Struts filter should serve static content or not 5DVYHN9c|  
      是否struts过滤器应该提供静态内容 b` va\ '&3  
{Wu[e,p  
struts.tag.altSyntax n 4y]h  
      Whether to use the alterative syntax for the tags or not `.J17mQe"  
      是否可以用替代的语法替代tags >H ?k0M`L  
>##Z}auY  
struts.ui.templateDir 1GK>&;  
      The directory containing UI templates 3&nN;4~Zx6  
      UI templates的目录夹 niKfat?  
N$x&k$w R  
struts.ui.theme kw E2V+2  
      The default UI template theme } `5k^J$x  
      默认的UI template主题 tym:C7v%~  
?)186dp  
struts.url.http.port lRb>W31"  
      The HTTP port used by Struts URLs T6QRr}8`/J  
      设置http端口  uxB`  
ex6R=97uA  
struts.url.https.port hzRKv6  
      The HTTPS port used by Struts URLs E&eY79  
      设置https端口 ]!&$&t8.  
m uy^>2p  
struts.url.includeParams Q$v00z]f*  
      The default includeParams method to generate Struts URLs -J8Hsqf@  
      在url中产生 默认的includeParams ixSr*+  
=*"8N-FU  
]Yw$A  
struts.velocity.configfile %qiVbm0  
      The Velocity configuration file path +vaA P=  
      velocity配置文件路径 Ikw@B)0}  
G!;PV^6x  
struts.velocity.contexts S_/S2(V"  
      List of Velocity context names 7eAV2.  
      velocity的context列表 se`Eez}  
~> Q9  
U3Z=X TB  
struts.velocity.manager.classname t ^[fu,  
      org.apache.struts2.views.velocity.VelocityManager implementation class EK Vcz'w  
      org.apache.struts2.views.velocity.VelocityManager接口名 W\NC3]  
N2"B\  
struts.velocity.toolboxlocation bd~m'cob>  
      The location of the Velocity toolbox w"wW0uE^  
      velocity工具盒的位置 b^Re947{g  
struts.xslt.nocache gXJBb+P   
      Whether or not XSLT templates should not be cached @uldD"MJ<]  
      是否XSLT模版应该被缓存 [ 'lu;1-,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五