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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 > >p3#~/  
vNP,c]:%  
struts.action.extension o}<}zTU  
      The URL extension to use to determine if the request is meant for a Struts action R ~#\gMs  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f5AK@]4G  
AkGCIn3  
struts.configuration 9k1n-po  
      The org.apache.struts2.config.Configuration implementation class %A04'dj`zQ  
        org.apache.struts2.config.Configuration接口名 .-{B  
ACs?m\$Q  
struts.configuration.files z"|^Y|`m  
      A list of configuration files automatically loaded by Struts tJc9R2  
      struts自动加载的一个配置文件列表 94Z~]C  
m8.sHw  
struts.configuration.xml.reload 9M<{@<]dm  
      Whether to reload the XML configuration or not tT'+3  
      是否加载xml配置(true,false) RV-7y^[]^  
BDpeAF8z  
struts.continuations.package v*kTTaU&  
      The package containing actions that use Rife continuations VHJOj  
      含有actions的完整连续的package名称 F]x o*  
'6WaG hvO  
struts.custom.i18n.resources 1qtu,yIf  
      Location of additional localization properties files to load in$Pk$ c  
      加载附加的国际化属性文件(不包含.properties后缀) X2~>Z^, U  
*:wu{3g}M`  
struts.custom.properties 0Db#W6*^  
      Location of additional configuration properties files to load *G^ QS"%  
      加载附加的配置文件的位置 s/8>(-H#  
dx?4)lb  
\)pk/  
struts.devMode 1s .Ose  
      Whether Struts is in development mode or not :beBiO  
      是否为struts开发模式 #7GbG\  
|,|b~>  
struts.dispatcher.parametersWorkaround 3DbS\jja  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S 7RB` I5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,*Jm\u  
1 %K^(J;  
struts.enable.DynamicMethodInvocation j"hfsA<_I  
      Allows one to disable dynamic method invocation from the URL !q mnMY$  
        允许动态方法调用 $3k5hDA0e  
"*a^_tsT?i  
struts.freemarker.manager.classname /2 ')u|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gq!| 0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4gzrxV  
j'g':U  
struts.i18n.encoding > -OQk"o  
      The encoding to use for localization messages #}3$n/  
      国际化信息内码 ND77(I$3s  
se2ay_<F+  
struts.i18n.reload X2v|O3>/N  
      Whether the localization messages should automatically be reloaded @#xh)"}  
      是否国际化信息自动加载 A46Xei:Ow  
f 0D9Mp  
struts.locale _ 7X0  
      The default locale for the Struts application k%Jv%m}aB  
      默认的国际化地区信息 Mt"j< ]EW  
C;QIp6"1  
struts.mapper.class 0x*L"HD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _gxI=EYi  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _Gv n1"l  
|5^tp  
struts.multipart.maxSize e4ym6q<6!  
      The maximize size of a multipart request (file upload) kO>F, M  
      multipart请求信息的最大尺寸(文件上传用) .IXkdy  
|]y]K%  
struts.multipart.parser v!JQ;OX  
      The org.apache.struts2.dispatcher.multipart. BxVo>r  
      MultiPartRequest parser implementation for a multipart request (file upload) 0rP`BK|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bS[;d5  
p'tB4V qT  
5 ELKL#(  
struts.multipart.saveDir Zl^#U c"  
      The directory to use for storing uploaded files bxLeQWr6  
      设置存储上传文件的目录夹 )2~Iqzc4  
Ev+m+  
struts.objectFactory !Nua  
      The com.opensymphony.xwork2.ObjectFactory implementation class KeFEUHU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) . Lbu[  
p;$Vw6W=  
struts.objectFactory.spring.autoWire ?B7n,!&~  
      Whether Spring should autoWire or not XpFW(v  
      是否自动绑定Spring ;n0VF77>O  
h2<Y*j  
struts.objectFactory.spring.useClassCache JL.noV3q$  
      Whether Spring should use its class cache or not =wE1j  
      是否spring应该使用自身的cache '[V}]Z>-  
x=s=~cu4,  
struts.objectTypeDeterminer 5F&xU$$a-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8$4@U;Vh;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $ReoIU^<  
tn>z%6;&Z  
struts.serve.static.browserCache !(QDhnx}9c  
If static content served by the Struts filter should set browser caching header properties or not #[=%+*Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D; i%J  
T$)N2]FE  
struts.serve.static i^ `]TOP  
      Whether the Struts filter should serve static content or not ^FJ .C|l(  
      是否struts过滤器应该提供静态内容 F-0|&0  
/a@gE^TM  
struts.tag.altSyntax jG~zpZh  
      Whether to use the alterative syntax for the tags or not Y_S>S( 0  
      是否可以用替代的语法替代tags oS.fy31p  
*PEk+e  
struts.ui.templateDir 0@cc XF E  
      The directory containing UI templates " b?1Yc-  
      UI templates的目录夹 ` 9iB`<  
gK7bP'S8H  
struts.ui.theme St 4YNS.|  
      The default UI template theme O{@m,uY  
      默认的UI template主题 >AFX}N#  
:56f  
struts.url.http.port Ut|G.%1Vd%  
      The HTTP port used by Struts URLs -SO`wL NV  
      设置http端口 ]m&cVy&  
k?[|8H~2C  
struts.url.https.port "eRf3Q7w:  
      The HTTPS port used by Struts URLs 1T96W :   
      设置https端口 GO3F[ l  
dB`3"aSN7  
struts.url.includeParams =\uQGH  
      The default includeParams method to generate Struts URLs Wg\`!T  
      在url中产生 默认的includeParams &\[3m^L  
=XbOY[  
PH$fDbC8  
struts.velocity.configfile YI0ubB  
      The Velocity configuration file path 3"9'MDKH  
      velocity配置文件路径 9'tOF  
ur*@TIvD  
struts.velocity.contexts (`nn\)  
      List of Velocity context names 35>VCjCw0  
      velocity的context列表 Ro1b (+H  
dG {D2~#  
,AX7~;hpq  
struts.velocity.manager.classname B-EVo&.  
      org.apache.struts2.views.velocity.VelocityManager implementation class !>olD_  
      org.apache.struts2.views.velocity.VelocityManager接口名  B6| g2Tt  
X }UR\8g  
struts.velocity.toolboxlocation  +=Xgi$  
      The location of the Velocity toolbox 02|f@bP.  
      velocity工具盒的位置 Gn+3OI"  
struts.xslt.nocache $mS] K!\  
      Whether or not XSLT templates should not be cached 39j "z8 n  
      是否XSLT模版应该被缓存 |gl~wG1@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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