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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 o OQ'*7_  
vmLpm xS  
struts.action.extension Vu%n&uF  
      The URL extension to use to determine if the request is meant for a Struts action 5} G:D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z" EWj73  
5\xr?`VZ  
struts.configuration H$Kw=kMw  
      The org.apache.struts2.config.Configuration implementation class C!5I?z&  
        org.apache.struts2.config.Configuration接口名 MF^_Z3GS'  
[z2eCH  
struts.configuration.files S!`:E  
      A list of configuration files automatically loaded by Struts Xo\S9,s{  
      struts自动加载的一个配置文件列表 eSn$k:\W  
VtWT{y5Ec  
struts.configuration.xml.reload 9)Ly}Kzx  
      Whether to reload the XML configuration or not R#ya,L  
      是否加载xml配置(true,false) YtpRy% R  
2[ksi51y  
struts.continuations.package NZ+7p{&AN  
      The package containing actions that use Rife continuations Y([d;_#P  
      含有actions的完整连续的package名称 Ev{MCu1!6  
hXc}r6<B  
struts.custom.i18n.resources $~G@   
      Location of additional localization properties files to load }3J=DCtS  
      加载附加的国际化属性文件(不包含.properties后缀) eIJ[0c b}  
|kc@L`7s  
struts.custom.properties Y.NE^Vn0  
      Location of additional configuration properties files to load 6A?8tm/0  
      加载附加的配置文件的位置 F\-Si!~oOz  
lov%V*tL  
hl<y4y&|  
struts.devMode r%|A$=[Q  
      Whether Struts is in development mode or not xG1?F_]  
      是否为struts开发模式 `c9'0*-  
M$H`^Pv  
struts.dispatcher.parametersWorkaround cJ2PI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jM@?<1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) V'I T1~  
!3V{2-y$-  
struts.enable.DynamicMethodInvocation l|q%%W0  
      Allows one to disable dynamic method invocation from the URL Pj&A=  
        允许动态方法调用 [~)x<=H8{  
^BiP LQ  
struts.freemarker.manager.classname GyK(Vb"h6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q/x/N5HU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~)?|J  
nmg{%P  
struts.i18n.encoding K{2h9 ]VF  
      The encoding to use for localization messages 0m A(:"  
      国际化信息内码 , D"]y~~I5  
WqQU@sA  
struts.i18n.reload #w|5 jN?  
      Whether the localization messages should automatically be reloaded dlR_ckp  
      是否国际化信息自动加载 }LQC.!  
qnXTNs ?b  
struts.locale |IN[uQ  
      The default locale for the Struts application n}q$f|4!  
      默认的国际化地区信息 AG>\aV"b  
uY]0dyI  
struts.mapper.class |'$ l7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?oKL &I@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ve fU'  
n"Z |e tZ4  
struts.multipart.maxSize Y{+3}drJE  
      The maximize size of a multipart request (file upload) *)D1!R<\,R  
      multipart请求信息的最大尺寸(文件上传用) ?Oc -aa  
kP^*h O!%  
struts.multipart.parser CmHyAw(  
      The org.apache.struts2.dispatcher.multipart. w.^yP7:  
      MultiPartRequest parser implementation for a multipart request (file upload) +?AW>&68y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ``4?a7!!  
p9iu:MucD<  
V;;#/$oU:4  
struts.multipart.saveDir N}mh}  
      The directory to use for storing uploaded files w & P&7  
      设置存储上传文件的目录夹 ]\dHU.i  
NzlAC  
struts.objectFactory Ao"C<.gUYP  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2y%R:Mu  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]r959+\$  
Dr+Ps  
struts.objectFactory.spring.autoWire n NQ-"t  
      Whether Spring should autoWire or not ShGp^xVj  
      是否自动绑定Spring g "*;nHI D  
YlKFw|=  
struts.objectFactory.spring.useClassCache  KGT3|)QN  
      Whether Spring should use its class cache or not T 1zi0fa'  
      是否spring应该使用自身的cache K<RqBecB  
x0<^<D&Q  
struts.objectTypeDeterminer 0T9. M(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class " " %#cDR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LGVlc@0'  
W.[BPR  
struts.serve.static.browserCache ArXl=s';s4  
If static content served by the Struts filter should set browser caching header properties or not ti2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V.VJcx  
!*vBW/  
struts.serve.static vD26;S.y[a  
      Whether the Struts filter should serve static content or not X"<|Z]w  
      是否struts过滤器应该提供静态内容 {[^#h|U  
Ep ">v>"  
struts.tag.altSyntax d.r Y-k  
      Whether to use the alterative syntax for the tags or not {7X~!e|w  
      是否可以用替代的语法替代tags a+ GJVJ  
doLNz4W  
struts.ui.templateDir wW5Yw i  
      The directory containing UI templates y6%<zhs  
      UI templates的目录夹 #PFO]j!_b  
D^?_"wjW  
struts.ui.theme Pa&4)OD  
      The default UI template theme u)~s4tP4  
      默认的UI template主题 1<,/ -H  
lT,+bU  
struts.url.http.port >r}Vf9 5[N  
      The HTTP port used by Struts URLs mH\@QdF  
      设置http端口 BS2?!;,8  
Oy$<QXj/  
struts.url.https.port S(t{&+Wc  
      The HTTPS port used by Struts URLs +tU Q  
      设置https端口 2f..sNz  
9XOyj5  
struts.url.includeParams z<<Tk.65  
      The default includeParams method to generate Struts URLs Gru ALx7  
      在url中产生 默认的includeParams c;!9\1sr  
_yVPpA[a  
4f {+pf^R  
struts.velocity.configfile $E.XOpl&I  
      The Velocity configuration file path e{!vNJ0`  
      velocity配置文件路径 ])N%^Qe$U  
=DMbz`t  
struts.velocity.contexts 28oJFi]  
      List of Velocity context names MZ~.(&  
      velocity的context列表 ug&92Hdvy3  
ny1 \4C  
8R4qU!M  
struts.velocity.manager.classname Sk=N [hwU  
      org.apache.struts2.views.velocity.VelocityManager implementation class p+<}Y DMb  
      org.apache.struts2.views.velocity.VelocityManager接口名 K\^&+7&zVg  
ipZHSA  
struts.velocity.toolboxlocation 9,WG!4:+W  
      The location of the Velocity toolbox .$wLLE^*  
      velocity工具盒的位置 aU(tu2  
struts.xslt.nocache H.~bD[gA  
      Whether or not XSLT templates should not be cached 3_zSp.E\l  
      是否XSLT模版应该被缓存 D9o*8h2$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八