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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9u2Mra  
A(dWA e,  
struts.action.extension C. rLog#  
      The URL extension to use to determine if the request is meant for a Struts action 5(V'<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t3b64J[A{  
="=Aac#n`  
struts.configuration Jx(`.*$  
      The org.apache.struts2.config.Configuration implementation class dX8N7{"[  
        org.apache.struts2.config.Configuration接口名 m\O|BMHn  
9u&q{I  
struts.configuration.files 1y)|m63&  
      A list of configuration files automatically loaded by Struts $&l} ABn  
      struts自动加载的一个配置文件列表 !W3bHy:C"  
3+` <2TP  
struts.configuration.xml.reload E"{2R>mU~  
      Whether to reload the XML configuration or not JDA:)[;  
      是否加载xml配置(true,false) Yo$NE  
; M%n=+[O  
struts.continuations.package 7[}K 2.W.  
      The package containing actions that use Rife continuations !f^'-  
      含有actions的完整连续的package名称 43p0k&;-7  
RO10$1IW.2  
struts.custom.i18n.resources /^F$cQX(  
      Location of additional localization properties files to load A,4|UA?-  
      加载附加的国际化属性文件(不包含.properties后缀) =5QP'Qt{O  
zld[uhc>  
struts.custom.properties DL:wiQ  
      Location of additional configuration properties files to load $%ts#56*  
      加载附加的配置文件的位置 "\]NOA*  
OB{d^e}  
ZI8*PX%2  
struts.devMode 7Y>17=|  
      Whether Struts is in development mode or not $B3<"  
      是否为struts开发模式 )`sEdVxbr  
r?l7_aBv3  
struts.dispatcher.parametersWorkaround & 1:_+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j~)GZV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5[py{Gq  
N7b+GqYpF>  
struts.enable.DynamicMethodInvocation }{(dG7G+  
      Allows one to disable dynamic method invocation from the URL {xGM_vH1  
        允许动态方法调用 2zz7/]?Q   
x=%p~$C  
struts.freemarker.manager.classname \UF/_'=K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5/ee&sJR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A=z+@b6  
%FDv6peH  
struts.i18n.encoding L/U^1=Wi*O  
      The encoding to use for localization messages ky^p\dMh  
      国际化信息内码 1zDat@<H  
d*e0/#s  
struts.i18n.reload v%=@_`Ht  
      Whether the localization messages should automatically be reloaded Pr%Y!|  
      是否国际化信息自动加载 mYy{G s7  
[vJLj>@  
struts.locale w4m)lQM  
      The default locale for the Struts application )5479Eb_  
      默认的国际化地区信息 Hj>(kL9H  
sr=~U q{g  
struts.mapper.class =u5a'bp0;;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j!It1B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %l#i9$s  
@&AUbxoj  
struts.multipart.maxSize 7H+IW4Ma  
      The maximize size of a multipart request (file upload) vH^6O:V  
      multipart请求信息的最大尺寸(文件上传用) $E j;CN59  
TspuZR@2  
struts.multipart.parser &7i o/d\/  
      The org.apache.struts2.dispatcher.multipart.  MYD`P2F  
      MultiPartRequest parser implementation for a multipart request (file upload) /{[Y l[{"<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %a_ rYrL  
7<T1#~w4L  
>;$C@  
struts.multipart.saveDir *WHQ1geI8  
      The directory to use for storing uploaded files _{]\} =@  
      设置存储上传文件的目录夹 t+ ,'  
t==CdCl  
struts.objectFactory Q1A_hW2x  
      The com.opensymphony.xwork2.ObjectFactory implementation class :?2@qWaL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?YeUA =[MC  
+PlA#DZu  
struts.objectFactory.spring.autoWire ?=bqya"Y  
      Whether Spring should autoWire or not ji|+E`Nii  
      是否自动绑定Spring ,m`>  
{CO]wqEj  
struts.objectFactory.spring.useClassCache nE 2w ?  
      Whether Spring should use its class cache or not R;G"LT  
      是否spring应该使用自身的cache R">-h;#  
Ke*tLnO  
struts.objectTypeDeterminer OH(w3:;[8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DFk0"+Ky  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y#/mE!&  
U9*uXD1\  
struts.serve.static.browserCache t-;zgW5mwF  
If static content served by the Struts filter should set browser caching header properties or not uPmK:9]3R  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;*H@E(g  
/S9(rI<'  
struts.serve.static V!{}%;f  
      Whether the Struts filter should serve static content or not j$<sq  
      是否struts过滤器应该提供静态内容 tFi'RRZ  
]FQO@ y  
struts.tag.altSyntax 6SJryf~w  
      Whether to use the alterative syntax for the tags or not O<RLw)nzg  
      是否可以用替代的语法替代tags } xy>uT  
$+P6R`K  
struts.ui.templateDir NrVE[Z#  
      The directory containing UI templates '[Ue0r<jn  
      UI templates的目录夹 Q[wTV3d  
:rBPgrt  
struts.ui.theme _K4E6c_  
      The default UI template theme 3w>S?"W#  
      默认的UI template主题 or8`.h EHI  
RCL}bE  
struts.url.http.port |#Gug('  
      The HTTP port used by Struts URLs ki8;:m4  
      设置http端口 xk#q_!(j  
r*r3QsO  
struts.url.https.port G0izZWc  
      The HTTPS port used by Struts URLs X%Lhu6F  
      设置https端口 n&n WY+GEo  
vOIzfwYG9  
struts.url.includeParams tQ@%3`  
      The default includeParams method to generate Struts URLs gfW_S&&q  
      在url中产生 默认的includeParams "KiTjl`M,  
, S }  
eXYf"hU,  
struts.velocity.configfile YAc~,N   
      The Velocity configuration file path S#:yl>2  
      velocity配置文件路径 w<P$)~6  
2}BQ=%E!'  
struts.velocity.contexts Fmd^9K  
      List of Velocity context names Fs3rsig  
      velocity的context列表 O6[ 4=4L  
k vQ] }`a  
QyEGK  
struts.velocity.manager.classname SJJ[y"GvD  
      org.apache.struts2.views.velocity.VelocityManager implementation class Qf .ASC   
      org.apache.struts2.views.velocity.VelocityManager接口名 dc+U #]tS  
]_EJ "'x  
struts.velocity.toolboxlocation %`# HGji)  
      The location of the Velocity toolbox (Ev=kO  
      velocity工具盒的位置 LK}*k/eG  
struts.xslt.nocache TS Ev^u)3  
      Whether or not XSLT templates should not be cached SqosJ}K  
      是否XSLT模版应该被缓存 JnY.]:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八