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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [(vV45(E  
m!(dk]  
struts.action.extension q9\(<<f|  
      The URL extension to use to determine if the request is meant for a Struts action umpa!q};  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n" vO?8Sx  
6aWNLJ@  
struts.configuration V<U9Pj^?^  
      The org.apache.struts2.config.Configuration implementation class q AsTiT6r  
        org.apache.struts2.config.Configuration接口名 C?<[oQb#  
f'tQLF[r<  
struts.configuration.files Z}IuR|=  
      A list of configuration files automatically loaded by Struts +O8}twt@  
      struts自动加载的一个配置文件列表 <d[GGkY]=  
M=1~BZQ(Z  
struts.configuration.xml.reload E};1 H  
      Whether to reload the XML configuration or not gRw? <U^  
      是否加载xml配置(true,false) #wGOlW;R  
[t*-s1cq  
struts.continuations.package @# . a5  
      The package containing actions that use Rife continuations roIc1Ax:  
      含有actions的完整连续的package名称 a,:Nlr3  
 Sg(\+j=  
struts.custom.i18n.resources _+Uf5,.5yU  
      Location of additional localization properties files to load {>Qs+]  
      加载附加的国际化属性文件(不包含.properties后缀) COxJ,v(  
6rlM\k@!  
struts.custom.properties b8 6c[2  
      Location of additional configuration properties files to load Ng*O/g`%L  
      加载附加的配置文件的位置 xo(>nFjo  
WpkCFp  
Hx9lQ8  
struts.devMode @[5]?8\o  
      Whether Struts is in development mode or not /1hcw|cfC  
      是否为struts开发模式 BtQqUk#L2  
L f;Uv[^c  
struts.dispatcher.parametersWorkaround |9)y<}c5oM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _1jeaV9@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K~qKr<)  
C2L=i3R  
struts.enable.DynamicMethodInvocation JycC\s+%E  
      Allows one to disable dynamic method invocation from the URL DRRy5+,I  
        允许动态方法调用 }9Q<<a  
&hWYw+yH\  
struts.freemarker.manager.classname Q:]v4 /MT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }dEf |6_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Slp_o\s$@  
(cp$poo  
struts.i18n.encoding QD 0p  
      The encoding to use for localization messages {y<E_y x1  
      国际化信息内码 Qs 'dwc  
~S0T+4$  
struts.i18n.reload hgdr\ F  
      Whether the localization messages should automatically be reloaded ?~;q r  
      是否国际化信息自动加载 LEAU3doK;  
LO k J  
struts.locale 1R#1Fy%  
      The default locale for the Struts application wy""02j  
      默认的国际化地区信息 O5JG!bGE_F  
v5L#H=P  
struts.mapper.class -)e(Qt#ewl  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0}\8,U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k[1w] l8  
{dvsZJj  
struts.multipart.maxSize .Txwp?};  
      The maximize size of a multipart request (file upload) X- SR0x  
      multipart请求信息的最大尺寸(文件上传用) ,(kaC.Em  
J^mm"2  
struts.multipart.parser oho~?.F  
      The org.apache.struts2.dispatcher.multipart. WAVEwA`r  
      MultiPartRequest parser implementation for a multipart request (file upload) iv6bXV'N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tk+t3+  
.b<wNUzP  
3e|,Z'4}4  
struts.multipart.saveDir {InW%qSn_  
      The directory to use for storing uploaded files @Z@S;RWSU  
      设置存储上传文件的目录夹 #/WjKr n  
/$UWTq/C7  
struts.objectFactory l^v,X%{Iz  
      The com.opensymphony.xwork2.ObjectFactory implementation class lH>6;sE  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9YwS"~Q =w  
=jvN8R*[  
struts.objectFactory.spring.autoWire ^ ;cJjl'=  
      Whether Spring should autoWire or not (9+N_dLx~P  
      是否自动绑定Spring r6e!";w:U  
ZRC7j?ui8`  
struts.objectFactory.spring.useClassCache 4Gsq)i17j  
      Whether Spring should use its class cache or not S{~j5tQv^q  
      是否spring应该使用自身的cache lp5 b&I_  
,fyqa  
struts.objectTypeDeterminer t=dZM}wj_\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $# b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,.,Y{CP  
V V Aw y6  
struts.serve.static.browserCache R)9FXz$).  
If static content served by the Struts filter should set browser caching header properties or not > V@,K z1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w%kaM=  
%&4\'lE  
struts.serve.static Xgo`XsA  
      Whether the Struts filter should serve static content or not }Q{4G  
      是否struts过滤器应该提供静态内容 C,5Erb/  
4cAx9bqA  
struts.tag.altSyntax jq+:&8!8(e  
      Whether to use the alterative syntax for the tags or not Z DnAzAR  
      是否可以用替代的语法替代tags 5K|s]Y;  
`,6^eLU  
struts.ui.templateDir )h;zH,DA[3  
      The directory containing UI templates &0J/V>k  
      UI templates的目录夹 6X$iTJ[\x  
fU4{4M+9"  
struts.ui.theme '59l.  
      The default UI template theme liVDBbS_A?  
      默认的UI template主题 3$kElq[  
bt?)ryu  
struts.url.http.port ~;nW+S$o  
      The HTTP port used by Struts URLs [,mcvO;  
      设置http端口 Ht%O9v  
\MtdT[*  
struts.url.https.port ]w9syz8X  
      The HTTPS port used by Struts URLs s _`y"' ^  
      设置https端口 KnYHjJa  
z';h5GNd>z  
struts.url.includeParams $ dHD  
      The default includeParams method to generate Struts URLs v5`Odbc=w  
      在url中产生 默认的includeParams T q5F'@e  
Q9 RCN<!  
c]:@y"W5$  
struts.velocity.configfile IeJ@G)  
      The Velocity configuration file path "C [uz&  
      velocity配置文件路径 ]\:l><  
PX,fg5s\b  
struts.velocity.contexts "yxBD 7  
      List of Velocity context names e irRAU  
      velocity的context列表 n/GJ&qLi:g  
 %L gfi  
vX}mwK8  
struts.velocity.manager.classname }i2dXC/  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7=]Y7 "XCf  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^ px)W,O  
TWTRMc;z+  
struts.velocity.toolboxlocation R$VeD1n@  
      The location of the Velocity toolbox }F (lffb  
      velocity工具盒的位置 +PkN~m`  
struts.xslt.nocache .(zZTyZr  
      Whether or not XSLT templates should not be cached 7)a u#K6  
      是否XSLT模版应该被缓存 Cl3hpqv1I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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