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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /I: d<A  
F4d L{0;j  
struts.action.extension tt#M4n@  
      The URL extension to use to determine if the request is meant for a Struts action g_.BJ>Uv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hC~lH eH  
{Uu7@1@n  
struts.configuration tpA7"JD  
      The org.apache.struts2.config.Configuration implementation class ,]Hn*\@p[c  
        org.apache.struts2.config.Configuration接口名 l6)*u[}E   
i1u & -#k  
struts.configuration.files TB1 1crE  
      A list of configuration files automatically loaded by Struts {s 4:V=J  
      struts自动加载的一个配置文件列表 [|uAfp5R  
<L:v28c  
struts.configuration.xml.reload 6`F_js.a  
      Whether to reload the XML configuration or not {8b6A~/  
      是否加载xml配置(true,false) +-HaYB|p  
`N2zeFG  
struts.continuations.package 4uDz=B+8y  
      The package containing actions that use Rife continuations .wYx_  
      含有actions的完整连续的package名称 AY|8wf,LS  
IOt!A  
struts.custom.i18n.resources jr'O4bo%  
      Location of additional localization properties files to load [bE9Y;  
      加载附加的国际化属性文件(不包含.properties后缀) >|H=25N>;  
dH?;!sJ  
struts.custom.properties F5&4x"c  
      Location of additional configuration properties files to load Ma wio5  
      加载附加的配置文件的位置 { 5h6nYu  
%-H  
&eyFApM[Z  
struts.devMode TQYud'u/  
      Whether Struts is in development mode or not mtmtOG_/=  
      是否为struts开发模式 =3""D{l  
F|Jo|02  
struts.dispatcher.parametersWorkaround A*E$_N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4z?6[Cg<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %p@A8'b  
1+Ja4`o,iS  
struts.enable.DynamicMethodInvocation RIb< 7  
      Allows one to disable dynamic method invocation from the URL l $MX \  
        允许动态方法调用 &vd9\Pp  
[WC-EDO2lb  
struts.freemarker.manager.classname v5 $"v?PT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c tTbvXP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )|'? uN7  
q4lL7@_  
struts.i18n.encoding jb fMTb4  
      The encoding to use for localization messages ow%s_yV]R  
      国际化信息内码 F5{~2~Cw(  
zgqe@;{  
struts.i18n.reload 8[ :FU  
      Whether the localization messages should automatically be reloaded A+NLo[swwu  
      是否国际化信息自动加载 D",ZrwyJ  
J'Gn M?M  
struts.locale ka*VQXk*  
      The default locale for the Struts application Up)b;wR  
      默认的国际化地区信息 n%@xnB $ZX  
) T 3y,*  
struts.mapper.class lv,8NmP5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x)nBy)<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *#dXW\8qu  
pO GVD  
struts.multipart.maxSize Y KeOH  
      The maximize size of a multipart request (file upload) nBZqhtr  
      multipart请求信息的最大尺寸(文件上传用) _9""3O  
}JAg<qy}  
struts.multipart.parser $Omc Ed  
      The org.apache.struts2.dispatcher.multipart. z`m-Ca>6  
      MultiPartRequest parser implementation for a multipart request (file upload) ] E`J5o}op  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qx'a+kLu9  
Nl PP|=o  
Yq3(,  
struts.multipart.saveDir h}rrsVj3  
      The directory to use for storing uploaded files n"d~UV^Uw  
      设置存储上传文件的目录夹 NTls64AS.  
4|7L26,]5  
struts.objectFactory N{ ;{<C9Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class rJ KX4,M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) DJT)7l{  
phEM1",4T  
struts.objectFactory.spring.autoWire !Kd/ lDY  
      Whether Spring should autoWire or not *+lnAxRa?  
      是否自动绑定Spring @U:WWTzf  
sw8Ic\vT  
struts.objectFactory.spring.useClassCache wz T+V,   
      Whether Spring should use its class cache or not __'Z0?.4#  
      是否spring应该使用自身的cache +#,t  
auaFP-$`f  
struts.objectTypeDeterminer ~\Fde^1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &I<R|a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2mVH*\D  
dV.)+X7<  
struts.serve.static.browserCache IcI y  
If static content served by the Struts filter should set browser caching header properties or not \D>'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V=QvwQlZ  
@N1ta-D#  
struts.serve.static el 5F>)  
      Whether the Struts filter should serve static content or not E}.cz\!.  
      是否struts过滤器应该提供静态内容 ;m@>v?zE  
"n:L<F,g  
struts.tag.altSyntax YtxBkKiJ2V  
      Whether to use the alterative syntax for the tags or not Z;SRW92@  
      是否可以用替代的语法替代tags }0}J  
W>/O9?D  
struts.ui.templateDir 2lE { P  
      The directory containing UI templates ^~eT# Y8  
      UI templates的目录夹 Td X6<fVV  
"?}QwtUW  
struts.ui.theme GVCyVt[!-  
      The default UI template theme l?Bv9k.^?  
      默认的UI template主题 "JbFbcj  
GcHWalm  
struts.url.http.port Uiv;0Tovl  
      The HTTP port used by Struts URLs nU||Jg  
      设置http端口 ^k t#[N  
6@; w%Ea  
struts.url.https.port X}h{xl   
      The HTTPS port used by Struts URLs c|hKo[r)  
      设置https端口 SDcD(G  
3sHC1 +  
struts.url.includeParams *M6M'>Tin  
      The default includeParams method to generate Struts URLs KvkiwO(  
      在url中产生 默认的includeParams ]J?5qR:xCy  
(~zdS.  
(gs"2  
struts.velocity.configfile gP^'4>Jr  
      The Velocity configuration file path ,t(y~Z wJ  
      velocity配置文件路径 rS{Rzs^@  
nRb#M  
struts.velocity.contexts FV!  
      List of Velocity context names _H<ur?G  
      velocity的context列表 -Y2h vC  
C(7LwV  
wa@X^]D8  
struts.velocity.manager.classname 8!S="_  
      org.apache.struts2.views.velocity.VelocityManager implementation class M@ ! {m  
      org.apache.struts2.views.velocity.VelocityManager接口名 ZsNUT4  
Kc}FMu  
struts.velocity.toolboxlocation L}lc=\  
      The location of the Velocity toolbox <b{Le{QJ*  
      velocity工具盒的位置  }m\  
struts.xslt.nocache +q1 @8  
      Whether or not XSLT templates should not be cached =y[eQS$  
      是否XSLT模版应该被缓存 /XtxgO\T.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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