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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;>^oe:@  
6o@}k9AN  
struts.action.extension 89@\AjI  
      The URL extension to use to determine if the request is meant for a Struts action blxAy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .G[y^w)w}  
o(xRq;i  
struts.configuration #_yQv?J  
      The org.apache.struts2.config.Configuration implementation class r fqw/o  
        org.apache.struts2.config.Configuration接口名 xdWfrm$;ZA  
(Wkli:Lq  
struts.configuration.files 2 qRX A  
      A list of configuration files automatically loaded by Struts Y" 9 o  
      struts自动加载的一个配置文件列表 rkhQoYZ[  
dz/' m7  
struts.configuration.xml.reload @|Z:7n6S  
      Whether to reload the XML configuration or not :xw2\:5~0  
      是否加载xml配置(true,false) O v3W;jD  
9k\`3SE  
struts.continuations.package =! v.VF\;  
      The package containing actions that use Rife continuations ;t47cUm6j  
      含有actions的完整连续的package名称 jvx9b([<sG  
J6x\_]1:*  
struts.custom.i18n.resources 216+ tX5Z  
      Location of additional localization properties files to load M=[/v/M=  
      加载附加的国际化属性文件(不包含.properties后缀) 2m. RM&TdB  
H <CsB  
struts.custom.properties i^P@?  
      Location of additional configuration properties files to load Z J(/cD  
      加载附加的配置文件的位置 Z=%+U _,  
?fv?6r  
qGMM3a)Q  
struts.devMode ';` fMcN  
      Whether Struts is in development mode or not Ke-Q>sm2Q  
      是否为struts开发模式 M0!;{1  
+3.Ik,Z}zq  
struts.dispatcher.parametersWorkaround N[ 4v6GS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }HS:3Dt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?]gZg[  
Ke[doQ#c  
struts.enable.DynamicMethodInvocation .(o]d{ '-}  
      Allows one to disable dynamic method invocation from the URL Li ,B,   
        允许动态方法调用 E_&Hje|J_[  
".L+gn}u-  
struts.freemarker.manager.classname 9fD4xkRS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )/k0*:OMyO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0z?b5D;  
^}; 4r  
struts.i18n.encoding 0?uX}8w  
      The encoding to use for localization messages k5G(7Ug=g~  
      国际化信息内码 .d`+#1Ot(  
3_=~7B) 8  
struts.i18n.reload  {ZFa +  
      Whether the localization messages should automatically be reloaded $,08y   
      是否国际化信息自动加载 \V@SCA'  
*Yv"lB8  
struts.locale 2&91C[da0  
      The default locale for the Struts application $;un$ko6%  
      默认的国际化地区信息 <B 5^  
8>x.zO_.c>  
struts.mapper.class N_<sCRd]9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `;fh<kv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PK1j$ &F  
BmYU#h  
struts.multipart.maxSize 8)/i\=N3;  
      The maximize size of a multipart request (file upload) GkMNV7"m  
      multipart请求信息的最大尺寸(文件上传用) T#Pz_ hAu  
04tUf3 >  
struts.multipart.parser AIsM:sV]  
      The org.apache.struts2.dispatcher.multipart. 2'g< H-[  
      MultiPartRequest parser implementation for a multipart request (file upload) Pg[zRRf<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aKs!*uo0H  
FtN1ZZ"<*  
%sC,;^wla'  
struts.multipart.saveDir bGRI^ [8#+  
      The directory to use for storing uploaded files TRz~rW k  
      设置存储上传文件的目录夹 UCYhaD@sP  
z.1 6%@R  
struts.objectFactory H%7V)"  
      The com.opensymphony.xwork2.ObjectFactory implementation class )hk=wu6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b{)('C$  
TI}H(XL(  
struts.objectFactory.spring.autoWire  .Pq8C  
      Whether Spring should autoWire or not qx 3.oU  
      是否自动绑定Spring k/l@P  
4,9AoK)yp  
struts.objectFactory.spring.useClassCache =1^a/  
      Whether Spring should use its class cache or not ih `/1n  
      是否spring应该使用自身的cache Z_' %'&Y  
q?z6|]M|u  
struts.objectTypeDeterminer *pP"u::S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0kgK~\^,.O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YN] w_=  
}7hpx!s,  
struts.serve.static.browserCache j5z, l  
If static content served by the Struts filter should set browser caching header properties or not *F:]mgg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'R_U,9y`  
D,xWc|V  
struts.serve.static qt]QO1pAd  
      Whether the Struts filter should serve static content or not v,vTRrpK  
      是否struts过滤器应该提供静态内容 0!=e1_  
.Q"3 [  
struts.tag.altSyntax OdQ >h$ gZ  
      Whether to use the alterative syntax for the tags or not o0-e,F>u  
      是否可以用替代的语法替代tags XBhWj\`(T  
QOuy(GY  
struts.ui.templateDir bI[!y#_z4  
      The directory containing UI templates N-^\X3X  
      UI templates的目录夹 /iif@5lw{  
/6{`6(p  
struts.ui.theme B2d$!Any  
      The default UI template theme >0 !J]gK  
      默认的UI template主题 4\pA^%73  
d1e'!y}R5  
struts.url.http.port &o"Hb=k<  
      The HTTP port used by Struts URLs }=A6Jv(j  
      设置http端口 7i{Rn K6*  
rQ}4\PTi  
struts.url.https.port qIjC-#a=m  
      The HTTPS port used by Struts URLs |L;'In  
      设置https端口 :EgdV  
N(vbo  
struts.url.includeParams OpxVy _5,  
      The default includeParams method to generate Struts URLs yD1*^~loJ  
      在url中产生 默认的includeParams 2DQ'h}BI  
yE9JMi 0  
6(9Ta'ywZ  
struts.velocity.configfile 1@)]+* F*z  
      The Velocity configuration file path gbpm::  
      velocity配置文件路径 k6JB%m\E  
8e\a_R*(|  
struts.velocity.contexts k`g+    
      List of Velocity context names ]kb%l"&  
      velocity的context列表 vzi=[A  
&8"a7$  
^\N2 Iu>6  
struts.velocity.manager.classname j,/o0k,  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^%_B'X9  
      org.apache.struts2.views.velocity.VelocityManager接口名 8YkP57Y%[Z  
74gU 4T  
struts.velocity.toolboxlocation H'gPGOd  
      The location of the Velocity toolbox lG# &Pv>-  
      velocity工具盒的位置 gY0*u+LF  
struts.xslt.nocache |Q9S$l]  
      Whether or not XSLT templates should not be cached 6FEtq,;0w  
      是否XSLT模版应该被缓存 /oiAAB27  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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