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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `\3RFr  
i{Q,>Rt  
struts.action.extension $mf6!p4  
      The URL extension to use to determine if the request is meant for a Struts action PIQd=%?'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9 v ,y  
=ty{ugM<  
struts.configuration B*QLKO:)i  
      The org.apache.struts2.config.Configuration implementation class QT1oUP#*  
        org.apache.struts2.config.Configuration接口名 P$clSJW  
d] E.F64{  
struts.configuration.files 6BXZGE  
      A list of configuration files automatically loaded by Struts 0.(7R,-  
      struts自动加载的一个配置文件列表 EF 8rh  
!@+4&B=  
struts.configuration.xml.reload $Nj'_G\}  
      Whether to reload the XML configuration or not < r b5'  
      是否加载xml配置(true,false) iy_3#x5>  
oMq:4W,  
struts.continuations.package 4!'4 l=jO  
      The package containing actions that use Rife continuations O#vIn}  
      含有actions的完整连续的package名称 {;JFoe+  
%]F{aR  
struts.custom.i18n.resources jgYe\dinM  
      Location of additional localization properties files to load v}^uN+a5  
      加载附加的国际化属性文件(不包含.properties后缀) N{!@M_C^%R  
WO+>W+|N  
struts.custom.properties np7!y U  
      Location of additional configuration properties files to load Y#U0g|UDn  
      加载附加的配置文件的位置 reoCyP\!!  
D r6u0rx8  
f2Tz5slE  
struts.devMode 5VLC\QgK^  
      Whether Struts is in development mode or not U owbk:  
      是否为struts开发模式 f kdJgK  
DpL|aRdbK  
struts.dispatcher.parametersWorkaround U,~Z2L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BUla2p  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PV/hnVUl  
il:RE8  
struts.enable.DynamicMethodInvocation l9NET  
      Allows one to disable dynamic method invocation from the URL o{K#LP  
        允许动态方法调用 gBXbB9  
M >s,I^  
struts.freemarker.manager.classname =G1 5 eZW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 82=>I*0Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +[=%W  
T`Qg+Q$  
struts.i18n.encoding QPz3IK%   
      The encoding to use for localization messages &8Oy*'  
      国际化信息内码 J|WkPv2  
)^Md ^\?  
struts.i18n.reload e?XQ,  
      Whether the localization messages should automatically be reloaded /A%31WE&1  
      是否国际化信息自动加载 { Em fw9L  
Ap%tm)@1  
struts.locale ]}N&I_mU  
      The default locale for the Struts application Cn8w}) B  
      默认的国际化地区信息 1}I%yOi)  
#,\qjY  
struts.mapper.class fBt`D !Z8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &^b mZj!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `F' >NNY  
|),3`*N  
struts.multipart.maxSize bl`vT3  
      The maximize size of a multipart request (file upload) dW2Lvnh!>/  
      multipart请求信息的最大尺寸(文件上传用) CXhE+oS5z'  
D7(kkr:r  
struts.multipart.parser W*NK-F[  
      The org.apache.struts2.dispatcher.multipart. .VfBwTh7q8  
      MultiPartRequest parser implementation for a multipart request (file upload) HP eN0=7>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YWUCrnr  
a2`|6M;  
I'T@}{h  
struts.multipart.saveDir LuUfdzH  
      The directory to use for storing uploaded files *mj3  T  
      设置存储上传文件的目录夹 {qjw  S1v  
!S}4b   
struts.objectFactory j`$d W H/2  
      The com.opensymphony.xwork2.ObjectFactory implementation class w%Tjn^d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) BF(.^oh"n0  
C*1,aLSw  
struts.objectFactory.spring.autoWire 0!!z'm3  
      Whether Spring should autoWire or not lQnqPQY  
      是否自动绑定Spring CYWL@<p,  
BD (  
struts.objectFactory.spring.useClassCache #99fFs`w  
      Whether Spring should use its class cache or not &^!vi2$5}  
      是否spring应该使用自身的cache f-/zR%s{  
u!WjG@  
struts.objectTypeDeterminer NU?05sF  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  b"C1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [#Y7iN&  
y7)$~R):-  
struts.serve.static.browserCache ,Rh6( I  
If static content served by the Struts filter should set browser caching header properties or not \9}RAr#2]N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <; (pol|  
P7`sJ("#  
struts.serve.static C:WXI;*cr  
      Whether the Struts filter should serve static content or not bx&?EUx+b  
      是否struts过滤器应该提供静态内容  UX& ?^]  
K~B@8az  
struts.tag.altSyntax a*gzVE7W#n  
      Whether to use the alterative syntax for the tags or not 5D#Mhgun  
      是否可以用替代的语法替代tags :6r)HJ5sg  
i{ " g 7  
struts.ui.templateDir N4JJA+  
      The directory containing UI templates Fs,#d%4@%  
      UI templates的目录夹 mlmp'f  
wZ_k]{J  
struts.ui.theme Z*Fxr;)d  
      The default UI template theme 1\'zq;I~  
      默认的UI template主题 @1UC9}>  
AQH\ ;L  
struts.url.http.port DiLZ5^`]  
      The HTTP port used by Struts URLs I Y='tw  
      设置http端口 n%J {Tcn6  
gLyE,1Z}u  
struts.url.https.port `Z 3p( G  
      The HTTPS port used by Struts URLs GYq.!d@O  
      设置https端口 <FfdOK_  
uGxh}'&  
struts.url.includeParams M' d ,TV[  
      The default includeParams method to generate Struts URLs fi6i{(K  
      在url中产生 默认的includeParams FXi"o $N  
YFF\m{#  
-9Ll'fbq  
struts.velocity.configfile hZ ve8J  
      The Velocity configuration file path kDz!v?Z2+B  
      velocity配置文件路径 Q,.[y"m9Y.  
Gidh7x  
struts.velocity.contexts sKvz<7pag  
      List of Velocity context names sfv{z!mo  
      velocity的context列表 <ETR6r  
d0Jaa1b~O  
bCv^za]P6  
struts.velocity.manager.classname f""+jc1  
      org.apache.struts2.views.velocity.VelocityManager implementation class gW[(gf.oo  
      org.apache.struts2.views.velocity.VelocityManager接口名 k{?Pgf27  
 9z9EK'g  
struts.velocity.toolboxlocation w[bhm$SX]B  
      The location of the Velocity toolbox ^HYrJr$y  
      velocity工具盒的位置 yv@td+-"D  
struts.xslt.nocache HX(Z(rcI  
      Whether or not XSLT templates should not be cached m|}};8  
      是否XSLT模版应该被缓存 :UMtknV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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