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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TBT:/Vfun  
k|H:  
struts.action.extension /Bm( `T  
      The URL extension to use to determine if the request is meant for a Struts action #Q`dku%V:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >b{q.  
%eO0w a$a  
struts.configuration H"dJ6  
      The org.apache.struts2.config.Configuration implementation class iB& 4>+N+  
        org.apache.struts2.config.Configuration接口名 j_. 5r&w  
-#HA"7XOE  
struts.configuration.files hs$GN]  
      A list of configuration files automatically loaded by Struts 0PrLuejz  
      struts自动加载的一个配置文件列表 M%kO7>h8  
Oz%>/zw[h  
struts.configuration.xml.reload X'qU*Eo  
      Whether to reload the XML configuration or not LpqO{#ZG  
      是否加载xml配置(true,false) ftF@Wq1f  
/ :n#`o=;  
struts.continuations.package ^*Yh@4\{JH  
      The package containing actions that use Rife continuations ^kB8F"X  
      含有actions的完整连续的package名称 $H9%J  
7G>dTO  
struts.custom.i18n.resources Q{5kxw1ZF  
      Location of additional localization properties files to load #odIEC/  
      加载附加的国际化属性文件(不包含.properties后缀) 20nP/ e  
n$ou- Q  
struts.custom.properties 4s*ZS}] o  
      Location of additional configuration properties files to load u;/ Vyu  
      加载附加的配置文件的位置 x}"uZ$g  
N<-gI9_  
j4R(B  
struts.devMode l.NEkAYPmH  
      Whether Struts is in development mode or not xM&Wgei]10  
      是否为struts开发模式 8Hn|cf0  
#kaY0M  
struts.dispatcher.parametersWorkaround @dPTk"P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic K8UP,f2  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %*0^0wz  
U5.LDv;  
struts.enable.DynamicMethodInvocation /q`xCS  
      Allows one to disable dynamic method invocation from the URL 0p}D(m2B  
        允许动态方法调用 70Wggty  
?1K#dC52#  
struts.freemarker.manager.classname vbC\?\_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #nPQ!NB/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K#=*9S  
PC-"gi =h  
struts.i18n.encoding +2&@x=xy  
      The encoding to use for localization messages a+Kj1ix  
      国际化信息内码 `yH<E+   
tAv@R&W,  
struts.i18n.reload e(GP^oK  
      Whether the localization messages should automatically be reloaded mSb#Nn6W  
      是否国际化信息自动加载 Ke2ccN  
"Pu!dJ5[]  
struts.locale f>UXD  
      The default locale for the Struts application E(8* pI  
      默认的国际化地区信息 m;GbLncA  
8)10o,#L  
struts.mapper.class rFj-kojg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vPTM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 t7j);W%e6  
+oovx2r&  
struts.multipart.maxSize G2Qlt@.T  
      The maximize size of a multipart request (file upload) iA'lon  
      multipart请求信息的最大尺寸(文件上传用) y+c|vdW%  
-v]Sr33L  
struts.multipart.parser 6 '!4jh  
      The org.apache.struts2.dispatcher.multipart. HiR[(5vnf  
      MultiPartRequest parser implementation for a multipart request (file upload) {^7Hgg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5BlR1*  
,>0*@2  
eQp4|rf  
struts.multipart.saveDir opy("qH  
      The directory to use for storing uploaded files yl7&5)b#9  
      设置存储上传文件的目录夹 IJ(  
8{^WY7.'  
struts.objectFactory @oV9)  
      The com.opensymphony.xwork2.ObjectFactory implementation class <FcG oGK  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e} P I^bc  
XH}\15X  
struts.objectFactory.spring.autoWire |ZRagn30  
      Whether Spring should autoWire or not 10q'Z}34  
      是否自动绑定Spring $ us]35Z3  
Af'" 6BS  
struts.objectFactory.spring.useClassCache LXC9I/j/  
      Whether Spring should use its class cache or not 7|$:=4  
      是否spring应该使用自身的cache pEIRh1  
GS a [ oh  
struts.objectTypeDeterminer )GM41t1i  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class uj R_"r|l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JNt^ (z  
r0+6evU2  
struts.serve.static.browserCache 6/r)y+H  
If static content served by the Struts filter should set browser caching header properties or not @,cowar*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,D]QxbwZ  
['B?i1 .  
struts.serve.static &:dH,  
      Whether the Struts filter should serve static content or not Q;43[1&3w  
      是否struts过滤器应该提供静态内容 gy 3i+J  
 a1t4Dd  
struts.tag.altSyntax P3)Nl^/  
      Whether to use the alterative syntax for the tags or not X\@C.H2ttY  
      是否可以用替代的语法替代tags YkniiB[/  
w35J.zn  
struts.ui.templateDir {f2S/$q  
      The directory containing UI templates xp }hev^@$  
      UI templates的目录夹 2(u,SQ  
G IT>L  
struts.ui.theme Y&d00  
      The default UI template theme WJkZ!O$"j  
      默认的UI template主题 E[@ u 3i8  
$RIecv<e_  
struts.url.http.port t\{'F7  
      The HTTP port used by Struts URLs &]v4@%<J  
      设置http端口 vY${;#~|  
R`DKu=  
struts.url.https.port Nn~~!q  
      The HTTPS port used by Struts URLs jr /pj?  
      设置https端口 x7:s]<kE  
C)@y5. G;  
struts.url.includeParams a!< 8\vzg  
      The default includeParams method to generate Struts URLs si`A:14R  
      在url中产生 默认的includeParams 52 fA/sx  
Crho=RJPR  
%|g>%D3Z?  
struts.velocity.configfile TDFkxB>  
      The Velocity configuration file path #h8Sq~0  
      velocity配置文件路径 zF8dKFE~  
:Q $K<)[  
struts.velocity.contexts 7VqM$I  
      List of Velocity context names /%}*Xh  
      velocity的context列表 u09:Z{tL;@  
-0$55pa/@:  
nrxo &9[@n  
struts.velocity.manager.classname `\gnl'  
      org.apache.struts2.views.velocity.VelocityManager implementation class vY  }A  
      org.apache.struts2.views.velocity.VelocityManager接口名 TZ(cu>  
G-xDN59K  
struts.velocity.toolboxlocation P"y`A}Bx  
      The location of the Velocity toolbox / ';0H_  
      velocity工具盒的位置 juka0/  
struts.xslt.nocache pQ=>.JU  
      Whether or not XSLT templates should not be cached Y;@>b{s  
      是否XSLT模版应该被缓存 544X1Ww2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八