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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8 ~Pdr]5  
Np$ue }yr  
struts.action.extension l2Rnyb<;;  
      The URL extension to use to determine if the request is meant for a Struts action it-2]Nw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E!L_"GW  
J 5xZL v  
struts.configuration T~g`;Q%i  
      The org.apache.struts2.config.Configuration implementation class -"#jRP]#  
        org.apache.struts2.config.Configuration接口名 _U^G*EqL*  
s |o(~2j  
struts.configuration.files % ;a B#:p6  
      A list of configuration files automatically loaded by Struts kcMg`pJ4<  
      struts自动加载的一个配置文件列表 z"FxKN~Z  
%<U0  
struts.configuration.xml.reload )gAqWbkB  
      Whether to reload the XML configuration or not Kt/:caD  
      是否加载xml配置(true,false) RfT)dS+rAh  
y,qn9  
struts.continuations.package g\iSc~%?  
      The package containing actions that use Rife continuations Lnq CHe  
      含有actions的完整连续的package名称 .4<lw  
f<'D?d)L^  
struts.custom.i18n.resources W"A3$/nq^  
      Location of additional localization properties files to load _|;{{8*?  
      加载附加的国际化属性文件(不包含.properties后缀) z 8#{=e  
nFn}  
struts.custom.properties D^f;X.Qm  
      Location of additional configuration properties files to load ,,7hVw  
      加载附加的配置文件的位置 j}fSz)`i  
q_"w,28  
b"OHXu  
struts.devMode \}YAQ'T  
      Whether Struts is in development mode or not m5, &;~  
      是否为struts开发模式 "QBl "<<s  
p )WRsJ8  
struts.dispatcher.parametersWorkaround #GUD^#Jh  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4sC)hAx&f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X[SIk%{D  
nAX/u[  
struts.enable.DynamicMethodInvocation GBT219Z@8  
      Allows one to disable dynamic method invocation from the URL Wy /5Qw~s  
        允许动态方法调用 (io[O?te  
VM;vLUu!e  
struts.freemarker.manager.classname ob|^lAU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ocpM6b.fK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BE54L+$p  
' hdLQ\J  
struts.i18n.encoding 3bQq Nk  
      The encoding to use for localization messages 7d+0'3%  
      国际化信息内码 /1Ss |.  
N0 mh gEA  
struts.i18n.reload <KI>:@|Sc  
      Whether the localization messages should automatically be reloaded :EH>&vm  
      是否国际化信息自动加载 us.IdG  
OXB 5W#$  
struts.locale 0+.<BOcW5  
      The default locale for the Struts application oE0~F|(\1  
      默认的国际化地区信息 J-5kvQi8  
e-VGJxR  
struts.mapper.class wT-K g=-q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0}'/3Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K%u>'W  
HC6v#-( `{  
struts.multipart.maxSize (aq-aum-I  
      The maximize size of a multipart request (file upload) 4i<GqG  
      multipart请求信息的最大尺寸(文件上传用) +HgyM0LFg  
+&E\w,Vq^  
struts.multipart.parser p=|S %  
      The org.apache.struts2.dispatcher.multipart. BQs\!~Ux2  
      MultiPartRequest parser implementation for a multipart request (file upload) !"'6$"U\K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 31QDN0o!~  
",aEN=+|hV  
SQ'%a-Mct  
struts.multipart.saveDir 9 aKU}y  
      The directory to use for storing uploaded files cxx8I  
      设置存储上传文件的目录夹 '+c@U~d*7  
lAo4)  
struts.objectFactory Y3 -f68*(  
      The com.opensymphony.xwork2.ObjectFactory implementation class xZ SDA8kS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]Z52L`k  
}VHvC"   
struts.objectFactory.spring.autoWire ~&"'>C#  
      Whether Spring should autoWire or not H wz$zF+R  
      是否自动绑定Spring bkrl>Im<n  
. +,{|){c  
struts.objectFactory.spring.useClassCache CdtCxy5  
      Whether Spring should use its class cache or not /-(OJN5F^  
      是否spring应该使用自身的cache ,jl4W+s  
vN~joQ=d  
struts.objectTypeDeterminer q%,y66pFr  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !Y/S2J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 APCE }%1U  
4ti,R'  
struts.serve.static.browserCache U r8JG&,  
If static content served by the Struts filter should set browser caching header properties or not k?1e + \  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 y'z9Ya  
_94R8?\_V7  
struts.serve.static w$ ""])o,  
      Whether the Struts filter should serve static content or not $4^h>x  
      是否struts过滤器应该提供静态内容 _lC0XDZ  
"{c@}~  
struts.tag.altSyntax CioS}K  
      Whether to use the alterative syntax for the tags or not \6pQ&an  
      是否可以用替代的语法替代tags Gh<#wa['}  
#F6M<V'  
struts.ui.templateDir [jGE {<Je  
      The directory containing UI templates @4Q /J$  
      UI templates的目录夹 F;Q'R |HQ  
u(PUbxJ V  
struts.ui.theme xlh<}V tp  
      The default UI template theme K~fWZT3]  
      默认的UI template主题 xU(b:D Z  
by$mD_sr  
struts.url.http.port rqKK89fD'  
      The HTTP port used by Struts URLs ^b^buCYw  
      设置http端口 n]>L"D,  
|3hNTH?  
struts.url.https.port Ix~rBD9  
      The HTTPS port used by Struts URLs mcs!A/]<  
      设置https端口 m\_v{1g  
' t^ r2N/  
struts.url.includeParams Ri*mu*r\}  
      The default includeParams method to generate Struts URLs =Ew77  
      在url中产生 默认的includeParams n;QFy5HB8  
_:Jma  
[fs.D /  
struts.velocity.configfile S%wd Xe  
      The Velocity configuration file path B3I0H6O  
      velocity配置文件路径 >LB*5  
z$Qy<_l  
struts.velocity.contexts \3hFb,/4k  
      List of Velocity context names 0W~1v  
      velocity的context列表 L(C0236r  
f>m ! }F:  
_,f7D/dq  
struts.velocity.manager.classname /03?(n= 3  
      org.apache.struts2.views.velocity.VelocityManager implementation class \KKE&3=  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~y/qm [P  
"#h/sAIs  
struts.velocity.toolboxlocation `1#Z9&bO  
      The location of the Velocity toolbox 9"}5jq4*  
      velocity工具盒的位置 o :j'd  
struts.xslt.nocache >D_)z/v?"  
      Whether or not XSLT templates should not be cached $2a_!/  
      是否XSLT模版应该被缓存 6zGeGW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五