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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UV|{za$&/  
=ZS Yg K  
struts.action.extension .NWsr*Tel  
      The URL extension to use to determine if the request is meant for a Struts action A46dtFD{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 CUB;0J(  
5> dA7j^v  
struts.configuration PL"=>  
      The org.apache.struts2.config.Configuration implementation class bv41et+Kb  
        org.apache.struts2.config.Configuration接口名 9~^k3!>0  
u;%~P 9O  
struts.configuration.files 0rX%z$D+@  
      A list of configuration files automatically loaded by Struts nVlZ_72d  
      struts自动加载的一个配置文件列表 4]}d'x&  
yC@PMyE]  
struts.configuration.xml.reload 3Ch42<  
      Whether to reload the XML configuration or not rhYARr'  
      是否加载xml配置(true,false) ` *hTx|!'  
l_((3e[)  
struts.continuations.package n[BYBg1yG  
      The package containing actions that use Rife continuations lB_4jc  
      含有actions的完整连续的package名称 nzO -\`40  
QP"5A7=m  
struts.custom.i18n.resources -^np"Jk  
      Location of additional localization properties files to load Rxw+`ru  
      加载附加的国际化属性文件(不包含.properties后缀) )EYs+7/t  
 "X=^MGV  
struts.custom.properties Gqq< -drR  
      Location of additional configuration properties files to load io"NqR#"v  
      加载附加的配置文件的位置 zp4@T)  
;B< rw ^h5  
lX.1B&T9Lr  
struts.devMode |-v/  
      Whether Struts is in development mode or not UU}Hs}  
      是否为struts开发模式 UQI!/6F  
d:Z|It  
struts.dispatcher.parametersWorkaround rD6NUS  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s!W{ru  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6ImW |%  
f% 8n?f3;u  
struts.enable.DynamicMethodInvocation Dd OK&  
      Allows one to disable dynamic method invocation from the URL J;V#a=I  
        允许动态方法调用 3Zz_wr6  
sw$JY}Q8x  
struts.freemarker.manager.classname %U<lS.i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a@_n>$LZL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bTx4}>=5l  
Yjy%MR  
struts.i18n.encoding | Eu#mN  
      The encoding to use for localization messages amQiH!}8R  
      国际化信息内码 'mv|6Y  
}If,O  
struts.i18n.reload $/u.F;  
      Whether the localization messages should automatically be reloaded 6QHUBm2  
      是否国际化信息自动加载 M"-53|#:w\  
#p{8  
struts.locale ?t;,Nk`jx  
      The default locale for the Struts application "SKv'*\b  
      默认的国际化地区信息 C9Cl$yZ  
x wfdJ(&  
struts.mapper.class EE9eG31|r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?+c-m+;wj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u3X!O  
I_c?Ky8J_|  
struts.multipart.maxSize Q>z (!'dw  
      The maximize size of a multipart request (file upload) -hK^*vJ  
      multipart请求信息的最大尺寸(文件上传用) ) [)1  
SQ/}K8uZ  
struts.multipart.parser R{B5{~m>W@  
      The org.apache.struts2.dispatcher.multipart. U~|)=+%O  
      MultiPartRequest parser implementation for a multipart request (file upload) W9GjUswv!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3;//o<  
P=ubCS'  
j;_E0j#  
struts.multipart.saveDir `y"a>gHC  
      The directory to use for storing uploaded files 3!KyO)8  
      设置存储上传文件的目录夹 Ngrj@_J  
S>[&]  
struts.objectFactory 7*+tG7I @  
      The com.opensymphony.xwork2.ObjectFactory implementation class JFRbW Q0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \  6Y%z  
6m9\0)R  
struts.objectFactory.spring.autoWire meD83,L~N  
      Whether Spring should autoWire or not kCZ'p  
      是否自动绑定Spring u\K`TWb%  
lo7>$`Q  
struts.objectFactory.spring.useClassCache `j6O  
      Whether Spring should use its class cache or not k c L +  
      是否spring应该使用自身的cache V' sq'XB  
SphP@J<ONW  
struts.objectTypeDeterminer w\JTMS$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &61h*s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =`qEwA  
qz-lQ  
struts.serve.static.browserCache pW<l9W  
If static content served by the Struts filter should set browser caching header properties or not _k)EqPYu@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }o=s"0a  
`:gXQmt  
struts.serve.static UE/iq\a>  
      Whether the Struts filter should serve static content or not oJc v D  
      是否struts过滤器应该提供静态内容 m.yt?`  
,_'Z Jlx  
struts.tag.altSyntax J32"Ytdo<  
      Whether to use the alterative syntax for the tags or not RHI?_gf&  
      是否可以用替代的语法替代tags y<ZT~e  
dY?>:ce  
struts.ui.templateDir 1mv8[^pF  
      The directory containing UI templates xn<x/e  
      UI templates的目录夹 w\>@> *E>  
Gbb*p+ (  
struts.ui.theme wem hP8!gc  
      The default UI template theme }vX 1@n7T6  
      默认的UI template主题 <a(739IF  
[TmZ\t!5$  
struts.url.http.port .A7ON1lc^C  
      The HTTP port used by Struts URLs iT~ gt/K  
      设置http端口 T mH5+  
zrA =?[  
struts.url.https.port *)T7DN8  
      The HTTPS port used by Struts URLs p+F>+OQ*  
      设置https端口 J)^Kls\> t  
g0s *4E  
struts.url.includeParams NV18~5#</  
      The default includeParams method to generate Struts URLs fTI~wF8!  
      在url中产生 默认的includeParams kI^Pu  
ou\~^  
kybDw{(}gc  
struts.velocity.configfile WQNFHRfO*n  
      The Velocity configuration file path {%v{iE>  
      velocity配置文件路径 Mgux (5`;  
~T\:".C  
struts.velocity.contexts :w9s bW  
      List of Velocity context names 4='/]z  
      velocity的context列表 <xD6}h/  
j2%M-y4E  
E(an5x/r  
struts.velocity.manager.classname V}/AQe2m&  
      org.apache.struts2.views.velocity.VelocityManager implementation class R@[1a+}5  
      org.apache.struts2.views.velocity.VelocityManager接口名 UmP\;  
-pN'r/$3V  
struts.velocity.toolboxlocation f!}e*oX  
      The location of the Velocity toolbox MJcWX|(y  
      velocity工具盒的位置 i)M JP*  
struts.xslt.nocache `_.(qg   
      Whether or not XSLT templates should not be cached ej]>*n  
      是否XSLT模版应该被缓存 i=`@)E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五