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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _ (b4|hJ'  
=)y$&Ydj  
struts.action.extension  mTH[*Y,  
      The URL extension to use to determine if the request is meant for a Struts action 70avr)OM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Cdl"TZ<  
jGLmgJG-P  
struts.configuration 6 w!qZ4$  
      The org.apache.struts2.config.Configuration implementation class ="T}mc  
        org.apache.struts2.config.Configuration接口名 -)J*(7F(6^  
';eAaDM  
struts.configuration.files .dzw5R&  
      A list of configuration files automatically loaded by Struts 5@.8O VPz  
      struts自动加载的一个配置文件列表 nILUo2e~  
6+sz4  
struts.configuration.xml.reload R]od/u/$  
      Whether to reload the XML configuration or not v2|zIZ  
      是否加载xml配置(true,false) 1q'_J?Xmd  
s,-<P1}/  
struts.continuations.package VIWH~UR)&!  
      The package containing actions that use Rife continuations ~DLxIe  
      含有actions的完整连续的package名称 r(]Gd`]  
U;&s=M0[  
struts.custom.i18n.resources 34k(:]56|  
      Location of additional localization properties files to load rDaiA x&  
      加载附加的国际化属性文件(不包含.properties后缀) j.Y!E<e4]  
O0^Y1l  
struts.custom.properties 1|*%  
      Location of additional configuration properties files to load  t":^:i'M  
      加载附加的配置文件的位置 [9EL[}  
fpNq  
2wU,k(F_  
struts.devMode }`whg8 fZ  
      Whether Struts is in development mode or not 'o]}vyz;  
      是否为struts开发模式 l7ES*==&@0  
cmf*BkS  
struts.dispatcher.parametersWorkaround O,@QGUoA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F[ ^ p~u{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *[nS*D\:  
<c`,fd8  
struts.enable.DynamicMethodInvocation _z^&zuO  
      Allows one to disable dynamic method invocation from the URL ^CwS'/fdN  
        允许动态方法调用  Z1H  
=w7k@[Bq  
struts.freemarker.manager.classname >taT V_,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R{4[.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 wj$3 L3  
g[2[ zIB=  
struts.i18n.encoding "=f,4Zbj  
      The encoding to use for localization messages gO~>*q &  
      国际化信息内码 ohXbA9&(x  
:)_P7k`>e/  
struts.i18n.reload Sr10ot&ox  
      Whether the localization messages should automatically be reloaded @ceL9#:uc  
      是否国际化信息自动加载 VjSbx'i  
D5T0o"A  
struts.locale ^sZHy4-yK#  
      The default locale for the Struts application /4BYH?*  
      默认的国际化地区信息 %'F[(VB   
Se/]J<]  
struts.mapper.class !Je!;mEvI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M>Ws}Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xs  >Y  
h" YA>_1  
struts.multipart.maxSize b#e|#!Je  
      The maximize size of a multipart request (file upload) @(st![i+  
      multipart请求信息的最大尺寸(文件上传用) Q!Dr3x  
Izfj 9h ?  
struts.multipart.parser 53 ^1;  
      The org.apache.struts2.dispatcher.multipart. AQBr{^inH|  
      MultiPartRequest parser implementation for a multipart request (file upload) /i~n**HeF?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +fF4]WF P  
h8SK8sK<  
l&Fx< W  
struts.multipart.saveDir ~i@Z4t j7  
      The directory to use for storing uploaded files (P:.@P~  
      设置存储上传文件的目录夹 Jxb+NPUB  
'UCF2 L  
struts.objectFactory )vur$RX  
      The com.opensymphony.xwork2.ObjectFactory implementation class wmv/ ?g  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Vzrp9&loY  
vn5]+-I  
struts.objectFactory.spring.autoWire ! F&{I  
      Whether Spring should autoWire or not d 7QWK(d  
      是否自动绑定Spring n;dp%SD  
NE$=R"<Gv  
struts.objectFactory.spring.useClassCache 7^8<[8  
      Whether Spring should use its class cache or not -,xsUw4  
      是否spring应该使用自身的cache My >{;n=}  
W^nG\"T^  
struts.objectTypeDeterminer 0Z[8d0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;(Qm<JAa  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0j~C6 vp  
_EZrZB  
struts.serve.static.browserCache b~;+E#[*  
If static content served by the Struts filter should set browser caching header properties or not a U*cwR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Yyh X%S%  
?< $DQ%bf  
struts.serve.static ^$O,Gy)V  
      Whether the Struts filter should serve static content or not HQ8;d9cGir  
      是否struts过滤器应该提供静态内容  Et0;1  
 #`2*V  
struts.tag.altSyntax +l$BUX  
      Whether to use the alterative syntax for the tags or not ;,]Wtmu)7  
      是否可以用替代的语法替代tags ~); 7D'[  
;i&'va$  
struts.ui.templateDir Zz04Pz1  
      The directory containing UI templates Qjh @oWT  
      UI templates的目录夹 A[oxG;9xi  
E^jb#9\R  
struts.ui.theme X6@G)68  
      The default UI template theme Ik|nL#JH]  
      默认的UI template主题 E>SLR8!C v  
ugt|'i  
struts.url.http.port wN!5[N"  
      The HTTP port used by Struts URLs "Tm`V9  
      设置http端口 rOy-6og  
Xn3Ph!\Z5e  
struts.url.https.port gg%OOvaj5  
      The HTTPS port used by Struts URLs O}#h^AU-BS  
      设置https端口 f~? MNJ2  
4h~o>(Sq  
struts.url.includeParams O9W|&LAL  
      The default includeParams method to generate Struts URLs m;nT ?kv  
      在url中产生 默认的includeParams `H6kC$^Ofx  
vJfex,#lv  
t1YVE%`w  
struts.velocity.configfile VS\~t  
      The Velocity configuration file path qMe$Qr8  
      velocity配置文件路径 9rmOf Jo:  
oUBn:Ir@  
struts.velocity.contexts $/Q*@4t  
      List of Velocity context names <J QvuC  
      velocity的context列表 jsG epi9  
"V;M,/Q|  
H?>R#Ds-  
struts.velocity.manager.classname !7-dqw%l  
      org.apache.struts2.views.velocity.VelocityManager implementation class w+~s}ta2^  
      org.apache.struts2.views.velocity.VelocityManager接口名 %A dE5HI-  
R"=pAO.4l  
struts.velocity.toolboxlocation ^i^/d#  
      The location of the Velocity toolbox 0Y9\,y_  
      velocity工具盒的位置 LMrb 1lg$  
struts.xslt.nocache X)|b_3Z  
      Whether or not XSLT templates should not be cached  u m[nz  
      是否XSLT模版应该被缓存 aD@sb o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八