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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1^ go)(Mx  
hlz/TIP^N3  
struts.action.extension ~QUN O~  
      The URL extension to use to determine if the request is meant for a Struts action BB ::zBg  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Dtyw]|L\H  
`B,R+==G:  
struts.configuration 51* [Ibx  
      The org.apache.struts2.config.Configuration implementation class |34w<0Pc,  
        org.apache.struts2.config.Configuration接口名 ~=<uYv?0s  
sP~xe(  
struts.configuration.files FMzG6nrdBN  
      A list of configuration files automatically loaded by Struts NbCIL8f]  
      struts自动加载的一个配置文件列表 &7\fj  
W7{^/s5r  
struts.configuration.xml.reload {Z Ld_VGW  
      Whether to reload the XML configuration or not lhf5[Rp  
      是否加载xml配置(true,false) l)'*jZ  
gA3f@7}d  
struts.continuations.package }]<|`FNc  
      The package containing actions that use Rife continuations 8Z)wot  
      含有actions的完整连续的package名称 ?crK613 t  
l-x-  
struts.custom.i18n.resources |CQ0{1R1  
      Location of additional localization properties files to load ]86*k %A  
      加载附加的国际化属性文件(不包含.properties后缀) H\a\xCP3  
:)kHXOb.  
struts.custom.properties _::ssnG3jT  
      Location of additional configuration properties files to load :@@m'zF<;  
      加载附加的配置文件的位置 L>0Pur)[  
D G&aFmC  
a=vH:D  
struts.devMode tCA0H\';  
      Whether Struts is in development mode or not W1ndb:  
      是否为struts开发模式 rj?c   
}([}A`@  
struts.dispatcher.parametersWorkaround BWB}bq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %c%`< y<~L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZCMH?>  
8 @RJ>  
struts.enable.DynamicMethodInvocation LvZ',u}  
      Allows one to disable dynamic method invocation from the URL $@L2zl1  
        允许动态方法调用 1s(i\&B  
H]f[r~  
struts.freemarker.manager.classname TefPxvd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -"^xg"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hF`<I.z}  
SMfa(+VI  
struts.i18n.encoding iOL/u)   
      The encoding to use for localization messages 2vb qz  
      国际化信息内码 <(yAat$H  
<P@O{Xi+K  
struts.i18n.reload N[v=;&  
      Whether the localization messages should automatically be reloaded oTcf[<   
      是否国际化信息自动加载 |WfL'_?$  
H<P d&  
struts.locale y9=<q%Kc-  
      The default locale for the Struts application e ~cg  (.  
      默认的国际化地区信息 b):aqRwP  
0"ooHP$1  
struts.mapper.class 9\=SG"e(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  obPG]*3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )|AxQPd  
]mgpd}Y  
struts.multipart.maxSize D(&WEmm\B  
      The maximize size of a multipart request (file upload)  !$!%era`  
      multipart请求信息的最大尺寸(文件上传用) dO,; k +  
M=SrZ,W  
struts.multipart.parser W/CZ/Mc  
      The org.apache.struts2.dispatcher.multipart. %T\ 2.vl  
      MultiPartRequest parser implementation for a multipart request (file upload) y7GgTC/H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) [nrD4  
vL^ +X`.td  
dy'lM ;@-  
struts.multipart.saveDir  3SPXJa\i  
      The directory to use for storing uploaded files {y%@1q%"  
      设置存储上传文件的目录夹 D";clP05K  
)@y7 qb  
struts.objectFactory @U1t~f^  
      The com.opensymphony.xwork2.ObjectFactory implementation class IR;3{o  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *&R|0I{>  
GMoz$c6n_  
struts.objectFactory.spring.autoWire #CB Kt,  
      Whether Spring should autoWire or not |oe  
      是否自动绑定Spring <E^;RG  
wx!2/I>  
struts.objectFactory.spring.useClassCache 9- 24c  
      Whether Spring should use its class cache or not 3a=\$x@  
      是否spring应该使用自身的cache 5j9%W18  
o=xMaA  
struts.objectTypeDeterminer 0<fQjXn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t=s.w(3t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ziM@@$ .F  
kmtkh "  
struts.serve.static.browserCache /g!Xe]Ss  
If static content served by the Struts filter should set browser caching header properties or not }qZ^S9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tAujm*|&  
aH8]$e8_,\  
struts.serve.static ;W FiMM\  
      Whether the Struts filter should serve static content or not ez5>V7Y  
      是否struts过滤器应该提供静态内容 yMD0Tj5ZQ  
/V#? d  
struts.tag.altSyntax +V[;DOlll  
      Whether to use the alterative syntax for the tags or not 'Z#>K*  
      是否可以用替代的语法替代tags -C!m#"PDW  
tT]mMlKJ  
struts.ui.templateDir 5Nbq9YY  
      The directory containing UI templates =ReSlt  
      UI templates的目录夹 u|D L?c>W  
E]r<t#  
struts.ui.theme KDA2 H>  
      The default UI template theme s vS)7]{cU  
      默认的UI template主题 {/>uc,8O  
>*n4j:  
struts.url.http.port EV-# E  
      The HTTP port used by Struts URLs Bqb`WX[<`  
      设置http端口 'R42N3|F  
zvdIwV&oT  
struts.url.https.port S1C#5=  
      The HTTPS port used by Struts URLs "I{Lcn~!@  
      设置https端口 ltNY8xrdGN  
yF+mJ >kj  
struts.url.includeParams dk]A,TB*2  
      The default includeParams method to generate Struts URLs CLJn+Y2  
      在url中产生 默认的includeParams %afF%y  
<54KWC86)J  
ocp  
struts.velocity.configfile `G:hC5B  
      The Velocity configuration file path t\Qm2Q)>  
      velocity配置文件路径 Vh]=sd<F  
X gtn}7N.  
struts.velocity.contexts L;+e)I]  
      List of Velocity context names j X*gw6!  
      velocity的context列表 + [$Td%6  
jyidNPLm4  
t2rZ%[O  
struts.velocity.manager.classname |tTcJ\bG  
      org.apache.struts2.views.velocity.VelocityManager implementation class %*IH~/Ld;]  
      org.apache.struts2.views.velocity.VelocityManager接口名 `49!di[  
3Ljj|5.q  
struts.velocity.toolboxlocation ^BW8zu@=O  
      The location of the Velocity toolbox ZU2D.Kf_:  
      velocity工具盒的位置 wnQi5P+  
struts.xslt.nocache s*eM}d.p  
      Whether or not XSLT templates should not be cached ")nKFs5  
      是否XSLT模版应该被缓存 %/hokyx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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