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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z@RAdwjR`p  
b,#cc>76\  
struts.action.extension Vj:)w<] ,  
      The URL extension to use to determine if the request is meant for a Struts action aEy_H-6f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]zhFFq`  
^pKC0E[%  
struts.configuration o{ f n}  
      The org.apache.struts2.config.Configuration implementation class u)t1t69T\g  
        org.apache.struts2.config.Configuration接口名 #ie{!Mh  
Y\%R6/Gj|u  
struts.configuration.files ^r(2 r  
      A list of configuration files automatically loaded by Struts LZX-am`%  
      struts自动加载的一个配置文件列表 V}'|a<8kVv  
]W5s!T_  
struts.configuration.xml.reload Y GO ;wIS  
      Whether to reload the XML configuration or not YzhZ%:8  
      是否加载xml配置(true,false) ZBJ.dK?Ky|  
j0kEi+!TVq  
struts.continuations.package B>o #eW  
      The package containing actions that use Rife continuations L_<&oq  
      含有actions的完整连续的package名称 }zlvs a+  
3 ^{U:"N0  
struts.custom.i18n.resources VrQw;-rQ  
      Location of additional localization properties files to load W a2V Z  
      加载附加的国际化属性文件(不包含.properties后缀) $kZ,uvKN  
wAVO%8u  
struts.custom.properties 4:nmo@K &~  
      Location of additional configuration properties files to load ;k (}~_  
      加载附加的配置文件的位置 :>Z0Kb}7  
shYcfLJ  
^NHQ[4I  
struts.devMode Q'7o_[o/  
      Whether Struts is in development mode or not @H]g_yw [:  
      是否为struts开发模式 6 !+xf  
E-E+/.A  
struts.dispatcher.parametersWorkaround SXwgn >  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fx99@%Ii  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TJ?}5h5  
2^[fUzL?  
struts.enable.DynamicMethodInvocation dn:g_!]p  
      Allows one to disable dynamic method invocation from the URL @ns2$(wkm@  
        允许动态方法调用 O >n L;I  
nUs)  
struts.freemarker.manager.classname QI0ARdS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8p-5.GU)<e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R+]Fh4t  
P-7!\[];te  
struts.i18n.encoding wAF>C[<\  
      The encoding to use for localization messages 0 m";=:(w  
      国际化信息内码 j<"0ym)A  
( J\D"4q  
struts.i18n.reload v~L} :  
      Whether the localization messages should automatically be reloaded vTh-I&}:  
      是否国际化信息自动加载 d,8V-Dk+p  
TG{=~2  
struts.locale Tk|0 scjE^  
      The default locale for the Struts application MR#jI  
      默认的国际化地区信息 [|ky~sRr  
'=\]4?S  
struts.mapper.class tN3Xn]   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iBV*GW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qAivsYN*  
Dr7,>Yx  
struts.multipart.maxSize v;JY;Uh|  
      The maximize size of a multipart request (file upload) !yoj ZG MB  
      multipart请求信息的最大尺寸(文件上传用) tE(x8>5A:  
E 7;KG^  
struts.multipart.parser :}+U?8/"7  
      The org.apache.struts2.dispatcher.multipart. >J.a, !  
      MultiPartRequest parser implementation for a multipart request (file upload) E+ JGqk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y0&w;P  
^%IKlj- E  
qf4|!UR{  
struts.multipart.saveDir &7E0H{  
      The directory to use for storing uploaded files }b)?o@9}:  
      设置存储上传文件的目录夹 Pkc4=i,`A  
|os2@G$  
struts.objectFactory K~x G+Kh  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5c'rnMW4+p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @2YO_rL[  
oJ{)0;<~L  
struts.objectFactory.spring.autoWire Z TjlGU `  
      Whether Spring should autoWire or not ""d3ownKhw  
      是否自动绑定Spring A5ktbj&gy<  
>+#TsX{  
struts.objectFactory.spring.useClassCache N^%[ B9D  
      Whether Spring should use its class cache or not &XrF#s  
      是否spring应该使用自身的cache s]U'*?P  
hCQ{D|/  
struts.objectTypeDeterminer q'C'S#qqn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q^"P_pV\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }9 qsPn  
:bLGDEC  
struts.serve.static.browserCache Da?0B9'  
If static content served by the Struts filter should set browser caching header properties or not k(u W( 6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {;f` t3D  
@B7 ;  
struts.serve.static Qy0bp;V/  
      Whether the Struts filter should serve static content or not !%T@DT=l&  
      是否struts过滤器应该提供静态内容 ZSKk*<=  
&|/C*2A  
struts.tag.altSyntax IL YS:c58=  
      Whether to use the alterative syntax for the tags or not gl2~6"dc  
      是否可以用替代的语法替代tags :_)Xe*O  
\<T6+3p  
struts.ui.templateDir H{p+gj^J  
      The directory containing UI templates 8QFY:.h&  
      UI templates的目录夹 4&$hBn=!  
>]ZojdOl)  
struts.ui.theme ^~=o?VtBg  
      The default UI template theme `.L8<-]W  
      默认的UI template主题 4)v\Dc/9i  
N<$ uAns  
struts.url.http.port UCvMW*gs  
      The HTTP port used by Struts URLs wQPjo!FEX  
      设置http端口 *AZC{jP  
:S~XE  
struts.url.https.port 34s:|w6y  
      The HTTPS port used by Struts URLs @>X."QbE  
      设置https端口 dgX0\lKpf  
VdVca1Z  
struts.url.includeParams ^hY<avi6s  
      The default includeParams method to generate Struts URLs QL_bg:hs  
      在url中产生 默认的includeParams Xa9G;J$  
+~w '?vNc  
4;w_o9o  
struts.velocity.configfile L_ 8C=MS  
      The Velocity configuration file path 5#QB&A>  
      velocity配置文件路径 gmJJ(}HVz  
#G)ZhgB^  
struts.velocity.contexts `S$BBF;  
      List of Velocity context names -qid.  
      velocity的context列表 'hU&$lgMF  
Nm#KHA='Z  
Bk?MF6  
struts.velocity.manager.classname pZjyzH{~  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9)l[$X  
      org.apache.struts2.views.velocity.VelocityManager接口名 >qcir~ &  
iCc@N|~  
struts.velocity.toolboxlocation ?B@iBOcu[  
      The location of the Velocity toolbox =]Qu"nRB  
      velocity工具盒的位置 T3'dfe U  
struts.xslt.nocache A3Ltk 2<  
      Whether or not XSLT templates should not be cached ``>WFLWTn  
      是否XSLT模版应该被缓存 Bz /NFNi[p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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