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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y%!k'\n[2  
8{ +KNqz  
struts.action.extension G '%ZPh89  
      The URL extension to use to determine if the request is meant for a Struts action u f1s}/M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x9o(q`N  
*^iSP(dg  
struts.configuration  Xb~i?T;f  
      The org.apache.struts2.config.Configuration implementation class Elt" tJ  
        org.apache.struts2.config.Configuration接口名 9+b){W  
tmQ,>   
struts.configuration.files 6s t^-L  
      A list of configuration files automatically loaded by Struts Us\Nmso z  
      struts自动加载的一个配置文件列表 N[I ?x5:u  
uvRX{q 4  
struts.configuration.xml.reload oT!i}TW?o  
      Whether to reload the XML configuration or not 3fUiYI|&7  
      是否加载xml配置(true,false) JkEITuTth  
sD9OV6^{?K  
struts.continuations.package g^{a;=  
      The package containing actions that use Rife continuations )m I i.  
      含有actions的完整连续的package名称 l\TL=8u2c  
6n\){dkZ~  
struts.custom.i18n.resources 5~OKKSUmT  
      Location of additional localization properties files to load d/b\:[B@  
      加载附加的国际化属性文件(不包含.properties后缀) `NQ;|!  
,E8g~ZUY9  
struts.custom.properties ey$H2zmo  
      Location of additional configuration properties files to load ba)hWtenH  
      加载附加的配置文件的位置 tqpSir  
I  :8s3;  
/A-VT  
struts.devMode P\h1%a/D  
      Whether Struts is in development mode or not k_nQmU>  
      是否为struts开发模式 7e[&hea  
RJ-J/NhWyI  
struts.dispatcher.parametersWorkaround jw)c|%r>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `*xSn+wL`_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ky'G/ z  
BO+t o.  
struts.enable.DynamicMethodInvocation S rhBU6K  
      Allows one to disable dynamic method invocation from the URL NAO0b5-h  
        允许动态方法调用 +1a2Un  
5'[yw:P-8  
struts.freemarker.manager.classname )1g\v8XT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $,o@&QT?AT  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 v <m=g!  
sRQ4pnnrn  
struts.i18n.encoding +.v+Opp,  
      The encoding to use for localization messages Pk6_1LV  
      国际化信息内码 Q6p75$SVq  
R8Dn GR  
struts.i18n.reload 0S\HO<~k  
      Whether the localization messages should automatically be reloaded ) >N=B2P  
      是否国际化信息自动加载 ([A%>u>h  
YpvFv-  
struts.locale /PpZ6ne~ [  
      The default locale for the Struts application >ktekO:H  
      默认的国际化地区信息 6ZQ$5PY  
D77$aCt  
struts.mapper.class bR J]avR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^vZu[ m  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (hIe!"s *  
aN';_tGvK  
struts.multipart.maxSize lr[&*v?h  
      The maximize size of a multipart request (file upload) gu1n0N`b  
      multipart请求信息的最大尺寸(文件上传用) (\4YBaGd  
\*#E4`Y  
struts.multipart.parser ]{AHKyA{:  
      The org.apache.struts2.dispatcher.multipart. ~7H?tp.Dw  
      MultiPartRequest parser implementation for a multipart request (file upload) y(j vl|z[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GXR7Ug}k  
\,G19o}`Es  
LbnF8tj}h  
struts.multipart.saveDir fK{Z{)D  
      The directory to use for storing uploaded files b{,vZhP-  
      设置存储上传文件的目录夹 j?(@x>HA  
.p'\@@o5  
struts.objectFactory -];Hb'M.!e  
      The com.opensymphony.xwork2.ObjectFactory implementation class h: zi8;(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) E6xWo)`%5s  
hOe$h,E']  
struts.objectFactory.spring.autoWire qX]ej 2  
      Whether Spring should autoWire or not _<jccQ  
      是否自动绑定Spring Mvk#$:8e  
%p};Di[V  
struts.objectFactory.spring.useClassCache T_qh_L3  
      Whether Spring should use its class cache or not u73/#!(1=H  
      是否spring应该使用自身的cache V6b)  
Yt;@ @xe&  
struts.objectTypeDeterminer mZ.E;X& ,*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !< ^`Sx/+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |RI77b:pX  
7T?7KS  
struts.serve.static.browserCache P#2;1ki>  
If static content served by the Struts filter should set browser caching header properties or not X6oY-4O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =@k 3*#\  
6K5KkEp  
struts.serve.static _LLE~nUK"/  
      Whether the Struts filter should serve static content or not yF1^/y!@  
      是否struts过滤器应该提供静态内容 |bmc6G[  
_aOsFFB1KF  
struts.tag.altSyntax u_S>`I  
      Whether to use the alterative syntax for the tags or not 3M{b:|3/q  
      是否可以用替代的语法替代tags Y0nuwX*{  
(<#Ns W!z  
struts.ui.templateDir I`}x9t  
      The directory containing UI templates ~wd~57i@  
      UI templates的目录夹 R(HW0@R@w  
po+ 1  
struts.ui.theme |y2cI,&   
      The default UI template theme !n5s/"'H  
      默认的UI template主题 wq3V&@.  
0'Qo eFKG  
struts.url.http.port 2 Xc,c*r  
      The HTTP port used by Struts URLs i{ 2rQy+  
      设置http端口 ++0xa%:  
l7GLN1#m  
struts.url.https.port ^i~'aq  
      The HTTPS port used by Struts URLs (9D,Ukw  
      设置https端口 3yIC@>&y(8  
,6a }l;lv  
struts.url.includeParams d*<goBd  
      The default includeParams method to generate Struts URLs U_e e3KKA  
      在url中产生 默认的includeParams p%*! ]JRS  
7 m!e\x8  
Hy1f,D  
struts.velocity.configfile ACxjY2  
      The Velocity configuration file path \6v*c;ZF  
      velocity配置文件路径 ]i pltR7k  
GGn/J&k  
struts.velocity.contexts 9!|.b::  
      List of Velocity context names -\=kd {*B  
      velocity的context列表 pn2_ {8.  
ek4?|!kQD  
eVy\)dCsU  
struts.velocity.manager.classname ?HaUT(\j  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z=P=oldH  
      org.apache.struts2.views.velocity.VelocityManager接口名 lr@H4EJ{  
dNcP_l/A  
struts.velocity.toolboxlocation Oo 95\Yf$N  
      The location of the Velocity toolbox Nh|QYxOP  
      velocity工具盒的位置 6995r%  
struts.xslt.nocache `=f1rXhI+1  
      Whether or not XSLT templates should not be cached '|N9xL m  
      是否XSLT模版应该被缓存 #$9rH 2zd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八