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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #E+gXan  
V0(o~w/W%!  
struts.action.extension za9)Q=6FD  
      The URL extension to use to determine if the request is meant for a Struts action ww{_c]My  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W$o2 7f  
NU\ 5{N<  
struts.configuration >'5_Y]h4m|  
      The org.apache.struts2.config.Configuration implementation class 8W+gl=C~  
        org.apache.struts2.config.Configuration接口名 `)h6j)xiQ  
@@g\2Gs  
struts.configuration.files <uk1?Q g  
      A list of configuration files automatically loaded by Struts 5,;`$'?a%  
      struts自动加载的一个配置文件列表 a7/-wk  
%YlTF\-  
struts.configuration.xml.reload n1:v HBM@\  
      Whether to reload the XML configuration or not -,":5V26  
      是否加载xml配置(true,false) i"^<CR@e  
;;gK@?hJ  
struts.continuations.package ]`w}+B'/  
      The package containing actions that use Rife continuations \Z-2leL)j  
      含有actions的完整连续的package名称 :H[\;Z1_  
f.pkQe(  
struts.custom.i18n.resources `Xc irfp  
      Location of additional localization properties files to load  QI!i  
      加载附加的国际化属性文件(不包含.properties后缀) #S+Z$DQD  
7yiJ1K<bIt  
struts.custom.properties m^\TUj  
      Location of additional configuration properties files to load 4`2$_T$ F  
      加载附加的配置文件的位置 P8gX CX!>U  
gKb0)4 AK  
88a<{5 :z  
struts.devMode e}cnX`B  
      Whether Struts is in development mode or not Hwe)Tsh e  
      是否为struts开发模式 s3lwu :4f  
@#b0T:+v'  
struts.dispatcher.parametersWorkaround mg+k'Myo+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~HUZ#rUHm>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9 K  
K2/E#}/  
struts.enable.DynamicMethodInvocation f!-Sz/c#  
      Allows one to disable dynamic method invocation from the URL Gwd{#7FM`  
        允许动态方法调用 oBlzHBn>0  
8!h'j  
struts.freemarker.manager.classname ._p""'Sa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \w )?SVp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 76#.F  
*"G8  
struts.i18n.encoding N^elVu4 K  
      The encoding to use for localization messages ^4`&EF  
      国际化信息内码 _& 4its  
^ZQCIS-R  
struts.i18n.reload LE c8NQs  
      Whether the localization messages should automatically be reloaded DQ=N1pft2v  
      是否国际化信息自动加载 A@$fb}CF  
iIU( C.I  
struts.locale Gbd?%{Xc-  
      The default locale for the Struts application 3BMS_,P  
      默认的国际化地区信息 R~B0+:6  
udTxNl!  
struts.mapper.class 6|;0ax4:P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `f'C[a"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fEu9Jk  
+>3]%i- \  
struts.multipart.maxSize It 2UfW  
      The maximize size of a multipart request (file upload) qZ G-Lh  
      multipart请求信息的最大尺寸(文件上传用) ,p,Du F  
U=o Z.\  
struts.multipart.parser a0zG(7.D  
      The org.apache.struts2.dispatcher.multipart. NR/-m7#-  
      MultiPartRequest parser implementation for a multipart request (file upload) |Odu4 Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .Y/-8H-3v  
m(3);)d  
4IGxI7~27#  
struts.multipart.saveDir T=? bdIl  
      The directory to use for storing uploaded files .{N\<01  
      设置存储上传文件的目录夹 )Ul&1UYA  
ye r> x  
struts.objectFactory .g-3e"@  
      The com.opensymphony.xwork2.ObjectFactory implementation class {u]CHN`%Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O=O(3Pf>  
-"Gl 4)  
struts.objectFactory.spring.autoWire L/k40cEI^z  
      Whether Spring should autoWire or not WX*cICb5  
      是否自动绑定Spring mvf _@2^  
hrlCKL&  
struts.objectFactory.spring.useClassCache f0F#Yi{fw  
      Whether Spring should use its class cache or not VA]ZR+m  
      是否spring应该使用自身的cache @bQ!zCI  
k`IrZHMw  
struts.objectTypeDeterminer E2yz=7sv5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G(i\'#5+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l Z~+u  
t61'LCEis  
struts.serve.static.browserCache Rk[8Bd?  
If static content served by the Struts filter should set browser caching header properties or not iH _"W+dq  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 By/bVZks  
U3q5^{0d/  
struts.serve.static byj[u!{  
      Whether the Struts filter should serve static content or not z`9l<Q/  
      是否struts过滤器应该提供静态内容 {dZ8;Fy4  
9XN~Ln@}  
struts.tag.altSyntax aT/KT,!  
      Whether to use the alterative syntax for the tags or not  ,(hY%M&\  
      是否可以用替代的语法替代tags /lUk5g^j  
xXa#J)'  
struts.ui.templateDir `]yKM0 Z  
      The directory containing UI templates qi[(*bFK7  
      UI templates的目录夹 s@M  
kOM-  
struts.ui.theme ?hSha)1:  
      The default UI template theme ZmO' IT=Ye  
      默认的UI template主题 y%g`FC   
;G$)MS'nB  
struts.url.http.port 9l=Fv6  
      The HTTP port used by Struts URLs }moz9a  
      设置http端口 #y`k$20"  
e6es0D[>5  
struts.url.https.port - coy@S=.'  
      The HTTPS port used by Struts URLs K#U{<pUP  
      设置https端口 ?',}? {"c  
p d%LL?O  
struts.url.includeParams D;yd{]<  
      The default includeParams method to generate Struts URLs R]fYe#!"  
      在url中产生 默认的includeParams Dpp@*xX>  
@>9A$w$H|a  
v*gLNB,ZH  
struts.velocity.configfile H.;yLL=  
      The Velocity configuration file path c( 8W8R  
      velocity配置文件路径 k%a?SU<f  
a:xgjUt&5  
struts.velocity.contexts [EcV\.  
      List of Velocity context names 4}PeP^pj  
      velocity的context列表 6A@Lj*:2m  
VG#$fRrZ  
:EaiM J_=  
struts.velocity.manager.classname {C,  #rj  
      org.apache.struts2.views.velocity.VelocityManager implementation class ees^O{ 8  
      org.apache.struts2.views.velocity.VelocityManager接口名 R=DPeUy;  
8ST~$!z$  
struts.velocity.toolboxlocation |7Yvq%E  
      The location of the Velocity toolbox \Qb>:  
      velocity工具盒的位置 \ 6jF{  
struts.xslt.nocache t-a`.y  
      Whether or not XSLT templates should not be cached Dl@{}9  
      是否XSLT模版应该被缓存 %L.rcbg:<c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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