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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y!CGuLHL`[  
.A <n2-  
struts.action.extension %XZdz =B  
      The URL extension to use to determine if the request is meant for a Struts action 0I>[rxal  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OlYCw.Zu  
&$_#{?dPt  
struts.configuration P.]O8r  
      The org.apache.struts2.config.Configuration implementation class D-\z'gS  
        org.apache.struts2.config.Configuration接口名 ,SoqVboRl  
&n& ndq  
struts.configuration.files QdP)-Fx  
      A list of configuration files automatically loaded by Struts ro@`S:  
      struts自动加载的一个配置文件列表 %ZZW p%uf  
%|By ?i  
struts.configuration.xml.reload WR4\dsgCU  
      Whether to reload the XML configuration or not JA^Y:@<{/  
      是否加载xml配置(true,false) 4B@L<Rl{\  
},tn  
struts.continuations.package a(eUdGJ  
      The package containing actions that use Rife continuations {;Y2O.lV  
      含有actions的完整连续的package名称  =u Ieur  
Pb@9<NXm'  
struts.custom.i18n.resources KEvT."t  
      Location of additional localization properties files to load gA:N>w&<X  
      加载附加的国际化属性文件(不包含.properties后缀) Twr<MXa  
~,P."  
struts.custom.properties Kyq/o-  
      Location of additional configuration properties files to load n4Eqm33  
      加载附加的配置文件的位置 z8n]6FDiE  
4w0Y(y  
[ncOtDE  
struts.devMode  Q ,)}t  
      Whether Struts is in development mode or not ZG)%vB2c  
      是否为struts开发模式 /s^O M`5  
fk:oCPo  
struts.dispatcher.parametersWorkaround Q::6|B,G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F /% 5 r{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) twJ)h :!_y  
!3#*hL1fy  
struts.enable.DynamicMethodInvocation "]D2}E>U;  
      Allows one to disable dynamic method invocation from the URL iMr/i?`i  
        允许动态方法调用 L&SlUXyt.c  
MzO4Yv"A  
struts.freemarker.manager.classname Ue)8g#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z3 $3zyi  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &5F@u IA  
7\1bq&a<  
struts.i18n.encoding 9DP6g<>B  
      The encoding to use for localization messages ,Q8)r0c  
      国际化信息内码 fu?Y'Qet  
m\xE8D(,  
struts.i18n.reload <xQHb^:  
      Whether the localization messages should automatically be reloaded Jri"Toz0  
      是否国际化信息自动加载 )mMHwLDwH  
3xGk@ 333  
struts.locale `?R~iLIAq  
      The default locale for the Struts application .ahYj n  
      默认的国际化地区信息 U.HeIJ#  
! FVXNl  
struts.mapper.class Gdf*x<T1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %rZJ#p[e)=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _4jRUsvjY  
|0$wRl+kN  
struts.multipart.maxSize <kr%ylhIu  
      The maximize size of a multipart request (file upload) rwUKg[ 1N  
      multipart请求信息的最大尺寸(文件上传用) 2,O;<9au<  
MH,vn</Uw  
struts.multipart.parser @ \(*pa  
      The org.apache.struts2.dispatcher.multipart. i''[ u  
      MultiPartRequest parser implementation for a multipart request (file upload) L5tSS=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5w+X   
h&}XG\ioNA  
F7zBm53  
struts.multipart.saveDir REvY`   
      The directory to use for storing uploaded files qm1;^j&y  
      设置存储上传文件的目录夹 p%v+\T2r  
Rv T>{G~  
struts.objectFactory sOBy)vq?\  
      The com.opensymphony.xwork2.ObjectFactory implementation class wLf=a^c#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GCTf/V\#  
3G7Qo  
struts.objectFactory.spring.autoWire OK}+:Y  
      Whether Spring should autoWire or not y84= Q  
      是否自动绑定Spring )q48cQ  
,U#$Qb 12  
struts.objectFactory.spring.useClassCache 3,cZ*4('d  
      Whether Spring should use its class cache or not lJloa'%v9  
      是否spring应该使用自身的cache >1=sw qa  
.?YLD+\A  
struts.objectTypeDeterminer Htf|VpzMb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s5TPecd  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;nbUbRb  
yF}l.>7D  
struts.serve.static.browserCache BtN@P23>k.  
If static content served by the Struts filter should set browser caching header properties or not Gdd lB2L)x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {-( B  
p Rn vd|  
struts.serve.static *hp3w  
      Whether the Struts filter should serve static content or not W:^\Oe5&a  
      是否struts过滤器应该提供静态内容 PKhH0O\_U  
jz_\B(m9%  
struts.tag.altSyntax +8 avA:o  
      Whether to use the alterative syntax for the tags or not $DOBC@xxzT  
      是否可以用替代的语法替代tags b{KpfbxcI  
9oL/oL-J/  
struts.ui.templateDir (@H'7,  
      The directory containing UI templates )h0F'MzW  
      UI templates的目录夹 *LbRLwt  
Ih]'OaE   
struts.ui.theme 8uR4ZE*  
      The default UI template theme `eat7O  
      默认的UI template主题 bt/u^E  
}-:s9Lt  
struts.url.http.port `)[bu  
      The HTTP port used by Struts URLs tU02t#8  
      设置http端口 Wv]NFHe#  
IG1+_-H:  
struts.url.https.port MH+t`/E0]  
      The HTTPS port used by Struts URLs '{:WxGgi  
      设置https端口 c:Tw.WA  
FbVdqO  
struts.url.includeParams  'mz _JM  
      The default includeParams method to generate Struts URLs $~<);dYu0  
      在url中产生 默认的includeParams at@B>Rb  
1YmB2h[Z  
9WaKsdf  
struts.velocity.configfile %Bo/vB'  
      The Velocity configuration file path 6^pddGIG  
      velocity配置文件路径 1)8;9 Ba:  
6Hz45  
struts.velocity.contexts h[SuuW  
      List of Velocity context names R!i9N'gGG(  
      velocity的context列表 cCd2f>EHw  
\Ze"Hv  
`Tx1?]  
struts.velocity.manager.classname MX-(;H  
      org.apache.struts2.views.velocity.VelocityManager implementation class LY%`O#i.  
      org.apache.struts2.views.velocity.VelocityManager接口名 C ebl"3Q  
G!J{$0.  
struts.velocity.toolboxlocation x;,H>!r"i  
      The location of the Velocity toolbox ]urrAIK  
      velocity工具盒的位置 t'bzhPQO)f  
struts.xslt.nocache H1H+TTZr  
      Whether or not XSLT templates should not be cached CY&Z*JI"'B  
      是否XSLT模版应该被缓存 P%8zxU;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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