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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Qxw?D4/Y  
L?W F[nF R  
struts.action.extension G;^},%<  
      The URL extension to use to determine if the request is meant for a Struts action {$dq7m(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tEj-c@`"x-  
Oa8lrP`(  
struts.configuration e:&+m`OSH  
      The org.apache.struts2.config.Configuration implementation class ~M>EB6  
        org.apache.struts2.config.Configuration接口名 =\t%U5  
|U~m8e&:  
struts.configuration.files 8$c_M   
      A list of configuration files automatically loaded by Struts nUgZ]ag=G  
      struts自动加载的一个配置文件列表 9>@@W#TK~  
J\WUBt-M  
struts.configuration.xml.reload @|N'V"*MT  
      Whether to reload the XML configuration or not mX4u#$xs:  
      是否加载xml配置(true,false) Z= 'DV1A$,  
"ggViIOw&  
struts.continuations.package ^rHG#^hA  
      The package containing actions that use Rife continuations `|{6U"n  
      含有actions的完整连续的package名称 X=sC8Edx  
zc}qAy'<  
struts.custom.i18n.resources \.@fAgv  
      Location of additional localization properties files to load 7K*\F}2)q  
      加载附加的国际化属性文件(不包含.properties后缀) , W w\C  
VE <p,IO  
struts.custom.properties W .B>"u  
      Location of additional configuration properties files to load m!Iax]D{  
      加载附加的配置文件的位置 tA*hh"9  
H(MCY3t  
GT -(r+u  
struts.devMode [<2#C#P:6  
      Whether Struts is in development mode or not ,-4SVj8$P  
      是否为struts开发模式 7wO0d/l_  
S:\a&+og  
struts.dispatcher.parametersWorkaround M;14s*g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic & o2F4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *@EItj`  
72YL   
struts.enable.DynamicMethodInvocation "*ot:;I  
      Allows one to disable dynamic method invocation from the URL y([""z3<w  
        允许动态方法调用 %Ydzzr3  
M[;N6EJH  
struts.freemarker.manager.classname  AU3Ou5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $& 0hpg  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =p1aF/1$I  
zF%'~S0{  
struts.i18n.encoding -{ae  
      The encoding to use for localization messages aMUy^>  
      国际化信息内码 w2 L'j9  
ftL>oOz[  
struts.i18n.reload $>72 g.B  
      Whether the localization messages should automatically be reloaded jJX-S  
      是否国际化信息自动加载 n@hf{hA[a  
L\:f#b~W  
struts.locale SGZ]_  
      The default locale for the Struts application fs43\m4= m  
      默认的国际化地区信息 ]~')OSjw  
ZPM,ZGlu:  
struts.mapper.class o(2tRDT\_b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FXAP]iqo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 BIFuQ?j3  
-w0U }Te^  
struts.multipart.maxSize ))pp{X2m  
      The maximize size of a multipart request (file upload) mt0ZD}E  
      multipart请求信息的最大尺寸(文件上传用) :X?bWxOJ  
s+=JT+g  
struts.multipart.parser P,(Tu.EPk  
      The org.apache.struts2.dispatcher.multipart. <@Lw '  
      MultiPartRequest parser implementation for a multipart request (file upload) (>E}{{>2r  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ap{2*o  
@YH<Hc  
CL~21aslI  
struts.multipart.saveDir \:ELO[(#|{  
      The directory to use for storing uploaded files 'CrBxaA]s  
      设置存储上传文件的目录夹 :3FJe  
qkM<t?uS  
struts.objectFactory S.!0~KR: U  
      The com.opensymphony.xwork2.ObjectFactory implementation class _n[4+S*v(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) uv:DO6 {  
3\=iB&Gf|  
struts.objectFactory.spring.autoWire $'9b,- e  
      Whether Spring should autoWire or not +npcU:(Kg  
      是否自动绑定Spring v(H CnC  
C:]&V*d.v4  
struts.objectFactory.spring.useClassCache ,u^RZ[}  
      Whether Spring should use its class cache or not NXwlRMbo  
      是否spring应该使用自身的cache QO'=O}e  
|bHId!d  
struts.objectTypeDeterminer F(-1m A&-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?q68{!{bi  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6Y#V;/gK!5  
\Oku<5  
struts.serve.static.browserCache ]^>#?yEA3  
If static content served by the Struts filter should set browser caching header properties or not 33R_JM{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ""j(wUp-W  
>=|;2*9v  
struts.serve.static ?z:Xdx\l  
      Whether the Struts filter should serve static content or not jslfq@5v  
      是否struts过滤器应该提供静态内容 -nC 5  
OT & mNE4  
struts.tag.altSyntax X(b"b:j'  
      Whether to use the alterative syntax for the tags or not E !a5-SrR  
      是否可以用替代的语法替代tags "S">#.L  
JD\:bI  
struts.ui.templateDir v{R:F  
      The directory containing UI templates jh3LD6|s}  
      UI templates的目录夹 `7;I*|  
D]I]I!2c  
struts.ui.theme  IX|2yu4  
      The default UI template theme ?\HXYCi0r  
      默认的UI template主题 7R$]BY=  
O_PKS$sz{  
struts.url.http.port C$Y pk\p  
      The HTTP port used by Struts URLs VTDp9s  
      设置http端口  2iUdTy$  
BjT0m k"P  
struts.url.https.port *mqoyOa  
      The HTTPS port used by Struts URLs >3S^9{d  
      设置https端口 7qyv.{+  
_;A?w8z  
struts.url.includeParams bd n{Y  
      The default includeParams method to generate Struts URLs y=L9E?  
      在url中产生 默认的includeParams H:~41f[  
8Nr,Wq  
y6[^I'kz  
struts.velocity.configfile ]FJpe^ ua  
      The Velocity configuration file path ^,Sl^ 9K  
      velocity配置文件路径 n9J.]+@J  
y.zS?vv2g  
struts.velocity.contexts lgxG:zAC  
      List of Velocity context names S?Y,sl+A:  
      velocity的context列表 ~%6GF57gC  
OVsZUmSG  
39W"G7n?v  
struts.velocity.manager.classname [*-DtbEk  
      org.apache.struts2.views.velocity.VelocityManager implementation class QfI)+pf  
      org.apache.struts2.views.velocity.VelocityManager接口名 4eSV( u)4  
EZm6WvlxSI  
struts.velocity.toolboxlocation UTatcn  
      The location of the Velocity toolbox hM!D6: t  
      velocity工具盒的位置 %"R|tlG  
struts.xslt.nocache lP@/x+6tg  
      Whether or not XSLT templates should not be cached c3\z  
      是否XSLT模版应该被缓存 |eEcEu?/b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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