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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .@(MNq{"6  
aj+I+r"~  
struts.action.extension wu0J XB%&^  
      The URL extension to use to determine if the request is meant for a Struts action &)Wm rF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z;U\h2TY  
BGB.SN#q+  
struts.configuration 9&c *%mm  
      The org.apache.struts2.config.Configuration implementation class P>6wr\9i[  
        org.apache.struts2.config.Configuration接口名 K0^+2lx  
%]DJ-7 xE  
struts.configuration.files d cht8nX7~  
      A list of configuration files automatically loaded by Struts %c c<>Hi  
      struts自动加载的一个配置文件列表 wd:SBU~f5*  
vP<8 ,XG  
struts.configuration.xml.reload >>7m'-k%D  
      Whether to reload the XML configuration or not q|;+Wp?  
      是否加载xml配置(true,false) 5[qx5|O  
4s&koH(x  
struts.continuations.package `4]-B@ 7_  
      The package containing actions that use Rife continuations 5#? HL  
      含有actions的完整连续的package名称 ~f2-%~  
YsjTC$Tx,  
struts.custom.i18n.resources wmv/ ?g  
      Location of additional localization properties files to load WAw} ?&k  
      加载附加的国际化属性文件(不包含.properties后缀) {u7_<G7  
[\i1I`7pE  
struts.custom.properties [k +fkr]  
      Location of additional configuration properties files to load T8QRO%t  
      加载附加的配置文件的位置 :'dH)yO  
Y6%O9b  
zI>,A|yy  
struts.devMode CI?M2\<g  
      Whether Struts is in development mode or not 8>^O]5Wo`X  
      是否为struts开发模式 _Ai\XS Am  
2ap0/l[  
struts.dispatcher.parametersWorkaround 7+p=4i^@Zs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h "r)z6Q/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) EEp,Z`  
'r`-J4icX  
struts.enable.DynamicMethodInvocation tTrue?  
      Allows one to disable dynamic method invocation from the URL Q_R&+@ju  
        允许动态方法调用 (OK;*ZH+T@  
G0h7MO%x  
struts.freemarker.manager.classname i%_nH"h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n47v5.Wn  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  #`2*V  
FZtIC77X5  
struts.i18n.encoding \.dvRI'  
      The encoding to use for localization messages bxg9T(Bj  
      国际化信息内码 {Uu|NA87Cd  
ddjaM/.E  
struts.i18n.reload F0FF:><  
      Whether the localization messages should automatically be reloaded Hq$?-%4  
      是否国际化信息自动加载 H]W59-{a  
kO\aNtK  
struts.locale ,NaNih1  
      The default locale for the Struts application ny~~xQ"  
      默认的国际化地区信息 aTY\mKk  
?g'? Ou  
struts.mapper.class *9Nq^+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Yf(QU`w_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6ax|EMw  
X}3o  
struts.multipart.maxSize oW/ #/;|`  
      The maximize size of a multipart request (file upload) J4ltHk.|  
      multipart请求信息的最大尺寸(文件上传用) |P]>[}mD  
+lqX;*a=N  
struts.multipart.parser {^ ^)bf|1'  
      The org.apache.struts2.dispatcher.multipart. @ (A[H^E  
      MultiPartRequest parser implementation for a multipart request (file upload) S2fBZ=V8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5eW GX  
}%9A+w}o  
Lm}:`  
struts.multipart.saveDir RI_3X5.KQ  
      The directory to use for storing uploaded files WY%'ps _]<  
      设置存储上传文件的目录夹 =sW(2Im  
] T! >]  
struts.objectFactory $/Q*@4t  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7.l[tKh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jsG epi9  
"V;M,/Q|  
struts.objectFactory.spring.autoWire H?>R#Ds-  
      Whether Spring should autoWire or not <OEu 4,~:  
      是否自动绑定Spring ?8Hr 9  
.qCD(XZ+  
struts.objectFactory.spring.useClassCache ^J]~&.l  
      Whether Spring should use its class cache or not 1yN/+Rq  
      是否spring应该使用自身的cache I vQ]-A}N  
=X11x)]F9  
struts.objectTypeDeterminer Rs cU=oaKi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \Z^YaKj&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q_F8u!qrZ  
V4 PD]5ZW  
struts.serve.static.browserCache aD@sb o  
If static content served by the Struts filter should set browser caching header properties or not -P<e-V%<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PSQ5/l?\>  
Tn qspS2;R  
struts.serve.static Hinz6k6!  
      Whether the Struts filter should serve static content or not qffXm `k  
      是否struts过滤器应该提供静态内容 8I'c83w  
w#5^A(NR  
struts.tag.altSyntax t .&YD x  
      Whether to use the alterative syntax for the tags or not RS~jHwIh  
      是否可以用替代的语法替代tags iii2nmiK  
q(J3fjY)  
struts.ui.templateDir 39QAj&  
      The directory containing UI templates C0X_t  
      UI templates的目录夹 _kb $S  
.ns1;8  
struts.ui.theme >c>f6  
      The default UI template theme hp]T^  
      默认的UI template主题 Z`23z( +  
54w..8'  
struts.url.http.port wYJ.F  
      The HTTP port used by Struts URLs mh"&KX86W  
      设置http端口 lmZ Ssx  
FaC;vuSpy  
struts.url.https.port /,z4tf  
      The HTTPS port used by Struts URLs R*D0A@  
      设置https端口 61q:nWs  
g jJ?*N[  
struts.url.includeParams \4`~ J@5Y  
      The default includeParams method to generate Struts URLs d([NU;  
      在url中产生 默认的includeParams 8=H!&+aGh  
0S0 ?\r  
JZP>`c21y]  
struts.velocity.configfile 9GuG"^08  
      The Velocity configuration file path hGx)X64Mw  
      velocity配置文件路径 Lc!% 3,#.  
G_{x)@  
struts.velocity.contexts oq4*m[  
      List of Velocity context names |~Hlv^6H  
      velocity的context列表 w^?uBeqR  
|"vUC/R2&  
N246RV1W  
struts.velocity.manager.classname xZ} 1dq8  
      org.apache.struts2.views.velocity.VelocityManager implementation class j^}p'w Tu{  
      org.apache.struts2.views.velocity.VelocityManager接口名 yT<yy>J9l#  
jemg#GB8  
struts.velocity.toolboxlocation e.%` tK3J  
      The location of the Velocity toolbox K%ltB&  
      velocity工具盒的位置 o[W7'1O  
struts.xslt.nocache vd>X4e ^j  
      Whether or not XSLT templates should not be cached ^<#08L;  
      是否XSLT模版应该被缓存 _ 6"!y ]Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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