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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t b>At*tO  
wB+X@AA  
struts.action.extension ;2}wrX  
      The URL extension to use to determine if the request is meant for a Struts action ZbfpMZ g  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l>*L Am5  
^R h`XE  
struts.configuration pB:/oHV  
      The org.apache.struts2.config.Configuration implementation class 0Z1';A3  
        org.apache.struts2.config.Configuration接口名 Id^)WEK4  
,(;]8G-Yj  
struts.configuration.files | {Tq/  
      A list of configuration files automatically loaded by Struts W4p4[&c|  
      struts自动加载的一个配置文件列表 Qpocj:  
$nqVE{ksV  
struts.configuration.xml.reload TOw;P:-  
      Whether to reload the XML configuration or not QX$3"AZ~  
      是否加载xml配置(true,false) G Q\;f  
gaWJzK Yc_  
struts.continuations.package 7-VP)|L#G  
      The package containing actions that use Rife continuations *X\J[$!  
      含有actions的完整连续的package名称 :6jh*,OHZl  
3W3)%[ 5  
struts.custom.i18n.resources f-`C1|\w  
      Location of additional localization properties files to load ] XjL""EbC  
      加载附加的国际化属性文件(不包含.properties后缀) e]*@|e4b  
U W' @3#<?  
struts.custom.properties %\] x}IC  
      Location of additional configuration properties files to load trz &]v=:  
      加载附加的配置文件的位置 |a!]Iqz"N  
`5 Iaz  
#pnB+h&tE  
struts.devMode Dg}$;PK  
      Whether Struts is in development mode or not j@.^3:  
      是否为struts开发模式 Mhu|S)hn  
&P&VJLAe  
struts.dispatcher.parametersWorkaround Sf'uKSX1%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UIC~%?oIA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q$'D}OHT  
PVaqKCj:6W  
struts.enable.DynamicMethodInvocation 5S 4 Bz  
      Allows one to disable dynamic method invocation from the URL V`m9+<.1b  
        允许动态方法调用 Kh7C7[&  
Zg$RiQ^-{J  
struts.freemarker.manager.classname \p#_D|s/Ep  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )x3p7t)#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3c+ps;nh  
Ya;y@44  
struts.i18n.encoding IG90mpLX  
      The encoding to use for localization messages oVQbc \P3  
      国际化信息内码 R!rj:f!>  
~EM(*k._  
struts.i18n.reload |#ZMZmo{  
      Whether the localization messages should automatically be reloaded 'x<o{Hi"\B  
      是否国际化信息自动加载 (W |;gQ  
.'bhRQY  
struts.locale J1Run0  
      The default locale for the Struts application @_0tq{  
      默认的国际化地区信息 Hm'aD2k  
+!mEP>  
struts.mapper.class -5Oy k,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K(#O@Wmjq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8'M:uI  
@plh'f}  
struts.multipart.maxSize M{g.x4M@W  
      The maximize size of a multipart request (file upload) zy`T! $  
      multipart请求信息的最大尺寸(文件上传用) sAS[wcOQ  
o>HU4O}  
struts.multipart.parser \V T.bUs  
      The org.apache.struts2.dispatcher.multipart. rgF4 W8  
      MultiPartRequest parser implementation for a multipart request (file upload) )]C(NTfxg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O!P7Wu  
q!{>Nlk  
nh+Hwj#(x  
struts.multipart.saveDir 8cGoo u6  
      The directory to use for storing uploaded files Ey)ey-'\  
      设置存储上传文件的目录夹 D2I|Z  
(0["|h32,  
struts.objectFactory 7Y5.GW\^  
      The com.opensymphony.xwork2.ObjectFactory implementation class :,V&P_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Jwpc8MQ  
%+oqAY m+s  
struts.objectFactory.spring.autoWire fR]KXfZ  
      Whether Spring should autoWire or not KNjU!Z/4  
      是否自动绑定Spring A<+1:@0  
!oYNJE Y7  
struts.objectFactory.spring.useClassCache =w/AJ%6  
      Whether Spring should use its class cache or not 3_"tds <L  
      是否spring应该使用自身的cache o,RiAtdk  
#, h0K  
struts.objectTypeDeterminer W3jwc{lj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c7D{^$L9 v  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7^<6|>j4  
3mhjwgP<nn  
struts.serve.static.browserCache q6}KOO)  
If static content served by the Struts filter should set browser caching header properties or not "c+$GS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }#S1!TU  
"s}Oeu[  
struts.serve.static /[!<rhY  
      Whether the Struts filter should serve static content or not g(i8HU*{q  
      是否struts过滤器应该提供静态内容 $LVzhQlD  
w?P ex]i{  
struts.tag.altSyntax  uU=!e&3  
      Whether to use the alterative syntax for the tags or not mbns%%GJU  
      是否可以用替代的语法替代tags Tj+U:#!!~  
S]NT+XM  
struts.ui.templateDir CSY-{  
      The directory containing UI templates R6TT1Ka3c  
      UI templates的目录夹 7^syu;DT9Y  
W#2} EX  
struts.ui.theme "R"{xOQl  
      The default UI template theme @w;$M]o1  
      默认的UI template主题 )iid9K<HB  
/D964VR1M\  
struts.url.http.port @9~x@[  
      The HTTP port used by Struts URLs ^6J*:(eM  
      设置http端口 *4%%^*g.I  
0rvBjlFT  
struts.url.https.port F` &W5[  
      The HTTPS port used by Struts URLs GK;IY=8W  
      设置https端口 V9jxmu F,  
%/ "yt}"|  
struts.url.includeParams L1f=90  
      The default includeParams method to generate Struts URLs x_CY`Y  
      在url中产生 默认的includeParams MRg Ozg  
O[\mPFu5  
#8~ygEa}  
struts.velocity.configfile KTBtLUH]*F  
      The Velocity configuration file path 9bhubx\^/  
      velocity配置文件路径 5H 1N]v+  
r&IDTS#  
struts.velocity.contexts UyFC\vQ  
      List of Velocity context names +d7 Arg!m  
      velocity的context列表 u%lUi2P2E  
kP'm$+1or  
p:W{c/tV  
struts.velocity.manager.classname efE=5%O  
      org.apache.struts2.views.velocity.VelocityManager implementation class !a25cm5ys  
      org.apache.struts2.views.velocity.VelocityManager接口名 \XwC|[%P  
!2>@:CKX  
struts.velocity.toolboxlocation 5{#s<%b.  
      The location of the Velocity toolbox =iH9=}aBFC  
      velocity工具盒的位置 [$td:N *  
struts.xslt.nocache +v$W$s&b-h  
      Whether or not XSLT templates should not be cached 0+u >"7T  
      是否XSLT模版应该被缓存  v7Ps-a)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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