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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8 Ys DE_  
ilHZx2 k  
struts.action.extension w/#k.YE  
      The URL extension to use to determine if the request is meant for a Struts action 0ERA(=w5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZG"_M@S.  
GMyzQ]@}  
struts.configuration &82Za%  
      The org.apache.struts2.config.Configuration implementation class 7X*$Fu<  
        org.apache.struts2.config.Configuration接口名 ?I6!m~  
6=0"3%jn@  
struts.configuration.files <!Ed ND=  
      A list of configuration files automatically loaded by Struts V)mitRaV  
      struts自动加载的一个配置文件列表 buu~#m 1z  
bj=kqO;*O  
struts.configuration.xml.reload 9@/ X;zO  
      Whether to reload the XML configuration or not Lk9X>`b#B  
      是否加载xml配置(true,false) pX `BDYg.  
YzNSZJPD  
struts.continuations.package -<h4I aM  
      The package containing actions that use Rife continuations Nk*d=vj  
      含有actions的完整连续的package名称 Zn0e#n  
XEl-5-M"  
struts.custom.i18n.resources  Wa7-N4  
      Location of additional localization properties files to load la+RK  
      加载附加的国际化属性文件(不包含.properties后缀) 589hfET  
Y@B0.5U2  
struts.custom.properties G<:_O-cPSv  
      Location of additional configuration properties files to load wr I66R}@  
      加载附加的配置文件的位置 @)k/t>r(  
9K,PT.c  
yK9:LXhf  
struts.devMode +?y ', Ir  
      Whether Struts is in development mode or not /6",#B}%b  
      是否为struts开发模式 XT+V> H I  
.Nt;J,U  
struts.dispatcher.parametersWorkaround n.is+2t  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?TTtGbvU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o?5m^S14[1  
^m pWQ`R  
struts.enable.DynamicMethodInvocation _[F(8Q x"  
      Allows one to disable dynamic method invocation from the URL o_ng{SL  
        允许动态方法调用 ISa}Km>Q  
Sq22]  
struts.freemarker.manager.classname pY.R?\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [~_)]"pU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D]tI's1  
kA/4W^]Ws  
struts.i18n.encoding }Um,wY[tK  
      The encoding to use for localization messages oD<aWZ"Z  
      国际化信息内码 qh9d .Q+n  
z H|YVg  
struts.i18n.reload D *=.;Rq  
      Whether the localization messages should automatically be reloaded nIZ;N!r=i  
      是否国际化信息自动加载 xu%_Zt2/?j  
~dXiyU,y2  
struts.locale rF?gKk  
      The default locale for the Struts application okm }%#|  
      默认的国际化地区信息 wF=?EK(;P{  
l6_dVK;s  
struts.mapper.class 6+ UTEw;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <S ae:m4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CKE):kHu  
gUr #3#  
struts.multipart.maxSize NI  r"i2  
      The maximize size of a multipart request (file upload) $ U=j<^R}a  
      multipart请求信息的最大尺寸(文件上传用) 3s\}|LqX#  
po9f[/s'+o  
struts.multipart.parser ;{lb_du2:  
      The org.apache.struts2.dispatcher.multipart. >\?RYy,s$  
      MultiPartRequest parser implementation for a multipart request (file upload) F5y0(=$T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gCV+amP  
eC{St0  
-xXdT$Xd  
struts.multipart.saveDir KPjC<9sby  
      The directory to use for storing uploaded files 0fJz[;dV>n  
      设置存储上传文件的目录夹 {h*)|J  
XjXz#0nR  
struts.objectFactory J ?0P{{  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'pnOHT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) XEBeoOX/  
&#zx/$  
struts.objectFactory.spring.autoWire yGY:EvH^?  
      Whether Spring should autoWire or not "c.@4#/_  
      是否自动绑定Spring h_HPmh5  
}  fa  
struts.objectFactory.spring.useClassCache D"msD"  
      Whether Spring should use its class cache or not [*J?TNk  
      是否spring应该使用自身的cache fHODS9HQ  
0qq>(K[  
struts.objectTypeDeterminer B[IWgvB(e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class oj/#wF+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |%oI,d=ycv  
=w!2R QB  
struts.serve.static.browserCache G<-<>)zO!  
If static content served by the Struts filter should set browser caching header properties or not |It&1fz}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &+0?Xip{Z  
%'uei4   
struts.serve.static a/</P |UG  
      Whether the Struts filter should serve static content or not ?AO22N|j  
      是否struts过滤器应该提供静态内容 *xjP^y":  
;X;(7  
struts.tag.altSyntax 6zi 5#23  
      Whether to use the alterative syntax for the tags or not \.'[!GE*c  
      是否可以用替代的语法替代tags o%!s/Z1  
^T*!~K8A  
struts.ui.templateDir ,D'm#Fti  
      The directory containing UI templates S,EL=3},=  
      UI templates的目录夹 t3AmXx  
UxxX8N  
struts.ui.theme jgiS/oW  
      The default UI template theme )PkW,214#  
      默认的UI template主题 ;b (ww{&  
CH#K0hi  
struts.url.http.port .4ZOm'ko{  
      The HTTP port used by Struts URLs mo+!79&  
      设置http端口 bU[_YuJbM  
JVGTmS[3  
struts.url.https.port N/'8W9#6  
      The HTTPS port used by Struts URLs + MD84YR  
      设置https端口 !9{UBAh  
KnKf8c  
struts.url.includeParams G[*z,2Kb>  
      The default includeParams method to generate Struts URLs QJ(5o7Tfn  
      在url中产生 默认的includeParams Nw*F1*v`  
tJ7F.}\;C  
, @!X! L  
struts.velocity.configfile xHqF_10S#  
      The Velocity configuration file path 9]{va"pe7  
      velocity配置文件路径 `*elzW  
R(*t 1R\  
struts.velocity.contexts TtF+~K  
      List of Velocity context names ]Y-Y.&b7t  
      velocity的context列表 Alo L+eN@  
*u:,@io7'G  
q 7 <d|s  
struts.velocity.manager.classname {F2Rv  
      org.apache.struts2.views.velocity.VelocityManager implementation class Te[v+jgLY,  
      org.apache.struts2.views.velocity.VelocityManager接口名 }6BXa  
iE}] E  
struts.velocity.toolboxlocation fm@Pa} ,  
      The location of the Velocity toolbox |d&C<O;f  
      velocity工具盒的位置 <R+?>kz6  
struts.xslt.nocache 8zpzVizDG  
      Whether or not XSLT templates should not be cached ^EKRbPA9:<  
      是否XSLT模版应该被缓存 [\#ANA"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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