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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j!H\hj/]  
=7c1l77z  
struts.action.extension : *Nvy={c  
      The URL extension to use to determine if the request is meant for a Struts action ?>p<!:E!r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2W=( {e)$  
6:Nz=sw8  
struts.configuration cn4C K. ?  
      The org.apache.struts2.config.Configuration implementation class G;%Pf9 o26  
        org.apache.struts2.config.Configuration接口名 6T_Mk0Sf+  
buhn~ c  
struts.configuration.files F" -w  
      A list of configuration files automatically loaded by Struts @9QtK69  
      struts自动加载的一个配置文件列表 Bjz\L0d  
s2@}01QPo  
struts.configuration.xml.reload _~`\TS8  
      Whether to reload the XML configuration or not ]<;m;/ H  
      是否加载xml配置(true,false) Svmyg]  
b:}`O!UBw  
struts.continuations.package ZTx~+'(  
      The package containing actions that use Rife continuations  Y@S?0  
      含有actions的完整连续的package名称 /WVnyz0  
|WB<yA1  
struts.custom.i18n.resources MKdBqnM(F  
      Location of additional localization properties files to load ZN2g(  
      加载附加的国际化属性文件(不包含.properties后缀) t_q`wKDE  
3?vasL  
struts.custom.properties QJ ueU%|  
      Location of additional configuration properties files to load <~}t;ji  
      加载附加的配置文件的位置 qG/a5i  
t/bDDV"  
VT\o=3 _  
struts.devMode n NI V(  
      Whether Struts is in development mode or not _ID2yJ   
      是否为struts开发模式 Oifu ?f<r  
X"W%(x`w  
struts.dispatcher.parametersWorkaround PomX@N}1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nzTzc5 w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~7!J/LHg  
%3i/PIN  
struts.enable.DynamicMethodInvocation .6[xX?i^T  
      Allows one to disable dynamic method invocation from the URL g]V}azLr  
        允许动态方法调用 1@Bq-2OD4  
j}chU'i f  
struts.freemarker.manager.classname ^ZFbp@#U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~4wbIE_r N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;C%D+"l1g  
ZbYwuyHk(3  
struts.i18n.encoding @\_ tS H  
      The encoding to use for localization messages qB_MDA  
      国际化信息内码 aho;HM$hjP  
C9/?B:  
struts.i18n.reload 8kih81tx"U  
      Whether the localization messages should automatically be reloaded qphN   
      是否国际化信息自动加载 I~qS6#%r  
Fz16m7.  
struts.locale -uiZp !  
      The default locale for the Struts application /'=C<HSO  
      默认的国际化地区信息 GG\]}UjX  
&G@*/2A  
struts.mapper.class SMQuJ_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 56*}}B$?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >Ge&v'~_|  
aT F}  
struts.multipart.maxSize ,{7wvXP  
      The maximize size of a multipart request (file upload) &{* [7Ad  
      multipart请求信息的最大尺寸(文件上传用) }Xs=x6Mj  
j?6%=KuX<  
struts.multipart.parser v'.?:S&m  
      The org.apache.struts2.dispatcher.multipart. $.(>Sj1  
      MultiPartRequest parser implementation for a multipart request (file upload) O@3EJkv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9c806>]U^  
@3[Z Q F  
pCA(>(  
struts.multipart.saveDir V5K!u8T  
      The directory to use for storing uploaded files  :XF;v  
      设置存储上传文件的目录夹 Wn24eld"x  
!wvP 24"y  
struts.objectFactory N40.GL0s  
      The com.opensymphony.xwork2.ObjectFactory implementation class q:-8W[_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $qy%Q]  
'R~x.NM  
struts.objectFactory.spring.autoWire zb~!> QIz{  
      Whether Spring should autoWire or not d>  Y9g  
      是否自动绑定Spring au5 74tj  
:n>m">4  
struts.objectFactory.spring.useClassCache XN]kNJX  
      Whether Spring should use its class cache or not Og%qv Bj 6  
      是否spring应该使用自身的cache K|Std)6  
/wI$}X5o~  
struts.objectTypeDeterminer p0uQ>[NV0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0<Px 2/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @g""*T1:$  
v%V$@MF  
struts.serve.static.browserCache 1c,$D5#  
If static content served by the Struts filter should set browser caching header properties or not ,g{`M]Ov  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TH)gW  
G F,/<R#  
struts.serve.static G[6V=G  
      Whether the Struts filter should serve static content or not ?`,UW;Br6  
      是否struts过滤器应该提供静态内容 52K3N^RgR  
6ndt1W z  
struts.tag.altSyntax j$zw(EkN  
      Whether to use the alterative syntax for the tags or not ,jbj-b(  
      是否可以用替代的语法替代tags eqs.zL  
d/- f]   
struts.ui.templateDir <<v,9*h  
      The directory containing UI templates vgHMVzxj  
      UI templates的目录夹 +WK!}xZR  
NXDdU^w7B  
struts.ui.theme SwG:?T!"}  
      The default UI template theme (2QFwBW]  
      默认的UI template主题 //>f#8Ho  
+K;(H']Z<-  
struts.url.http.port `pm6Ts{,  
      The HTTP port used by Struts URLs A%oHx|PD  
      设置http端口 a7nbGqsx  
!iCY!:  
struts.url.https.port 2>.B*P  
      The HTTPS port used by Struts URLs r.[!n)*  
      设置https端口 v l2!2X  
hFZ7{pj  
struts.url.includeParams UbJ_'>hK6  
      The default includeParams method to generate Struts URLs }!(cm;XA"  
      在url中产生 默认的includeParams lEAN Nu  
=c M\o{ q  
,K6s'3O(LW  
struts.velocity.configfile \NS\>Q+d  
      The Velocity configuration file path RXb+"/   
      velocity配置文件路径 PR{?l  
d"Hh9O}6  
struts.velocity.contexts U8?QyG 2A  
      List of Velocity context names ; @-7'%(C  
      velocity的context列表 PE|_V  
-2w\8]u  
4rc4}Yu,JI  
struts.velocity.manager.classname Obrv5 %'  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8{@|M l  
      org.apache.struts2.views.velocity.VelocityManager接口名 5pI2G  
i(2s"Uww,  
struts.velocity.toolboxlocation W7S`+Pq  
      The location of the Velocity toolbox 7P?z{x':T  
      velocity工具盒的位置 0tC+?  
struts.xslt.nocache #)tt}GX  
      Whether or not XSLT templates should not be cached 7*M+bZ`x  
      是否XSLT模版应该被缓存 pz6fL=Xd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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