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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f<Xi/ (  
#Y<(7  
struts.action.extension 1LonYAHF  
      The URL extension to use to determine if the request is meant for a Struts action iU"{8K,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %-#rzeaW  
f]DO2 r  
struts.configuration $uCY\ xqZ  
      The org.apache.struts2.config.Configuration implementation class Nj$h/P  
        org.apache.struts2.config.Configuration接口名 :{M1]0 NH  
k8O%gO  
struts.configuration.files (VB-5&b  
      A list of configuration files automatically loaded by Struts V^qkHm e  
      struts自动加载的一个配置文件列表 ILMXWw  
+hz S'z)n&  
struts.configuration.xml.reload g<jgR*TE`  
      Whether to reload the XML configuration or not mH5[(?   
      是否加载xml配置(true,false) b";D*\=x  
!y-,r4\@`  
struts.continuations.package :2E?|}`7\  
      The package containing actions that use Rife continuations /6nj 4.xxc  
      含有actions的完整连续的package名称 t{o&$s93  
3B3l)eX  
struts.custom.i18n.resources A v[|G4n  
      Location of additional localization properties files to load WzdE XcY  
      加载附加的国际化属性文件(不包含.properties后缀) hVd PO  
yvt :/X  
struts.custom.properties Pef$-3aP>E  
      Location of additional configuration properties files to load prCr"y` M  
      加载附加的配置文件的位置 0qhSV B5  
ZFa<{J<2  
-| YDKcL  
struts.devMode mxkv{;ad  
      Whether Struts is in development mode or not -efB8)A  
      是否为struts开发模式 N!YjMx)P  
oz#;7 ?9  
struts.dispatcher.parametersWorkaround (#5TM1/A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {5J: ]{p  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y5$AAas  
  ]n (:X  
struts.enable.DynamicMethodInvocation jb0LMl}/A  
      Allows one to disable dynamic method invocation from the URL *;X,yEK[  
        允许动态方法调用 ~pve;(e=  
&N\4/'wV  
struts.freemarker.manager.classname dXewS_7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8 rA'd  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y-k]Tr  
/d prs(*K  
struts.i18n.encoding Z9k"&F ~u}  
      The encoding to use for localization messages ,n\'dMNii  
      国际化信息内码 >TB Rp,;r  
D<UX^hU   
struts.i18n.reload + -OnO7f  
      Whether the localization messages should automatically be reloaded PR;A 0   
      是否国际化信息自动加载 qTi%].F"G  
0VwmV_6'<W  
struts.locale z2DjYTm[~  
      The default locale for the Struts application Az4a|.  
      默认的国际化地区信息 Df_*W"(v  
v*VId l>  
struts.mapper.class |8s45g>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8>l#F<@5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C Ch38qBp  
#(f- cK  
struts.multipart.maxSize r8Pdk/CW^  
      The maximize size of a multipart request (file upload) ("5Eed  
      multipart请求信息的最大尺寸(文件上传用) #5/.n.X"  
5Ff1x-lQ  
struts.multipart.parser v dR6y  
      The org.apache.struts2.dispatcher.multipart. '>0rp\jC  
      MultiPartRequest parser implementation for a multipart request (file upload) >+ E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `6BjNV  
SJ;Kjq.Qo  
%X>P+6<=  
struts.multipart.saveDir  1@p'><\  
      The directory to use for storing uploaded files M@?,nzs K  
      设置存储上传文件的目录夹 ?K/N{GK%{  
ITf, )?|]Y  
struts.objectFactory Md(h-wYr  
      The com.opensymphony.xwork2.ObjectFactory implementation class @A;Ouu(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Bgy?k K2[  
,)](h+zl_6  
struts.objectFactory.spring.autoWire l d@B  
      Whether Spring should autoWire or not ]5`Y^hS_g  
      是否自动绑定Spring .W1i3Z6g  
-/z#?J\  
struts.objectFactory.spring.useClassCache "[M k5tM  
      Whether Spring should use its class cache or not Y*q_>kps"  
      是否spring应该使用自身的cache [S#QGB19  
>UDb:N[  
struts.objectTypeDeterminer Wi3St`$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +(qs{07A$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +PGtO9}B  
3I%F,-r  
struts.serve.static.browserCache @ - _lw  
If static content served by the Struts filter should set browser caching header properties or not A:5B6Z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #mvOhu  
,[t>N>10TH  
struts.serve.static v#WD$9QWs  
      Whether the Struts filter should serve static content or not T>\ r}p  
      是否struts过滤器应该提供静态内容 Sm(t"#dp  
F3 z:|sTqc  
struts.tag.altSyntax "- XJZ;5  
      Whether to use the alterative syntax for the tags or not NwB;9ZhZ  
      是否可以用替代的语法替代tags ,oS<9kC68  
@}B,l.Tj  
struts.ui.templateDir :L'U>)k  
      The directory containing UI templates D^jyG6Ch  
      UI templates的目录夹 ~w9.}   
xKW`m  
struts.ui.theme U~1jmxE  
      The default UI template theme +kN/-UsB  
      默认的UI template主题 g (:%E  
j\9v1O!T  
struts.url.http.port rW<sQ0   
      The HTTP port used by Struts URLs _}RzJKl@  
      设置http端口 *4oj' }  
'"QN{ja  
struts.url.https.port  XBF]|}%  
      The HTTPS port used by Struts URLs z0Bw+&^]}  
      设置https端口 NL76 jF  
|wYOO(!  
struts.url.includeParams h..D1(M  
      The default includeParams method to generate Struts URLs @ %}4R`S0  
      在url中产生 默认的includeParams 1deNrmp%  
?}D|]i34  
1y)|m63&  
struts.velocity.configfile >nA6w$  
      The Velocity configuration file path @+(TM5Ub  
      velocity配置文件路径 Ebk_(Py\  
5l ioL)  
struts.velocity.contexts P.Uz[_&l6  
      List of Velocity context names g k.c"$2  
      velocity的context列表 \Rff3$  
0>KW94  
p[Yja y+  
struts.velocity.manager.classname WP b4L9<  
      org.apache.struts2.views.velocity.VelocityManager implementation class FPB O=?H.  
      org.apache.struts2.views.velocity.VelocityManager接口名 0-!K@#$>=  
'.8E_Jd0E  
struts.velocity.toolboxlocation )QO"1#zg@c  
      The location of the Velocity toolbox 3xU in  
      velocity工具盒的位置 Mw,7+  
struts.xslt.nocache `NNr]__  
      Whether or not XSLT templates should not be cached Mc #w:UH[  
      是否XSLT模版应该被缓存 .tny"a&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五