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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X6",Xr! {  
_CfJKp)  
struts.action.extension DzQ  
      The URL extension to use to determine if the request is meant for a Struts action l#`G4Vf  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #f YB4.i~  
tc<uS%XT4^  
struts.configuration T N1pg  
      The org.apache.struts2.config.Configuration implementation class N0.|Mb"?t  
        org.apache.struts2.config.Configuration接口名 E5$]0#jB  
?3p7MjvZ  
struts.configuration.files ;AE-=/<  
      A list of configuration files automatically loaded by Struts 4(|yl^w  
      struts自动加载的一个配置文件列表 nYFrp)DLK  
wD=]U@t`,  
struts.configuration.xml.reload ! 5NuFLOf  
      Whether to reload the XML configuration or not >mai v;  
      是否加载xml配置(true,false) <S041KF.{6  
*8WB($T}  
struts.continuations.package |1RVm?~i  
      The package containing actions that use Rife continuations LP=j/qf|  
      含有actions的完整连续的package名称 d 8DU[p  
](A2,F 9(U  
struts.custom.i18n.resources Y}1c>5{bE  
      Location of additional localization properties files to load ;4[[T%&v  
      加载附加的国际化属性文件(不包含.properties后缀) }!AS?  
5,pNqXRp  
struts.custom.properties l6y}>]  
      Location of additional configuration properties files to load z -!w/Bv@  
      加载附加的配置文件的位置 Aeb(b+=  
b:D92pH  
IQRuqp KL  
struts.devMode qyv=ot0"~F  
      Whether Struts is in development mode or not B*,)@h  
      是否为struts开发模式 0Gc@AG{  
2S{P(B   
struts.dispatcher.parametersWorkaround K5jt(7i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NS~;{d \  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DK\XC%~m  
\xj;{xc  
struts.enable.DynamicMethodInvocation ,-4NSli  
      Allows one to disable dynamic method invocation from the URL F5Z,Jmi^M  
        允许动态方法调用 H*'1bLzq  
iCE!TmDT  
struts.freemarker.manager.classname >%k6k1CZ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  k~ ^4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MQQm3VaKS  
]x r0]  
struts.i18n.encoding W&IG,7tr  
      The encoding to use for localization messages W n'a'  
      国际化信息内码 {aUnOyX_  
[mA-sl]  
struts.i18n.reload y%SxQA +\  
      Whether the localization messages should automatically be reloaded MLu!8dgI  
      是否国际化信息自动加载 d_,5;M^k  
>ESVHPj]  
struts.locale #*'Qm  A  
      The default locale for the Struts application Dz(\ ?  
      默认的国际化地区信息 (4T0U5jgT  
5e /YEDP  
struts.mapper.class (-21h0N[V  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .9r YBy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4|=>gdW)KN  
?vFy3  
struts.multipart.maxSize 9%"7~YCDas  
      The maximize size of a multipart request (file upload) U`%t&7)  
      multipart请求信息的最大尺寸(文件上传用) LE\=Y;%  
->8Kd1^F  
struts.multipart.parser "XR=P> xk  
      The org.apache.struts2.dispatcher.multipart. wlT8|  
      MultiPartRequest parser implementation for a multipart request (file upload) STp9Gh-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RpQeQM=  
vR!+ 8sy$  
JaCX}[R  
struts.multipart.saveDir m&:&z7^p  
      The directory to use for storing uploaded files SM2Lbfp!u  
      设置存储上传文件的目录夹 mGjB{Q+  
*M1GVhW(+  
struts.objectFactory :V(LBH0  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0O9b 7F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~5f&<,p!  
\8`7E1d  
struts.objectFactory.spring.autoWire >>y`ap2%V  
      Whether Spring should autoWire or not i6WH^IQM  
      是否自动绑定Spring n m-  
2.D2 o  
struts.objectFactory.spring.useClassCache wq$$. .E  
      Whether Spring should use its class cache or not tk&AZb,sP  
      是否spring应该使用自身的cache ;xZ+1 zmL0  
_MBhwNBxZ  
struts.objectTypeDeterminer hOY@vm&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >}+{;d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fg^AEn1i  
#ibwD:{  
struts.serve.static.browserCache fp)SZu_*  
If static content served by the Struts filter should set browser caching header properties or not  ]n!V  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2n:<F9^"  
T/_u;My;  
struts.serve.static =AIFu\9#a`  
      Whether the Struts filter should serve static content or not Q K]P=pE'C  
      是否struts过滤器应该提供静态内容 i]v3CY|3AI  
ye^x>a['  
struts.tag.altSyntax YThVG0I =  
      Whether to use the alterative syntax for the tags or not W,xdj!^t  
      是否可以用替代的语法替代tags sbW+vc  
oY)eN?c  
struts.ui.templateDir o,*m,Qc  
      The directory containing UI templates ?zW'Hi  
      UI templates的目录夹 A2|Bbqd  
KD kGQh#9  
struts.ui.theme V<QpC5  
      The default UI template theme ~}.C*;J  
      默认的UI template主题 )|~&(+Q?]  
}r: "X<`  
struts.url.http.port B\J[O5},  
      The HTTP port used by Struts URLs + [w 0;W_  
      设置http端口 6}^x#9\  
sL$sj|"S  
struts.url.https.port .U!EA0B  
      The HTTPS port used by Struts URLs =Z\q``RBy  
      设置https端口 6] x6FeuS  
T lXS}5^  
struts.url.includeParams C4mkt2Eb0a  
      The default includeParams method to generate Struts URLs yu;EL>G_AY  
      在url中产生 默认的includeParams [V'c  
)Te\6qM  
JtFq/&{i  
struts.velocity.configfile Y&6jFT_  
      The Velocity configuration file path {7:1F)Pj  
      velocity配置文件路径 7{#p'.nc5  
b~gq8,Fatb  
struts.velocity.contexts q8{Bx03m6  
      List of Velocity context names j1_>>xB  
      velocity的context列表 ,} t%7I  
.I`>F/Sjr  
O*u   
struts.velocity.manager.classname %J*1F  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q9bnOvKe|  
      org.apache.struts2.views.velocity.VelocityManager接口名 8{>|%M  
T9yI%;D  
struts.velocity.toolboxlocation )G2Bx+Z;L  
      The location of the Velocity toolbox Ne u$SP  
      velocity工具盒的位置 -'&l!23a~  
struts.xslt.nocache XJ7B?Z g  
      Whether or not XSLT templates should not be cached OxJ HhF  
      是否XSLT模版应该被缓存 o,i_py  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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