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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QWt ?` h=  
=`VA_xVu  
struts.action.extension z#qlu=  
      The URL extension to use to determine if the request is meant for a Struts action AvW2)+6G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G2#={g{  
/_Z--s> j  
struts.configuration ex_Zw+n  
      The org.apache.struts2.config.Configuration implementation class F8e]sa$K\  
        org.apache.struts2.config.Configuration接口名 XXbA n-J  
\0 &7^  
struts.configuration.files :',.I  
      A list of configuration files automatically loaded by Struts \@yx;}bdI  
      struts自动加载的一个配置文件列表 {XC1B  
nAc02lJh|  
struts.configuration.xml.reload S}=d74(/n  
      Whether to reload the XML configuration or not T &.ZeB1  
      是否加载xml配置(true,false) \^<eJf D  
eow6{CD8  
struts.continuations.package _D%aT6,G+(  
      The package containing actions that use Rife continuations KA)9&6  
      含有actions的完整连续的package名称 L_fu<W  
yKJKQ9  
struts.custom.i18n.resources o K;.|ja  
      Location of additional localization properties files to load |eD$eZ=m  
      加载附加的国际化属性文件(不包含.properties后缀) j=U [V&T  
Q;p?.GI?-  
struts.custom.properties Wn*>h'R  
      Location of additional configuration properties files to load +5n,/YjS`  
      加载附加的配置文件的位置 xO8-vmf2  
:1Jg;G  
#{973~uj  
struts.devMode 0IHcyb  
      Whether Struts is in development mode or not FBit /0  
      是否为struts开发模式 p|mt2oDjw  
<0my,hAK  
struts.dispatcher.parametersWorkaround ,xA`Fu9^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0cV=>|b>;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9NCo0!Fb  
2z/qbzG7  
struts.enable.DynamicMethodInvocation S1 22. I  
      Allows one to disable dynamic method invocation from the URL `% sKF  
        允许动态方法调用 (n'Mf  
MCN}p i  
struts.freemarker.manager.classname 9|yn{4E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class sjBP#_lW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 l7G&[\~  
o&2(xI2  
struts.i18n.encoding i7h!,vaK  
      The encoding to use for localization messages 6FMW}*6<  
      国际化信息内码 x!CCSM;q  
?yKW^,q+  
struts.i18n.reload _yje"  
      Whether the localization messages should automatically be reloaded Y8I*B =7  
      是否国际化信息自动加载 ya7/&Z )0  
g70B22!y  
struts.locale <^j,jX  
      The default locale for the Struts application "b&[W$e  
      默认的国际化地区信息 G(7!3a+  
5a moK7  
struts.mapper.class yp%7zrU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lp`raN No  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3ZNm,{  
aa!o::;  
struts.multipart.maxSize 0pP;[7k\  
      The maximize size of a multipart request (file upload) zUg-M  
      multipart请求信息的最大尺寸(文件上传用) }eA2y($N  
~9.0:Fm<  
struts.multipart.parser HorFQ?8  
      The org.apache.struts2.dispatcher.multipart. C[h"w'A2  
      MultiPartRequest parser implementation for a multipart request (file upload) (<f`}, QxD  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y`@:L'j  
<u\j 4<p  
jOs&E^">&B  
struts.multipart.saveDir B%95M|  
      The directory to use for storing uploaded files x:bJ1%  
      设置存储上传文件的目录夹 o"F=3b~:n  
1`1U'ibhe  
struts.objectFactory H.sHXuu  
      The com.opensymphony.xwork2.ObjectFactory implementation class JTuU}nm+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {"< D$*K~  
vu^ '+ky  
struts.objectFactory.spring.autoWire @di mZsi1  
      Whether Spring should autoWire or not . IBy'  
      是否自动绑定Spring Ii"h:GY;\  
)l}Gwd]h  
struts.objectFactory.spring.useClassCache 8^26g 3  
      Whether Spring should use its class cache or not PPiN`GM  
      是否spring应该使用自身的cache }EB/18  
BD6oN]  
struts.objectTypeDeterminer h$`P|#V&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $q`650&S*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E"p;  
9&R. <I  
struts.serve.static.browserCache m,i@  
If static content served by the Struts filter should set browser caching header properties or not > sW9n[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3ifQKKcR{  
?Rlo<f:Mf  
struts.serve.static +{ Q]$b  
      Whether the Struts filter should serve static content or not @.Pd3CB0  
      是否struts过滤器应该提供静态内容 zTODV<-`  
#.|ef dsG  
struts.tag.altSyntax m22FOjk\  
      Whether to use the alterative syntax for the tags or not p8CDFLuV  
      是否可以用替代的语法替代tags 9 06b=  
wO6 D\#  
struts.ui.templateDir @BbqYX  
      The directory containing UI templates 8PQKB*<dB"  
      UI templates的目录夹 APydZ  
+C4UM9  
struts.ui.theme 2H7b2%  
      The default UI template theme *c<=IcA  
      默认的UI template主题 .!yXto:  
[=dK%7v  
struts.url.http.port WEgJ_dB  
      The HTTP port used by Struts URLs &jJj6 +P\  
      设置http端口 $j? zEz  
~gz_4gzb  
struts.url.https.port @VlDi1  
      The HTTPS port used by Struts URLs (~ 6oA f  
      设置https端口 !g=2U`j^  
I<p- o/TP  
struts.url.includeParams Z(F`M;1>xI  
      The default includeParams method to generate Struts URLs JHN{vB  
      在url中产生 默认的includeParams XcfvmlBoD-  
`acX1YWh5  
7[=MgnmuC  
struts.velocity.configfile jQDXl  
      The Velocity configuration file path .xnJT2uu'  
      velocity配置文件路径 ]3B8D<p  
L\1&$|?  
struts.velocity.contexts u-yVc*<,  
      List of Velocity context names A.0eeX{  
      velocity的context列表 a o"\L0;{  
UVND1XV^f  
Yyl(<,Yi  
struts.velocity.manager.classname x+niY;Z E  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7f!"vhCXM;  
      org.apache.struts2.views.velocity.VelocityManager接口名 i8CO+Iv*{  
4hRc,Vq  
struts.velocity.toolboxlocation *}mk$bA  
      The location of the Velocity toolbox cj=6_k  
      velocity工具盒的位置 |$AoI  
struts.xslt.nocache 6Z2a5zO8  
      Whether or not XSLT templates should not be cached ]iP  +Y  
      是否XSLT模版应该被缓存 v#yeiE4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八