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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 yo#aX^v~y  
IQ${2Dpg[  
struts.action.extension Znv3h  
      The URL extension to use to determine if the request is meant for a Struts action xJQ-k/`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &2~c,] 9C  
O?6ph4'  
struts.configuration 5#DtaVz  
      The org.apache.struts2.config.Configuration implementation class b6@(UneVM  
        org.apache.struts2.config.Configuration接口名 Zj(2$9IU  
~^&]8~m*d  
struts.configuration.files deRnP$u0  
      A list of configuration files automatically loaded by Struts 6AM-^S@  
      struts自动加载的一个配置文件列表 Kzj9!'0R  
Gu3# y"a>  
struts.configuration.xml.reload &YSjwRr  
      Whether to reload the XML configuration or not d".Xp4}f  
      是否加载xml配置(true,false) gPo3jwo$  
|#y+iXTJ   
struts.continuations.package 7j9X<8 *  
      The package containing actions that use Rife continuations _'W en  
      含有actions的完整连续的package名称 J%Cn  
l7+[Zn/v *  
struts.custom.i18n.resources nB; yS<  
      Location of additional localization properties files to load j4!g&F _y  
      加载附加的国际化属性文件(不包含.properties后缀) R\^n2gK  
u%o2BLx  
struts.custom.properties _a~uIGN  
      Location of additional configuration properties files to load &<oZl.T  
      加载附加的配置文件的位置 ([mC!d@a  
1>KZ1Kf  
h{J=Rq  
struts.devMode 0u3"$o'R  
      Whether Struts is in development mode or not 0q@U>#  
      是否为struts开发模式 Z=L~W,0'  
c" |4'#S  
struts.dispatcher.parametersWorkaround h#Z5vH  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .L#xX1qr  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @@?P\jv~  
L.cGt"{  
struts.enable.DynamicMethodInvocation ~{8X$xs  
      Allows one to disable dynamic method invocation from the URL ,%bG]5  
        允许动态方法调用 Yv!r>\#0S  
._6|epJ#  
struts.freemarker.manager.classname >+9f{FP 9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xy0KZ !  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ZwC\n(_y  
|#87|XIJ&~  
struts.i18n.encoding aUqVcEU1  
      The encoding to use for localization messages -naj.omG|  
      国际化信息内码 YH:murJMZ  
`4@_Y<  
struts.i18n.reload i*T>, z  
      Whether the localization messages should automatically be reloaded QJsud{ada  
      是否国际化信息自动加载 OdZLJt?g  
g[#4`Q<.  
struts.locale Zx1I&K\Cd  
      The default locale for the Struts application J Uf{;nt  
      默认的国际化地区信息 q=_&izmE'7  
`T-lBwH  
struts.mapper.class ,h#U<CnP#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7%%FYHMO:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3 ;N+5*-  
p^E}%0#  
struts.multipart.maxSize Hq>"rrVhx  
      The maximize size of a multipart request (file upload) T|/B}srm  
      multipart请求信息的最大尺寸(文件上传用) O%$XgEJ8p  
0Rme}&$  
struts.multipart.parser uoryxKRjc~  
      The org.apache.struts2.dispatcher.multipart. ?HsQ417.H  
      MultiPartRequest parser implementation for a multipart request (file upload) ]]InD N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .y)Y20=o!  
XDot3)2`  
voD0 u  
struts.multipart.saveDir >h[ {_+  
      The directory to use for storing uploaded files MPn 6sf9M  
      设置存储上传文件的目录夹 $69ef[b  
m^9[k,;K  
struts.objectFactory [pc6!qhDG&  
      The com.opensymphony.xwork2.ObjectFactory implementation class U#7moS'r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hDP&~Mk  
? >\JX  
struts.objectFactory.spring.autoWire A3!xYG=+  
      Whether Spring should autoWire or not "I7 Sed7  
      是否自动绑定Spring OLl?1  
No'^]r  
struts.objectFactory.spring.useClassCache G;'=#c ^  
      Whether Spring should use its class cache or not _(TYR*  
      是否spring应该使用自身的cache )=PmHUd  
!6d6b@Mv  
struts.objectTypeDeterminer {eQ')f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pYtvenBy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -9L [eYn  
/IkSgKJiz\  
struts.serve.static.browserCache %.zcE@7*  
If static content served by the Struts filter should set browser caching header properties or not WX2w7O'R  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J[?7`6\M  
u`Sg'ro  
struts.serve.static z.xOT;t  
      Whether the Struts filter should serve static content or not I1TzPe  
      是否struts过滤器应该提供静态内容 =` %iv|>r0  
,^>WC G  
struts.tag.altSyntax q3~RK[OCq  
      Whether to use the alterative syntax for the tags or not ]h`<E~  
      是否可以用替代的语法替代tags k *#fN(_  
z1WF@ Ej  
struts.ui.templateDir 2".^Ma^D!  
      The directory containing UI templates clcj5=:  
      UI templates的目录夹 uqN:I)>[P  
s-z*Lq*  
struts.ui.theme /=|5YxY  
      The default UI template theme %)|_&Rh  
      默认的UI template主题 +dt b~M  
!OO{qw(*g  
struts.url.http.port )]^xy&:|  
      The HTTP port used by Struts URLs _BA2^C':c{  
      设置http端口 .ZB/!WiF  
(t{m(;/  
struts.url.https.port )Q!3p={S*  
      The HTTPS port used by Struts URLs 4ZRE3^y\"  
      设置https端口 .&Vy o<9Ck  
o C5}[cYD`  
struts.url.includeParams U'Xw'?Uj  
      The default includeParams method to generate Struts URLs mp\`9j+{  
      在url中产生 默认的includeParams !GNLq.rQ  
neHozmm|  
ub#>kCL9  
struts.velocity.configfile l5 FM>q  
      The Velocity configuration file path Je5UVf3>2&  
      velocity配置文件路径 \Jcj4  
E@f2hW2  
struts.velocity.contexts ;M95A  
      List of Velocity context names @ eQo  
      velocity的context列表 w'Cn3b)`  
RCS91[  
f a9n6uT  
struts.velocity.manager.classname 'A|OVyH  
      org.apache.struts2.views.velocity.VelocityManager implementation class :EX H8n&|  
      org.apache.struts2.views.velocity.VelocityManager接口名 N~w4|q!]  
mJ>@Dh3>G  
struts.velocity.toolboxlocation v7L} I[f  
      The location of the Velocity toolbox [CfA\-gx<f  
      velocity工具盒的位置 => PBdW  
struts.xslt.nocache * MJl(  
      Whether or not XSLT templates should not be cached 8olR#>  
      是否XSLT模版应该被缓存 }iK_7g`yKa  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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