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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l\2"u M#7  
l*Fp}d.  
struts.action.extension hM&VMa[  
      The URL extension to use to determine if the request is meant for a Struts action WpMm%G~'4t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p _2Yc]8  
LG{50sP`  
struts.configuration yNG|YB;  
      The org.apache.struts2.config.Configuration implementation class iAeq%N1(0  
        org.apache.struts2.config.Configuration接口名 WDr=+=Zj  
MM&qLAa"f  
struts.configuration.files J<9}) m  
      A list of configuration files automatically loaded by Struts !<F5W <V  
      struts自动加载的一个配置文件列表 Moi>Dp  
] pv!Ll  
struts.configuration.xml.reload aU#r`D@0  
      Whether to reload the XML configuration or not vq\L9$WJ  
      是否加载xml配置(true,false) IK8" 3+(  
0Ca/[_  
struts.continuations.package g>a% gVly  
      The package containing actions that use Rife continuations +S1h~@c:B  
      含有actions的完整连续的package名称 ~| oB|>  
`'9t^ 6mk  
struts.custom.i18n.resources k`\L-*:Ji  
      Location of additional localization properties files to load ?xwZ< A  
      加载附加的国际化属性文件(不包含.properties后缀) "y ;0}9]n1  
)/z+W[t  
struts.custom.properties 0&3zBL%Bo  
      Location of additional configuration properties files to load [t*-s1cq  
      加载附加的配置文件的位置 6kONuG7Yv  
2Y;iqR  
~F;>4q   
struts.devMode 3g0v,7,Zv  
      Whether Struts is in development mode or not R#ya9GN{  
      是否为struts开发模式 LX(`@-<DH  
q1A0-W#4  
struts.dispatcher.parametersWorkaround \}gITc).j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @y|JIBBRc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kPSi6ci  
L f;Uv[^c  
struts.enable.DynamicMethodInvocation < [17&F0  
      Allows one to disable dynamic method invocation from the URL ph3dm\U.  
        允许动态方法调用 A8ClkLC;I  
3)l<'~"z<  
struts.freemarker.manager.classname [h.i,%Ua"P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R?:(~ X\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gd|jE  
4EhWK;ra  
struts.i18n.encoding JNI&]3[C>?  
      The encoding to use for localization messages yp pZ@  
      国际化信息内码 NH,4>mV$!  
Nu><r  
struts.i18n.reload |e2s{J2   
      Whether the localization messages should automatically be reloaded ALKzR433/  
      是否国际化信息自动加载 wy""02j  
7[M@;$  
struts.locale FCChB7c`  
      The default locale for the Struts application OuB [[L  
      默认的国际化地区信息 # tU@\H5kN  
wNl "y  
struts.mapper.class djDE0-QxcR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K3`48,`?wA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *#B"%;Ln  
KwxJ{$|xH  
struts.multipart.maxSize %vU*4mH  
      The maximize size of a multipart request (file upload) VS+5{w:t  
      multipart请求信息的最大尺寸(文件上传用) zzX9Q:  
k-$J #  
struts.multipart.parser /$UWTq/C7  
      The org.apache.struts2.dispatcher.multipart. oN(F$Nvk  
      MultiPartRequest parser implementation for a multipart request (file upload) wOR#sp&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Hnbd<?y   
(9+N_dLx~P  
SvGs?nUU  
struts.multipart.saveDir E|Z7art  
      The directory to use for storing uploaded files A)q,VSR8  
      设置存储上传文件的目录夹 b(H) 8#C  
H@WQO]P A  
struts.objectFactory )hai?v~g  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1 +'HKT}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) r#[YBaCZJ  
yLlAK,5P0o  
struts.objectFactory.spring.autoWire C\dlQQ  
      Whether Spring should autoWire or not CVFsp>+  
      是否自动绑定Spring c F (]`49(  
MhpR^VM'.  
struts.objectFactory.spring.useClassCache u +OfUBrf  
      Whether Spring should use its class cache or not 7eg//mL"6  
      是否spring应该使用自身的cache d\ Z#XzI8  
&c!=< <5M  
struts.objectTypeDeterminer [0G>=h@u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9jwo f}OU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]& q mV  
BOp&s>hI  
struts.serve.static.browserCache (8(z42  
If static content served by the Struts filter should set browser caching header properties or not v+*l|!v  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gZs8BKO  
cNG6 A4  
struts.serve.static 1xo<V5  
      Whether the Struts filter should serve static content or not AcF;5h  
      是否struts过滤器应该提供静态内容 }?Y+GT"E  
$V8B =k~  
struts.tag.altSyntax ? I}T[j  
      Whether to use the alterative syntax for the tags or not d0 tN73(  
      是否可以用替代的语法替代tags '4A8\&lQO  
E 2DTE  
struts.ui.templateDir Q'^]lVY  
      The directory containing UI templates F#^.L|d4  
      UI templates的目录夹 5aTyM_x  
5\tYs=>b<  
struts.ui.theme 2g^Kf,m  
      The default UI template theme yREO;m|o  
      默认的UI template主题 mHox  
<_H0Q_/(  
struts.url.http.port !`='K +  
      The HTTP port used by Struts URLs z@ A5t4+3  
      设置http端口 f(?`PD[  
6#5@d^a  
struts.url.https.port /7h%sCX  
      The HTTPS port used by Struts URLs 6|LDb"Rvy  
      设置https端口 -zz9k=q  
N2tvP+Z6D  
struts.url.includeParams (vjQF$Hp  
      The default includeParams method to generate Struts URLs ~eL7=G@{  
      在url中产生 默认的includeParams {\ziy4<II  
0tB9X9:,  
Z[`J'}?|  
struts.velocity.configfile Z#;ieI\  
      The Velocity configuration file path =fi.*d?$7  
      velocity配置文件路径 A Sy7")5  
^ I,1kl~i  
struts.velocity.contexts qg6Hk:^r  
      List of Velocity context names =OO_TPEZ  
      velocity的context列表 ?-\KVha  
kC9A  
" Jnq~7]  
struts.velocity.manager.classname rmQGzQnun  
      org.apache.struts2.views.velocity.VelocityManager implementation class i$:CGUb  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~`_nw5y  
-07(#>  
struts.velocity.toolboxlocation 2#W%--  
      The location of the Velocity toolbox p dnL~sv  
      velocity工具盒的位置 >Q5E0 !]  
struts.xslt.nocache Z*]n]eS  
      Whether or not XSLT templates should not be cached 9R;s;2$.  
      是否XSLT模版应该被缓存 ~T4 =Id  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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