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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mnh>gl!l  
pnl7a$z  
struts.action.extension DO` K_B  
      The URL extension to use to determine if the request is meant for a Struts action ^K. d|z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XHKiz2Pc1  
j")#"& m  
struts.configuration I]+xerVd  
      The org.apache.struts2.config.Configuration implementation class ^yL6A1  
        org.apache.struts2.config.Configuration接口名 '#LbIv4  
R/Y9t8kk  
struts.configuration.files 094~  s  
      A list of configuration files automatically loaded by Struts WT;4J<O/  
      struts自动加载的一个配置文件列表 .0+=#G>  
:Aj8u\3!@  
struts.configuration.xml.reload GrPKJ~{6  
      Whether to reload the XML configuration or not t.Q}V5t{g  
      是否加载xml配置(true,false) {Rc mjI7  
xVw9_il2a  
struts.continuations.package 5#|D1A  
      The package containing actions that use Rife continuations X$Eg(^La  
      含有actions的完整连续的package名称 cLhHGwX=x  
u5zL;C3O  
struts.custom.i18n.resources {BPNb{dBKr  
      Location of additional localization properties files to load <q\OREMsq  
      加载附加的国际化属性文件(不包含.properties后缀) w*#B_6bG  
}x!=F<Q!r  
struts.custom.properties ]z3!hgTj  
      Location of additional configuration properties files to load >n3w'b  
      加载附加的配置文件的位置 uy'm2  
G8AT] =  
paCC'*bv  
struts.devMode :x88  
      Whether Struts is in development mode or not $]LhE:!G  
      是否为struts开发模式 1 1Sflj  
m03D+@F  
struts.dispatcher.parametersWorkaround JV_VF'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bvn%E H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X?'ShXI  
"}ibH{$lM  
struts.enable.DynamicMethodInvocation B}S!l>.z  
      Allows one to disable dynamic method invocation from the URL K!~j}z*  
        允许动态方法调用 tV.qdy/]}  
$[(amj-;l  
struts.freemarker.manager.classname 'C[{cr.`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4f~ c# 0?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "- 2HKs  
WX~: Y,l+u  
struts.i18n.encoding p} }pq~EH/  
      The encoding to use for localization messages &k53*Wo  
      国际化信息内码 Bk)E]Fk|  
a9LK}xc={  
struts.i18n.reload =f~8"j  
      Whether the localization messages should automatically be reloaded -nK\+bTL}  
      是否国际化信息自动加载 omd oH?  
\G4L+Q/13  
struts.locale +;#z"m]  
      The default locale for the Struts application B|I9Ex~L  
      默认的国际化地区信息 Z2P DT  
XS#Jy n  
struts.mapper.class ??5y0I6+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '0b!lVe  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 n<,:;0{  
<DeC^[-P  
struts.multipart.maxSize #Sg< 9xsW  
      The maximize size of a multipart request (file upload) [p Y1\$,  
      multipart请求信息的最大尺寸(文件上传用) dMd2a4  
FT'2 J  
struts.multipart.parser Y9<N#h#  
      The org.apache.struts2.dispatcher.multipart. r< MW8  
      MultiPartRequest parser implementation for a multipart request (file upload) [KcF0%a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vD-m FC)  
Kx4_`;>  
OKo)p`BX  
struts.multipart.saveDir |-)2 D=P  
      The directory to use for storing uploaded files 3[{RH*nHD  
      设置存储上传文件的目录夹 *C~$<VYI  
2 .p?gRO  
struts.objectFactory n3z]&J5fr  
      The com.opensymphony.xwork2.ObjectFactory implementation class _s{;9&qX]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WMi$ATq  
e};\"^H H  
struts.objectFactory.spring.autoWire 'v^Zterr  
      Whether Spring should autoWire or not V Zz>)Kz:  
      是否自动绑定Spring 2K:Rrn/cR  
!=)b2}e/>  
struts.objectFactory.spring.useClassCache [[XbKg`"?  
      Whether Spring should use its class cache or not f[ 'uka.U  
      是否spring应该使用自身的cache `/"*_AKAI  
57|RE5]|!  
struts.objectTypeDeterminer 9M12|X\]8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }+@GgipyO.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kO3N.t@n  
x& a<u@[wa  
struts.serve.static.browserCache M7`iAa.}  
If static content served by the Struts filter should set browser caching header properties or not e0Jz|?d=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `*Ju0)g1  
qrr[QEFW  
struts.serve.static [z[<onFIq  
      Whether the Struts filter should serve static content or not /LK,:6  
      是否struts过滤器应该提供静态内容 F`Ld WA  
D$?}M>  
struts.tag.altSyntax [ !<  
      Whether to use the alterative syntax for the tags or not 9 $&$Fe  
      是否可以用替代的语法替代tags -bP_jIZF;g  
uN;]Fv@Z  
struts.ui.templateDir O~*`YsL9  
      The directory containing UI templates P->.eo#VG  
      UI templates的目录夹 hU|TP3*  
gm8FmjZtf  
struts.ui.theme 'kb|!  
      The default UI template theme -\|S=< g  
      默认的UI template主题 K@<%Vc>L(  
3;%dn \ D  
struts.url.http.port 360b`zS  
      The HTTP port used by Struts URLs %G`GdG}T  
      设置http端口 ^'G,sZ6'Nh  
KD=W(\  
struts.url.https.port o4t6NDa  
      The HTTPS port used by Struts URLs UJ?qGOM3x>  
      设置https端口 qdNt2SO  
ISDeLUihY  
struts.url.includeParams +1pY^#A  
      The default includeParams method to generate Struts URLs dX;Q\  ]"  
      在url中产生 默认的includeParams 7=@3cw H  
BG9.h!  
h0z>dLA#2  
struts.velocity.configfile JwNB)e D  
      The Velocity configuration file path Tg jM@ir  
      velocity配置文件路径 y# iQ   
uGz>AW8a3  
struts.velocity.contexts dWi:V 7t+  
      List of Velocity context names oYmLJzCf  
      velocity的context列表 b?]Lx.l-  
j3Ps<<eA  
E[a|.lnV  
struts.velocity.manager.classname igO,Ge8}  
      org.apache.struts2.views.velocity.VelocityManager implementation class Qq{>]5<  
      org.apache.struts2.views.velocity.VelocityManager接口名 %] #XIr  
SL$ bV2T  
struts.velocity.toolboxlocation GwM(E^AG  
      The location of the Velocity toolbox 2A(?9 R9&h  
      velocity工具盒的位置 U][\|8i  
struts.xslt.nocache oYR OGU  
      Whether or not XSLT templates should not be cached [))TL  
      是否XSLT模版应该被缓存 ),rd7GB>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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