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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 thS#fO4]d  
nwz}&nR  
struts.action.extension r8@:Ko= a  
      The URL extension to use to determine if the request is meant for a Struts action sO6+L #!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4p F%G  
7bTs+C_;7  
struts.configuration 0evG  
      The org.apache.struts2.config.Configuration implementation class m(9E{;   
        org.apache.struts2.config.Configuration接口名 L-Z1Xs  
1y>P<[  
struts.configuration.files '*K/K],S]  
      A list of configuration files automatically loaded by Struts  ,5<-\"{]  
      struts自动加载的一个配置文件列表 [3j]r{0I  
iE$0-Qe[3  
struts.configuration.xml.reload $)kIYM&  
      Whether to reload the XML configuration or not J)*y1   
      是否加载xml配置(true,false) 4H{L>e  
i<-#yL5  
struts.continuations.package @T1-0!TM')  
      The package containing actions that use Rife continuations MYLq2g\  
      含有actions的完整连续的package名称 4/HyO\?z5  
ww=< =  
struts.custom.i18n.resources _))_mxV{  
      Location of additional localization properties files to load n}a# b%e  
      加载附加的国际化属性文件(不包含.properties后缀) (xq25;|Y  
YckexfL  
struts.custom.properties N-lXC"{)  
      Location of additional configuration properties files to load 8^+Q n/b_%  
      加载附加的配置文件的位置 t:W`=^  
cD7q;|+  
$lUZm\R|k  
struts.devMode lxV> rmD  
      Whether Struts is in development mode or not qxk1Rzm?x  
      是否为struts开发模式 $vicxE~-E  
O(CUwk  
struts.dispatcher.parametersWorkaround C}wmoYikV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [S'ngQ"f`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m/CA  
GT`:3L  
struts.enable.DynamicMethodInvocation i_I`Y  
      Allows one to disable dynamic method invocation from the URL UtY< R  
        允许动态方法调用 =U2`]50  
z9E*Mh(NE  
struts.freemarker.manager.classname u6|P)8?`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i yMIP~N,$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pM.>u/=X  
,f4Hl%T;  
struts.i18n.encoding =p ^Sn,t  
      The encoding to use for localization messages D L<r2h  
      国际化信息内码 0lY.z$V  
JoIffI?{(D  
struts.i18n.reload -&%#R_RV  
      Whether the localization messages should automatically be reloaded BPtU]Bv-  
      是否国际化信息自动加载 n`;=^^B  
HtPasFrJ  
struts.locale Lw1~$rZg  
      The default locale for the Struts application e*=N\$  
      默认的国际化地区信息 ,"5Fw4G6*  
D<C ZhYJ  
struts.mapper.class LeXu Td  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P]1`=-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tBp dKJn##  
JM@MNS_||(  
struts.multipart.maxSize (khjP ,  
      The maximize size of a multipart request (file upload) ;y Wfb|!  
      multipart请求信息的最大尺寸(文件上传用) yIOoVi\m  
\k;*Ej~.  
struts.multipart.parser 7P|GKN~  
      The org.apache.struts2.dispatcher.multipart. g;D [XBp  
      MultiPartRequest parser implementation for a multipart request (file upload) >a5CW~Z]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BbnY9"  
~;9B\fE`  
< Pg4>  
struts.multipart.saveDir #'_i6  
      The directory to use for storing uploaded files R=_ fk  
      设置存储上传文件的目录夹 R6ca;  
*&^`Uk,[  
struts.objectFactory $x)C_WZj?  
      The com.opensymphony.xwork2.ObjectFactory implementation class v=RQ"iv8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^dM,K p  
zkA"2dh  
struts.objectFactory.spring.autoWire ;n?H/(6X8>  
      Whether Spring should autoWire or not DfXXN  
      是否自动绑定Spring .r[kNh@ b%  
8fY1~\G:\  
struts.objectFactory.spring.useClassCache [f!sBJ!  
      Whether Spring should use its class cache or not OjcxD5"v9  
      是否spring应该使用自身的cache =I-SQI8  
 :RBp  
struts.objectTypeDeterminer 8F9sKRq|rO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c!d>6:\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]_G!(`Udh  
z GhJ  
struts.serve.static.browserCache rd vq(\A  
If static content served by the Struts filter should set browser caching header properties or not lb{<}1YR0o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M[g9D  
cNZuwS~,  
struts.serve.static }uz*6Z(S  
      Whether the Struts filter should serve static content or not 0Rz'#O32V  
      是否struts过滤器应该提供静态内容 /r^J8B*  
A (S=  
struts.tag.altSyntax 1O"7%Pvw  
      Whether to use the alterative syntax for the tags or not dj3}Tjt  
      是否可以用替代的语法替代tags .v?Ir)  
\#?n'qyj  
struts.ui.templateDir 7 ^>UUdk(  
      The directory containing UI templates 87.b7 b.  
      UI templates的目录夹 3C=ON.1eg  
~G+o;N,V  
struts.ui.theme vN=e1\  
      The default UI template theme wxYB-Wh<  
      默认的UI template主题 $[x2L s~  
zZ@]Kq;.s  
struts.url.http.port ;nW#Dn9  
      The HTTP port used by Struts URLs (U#4j 6Q  
      设置http端口 A%qlB[!:  
$d? N("L  
struts.url.https.port Hpo7diBE  
      The HTTPS port used by Struts URLs $k5mI1~  
      设置https端口 !$ItBn/_  
}d?"i@[  
struts.url.includeParams yhhW4rz  
      The default includeParams method to generate Struts URLs 4=^_ 4o2  
      在url中产生 默认的includeParams zGjf7VV2a  
o&g-0!"  
~"6/OJA  
struts.velocity.configfile \3a(8Em  
      The Velocity configuration file path 'mx_]b^O  
      velocity配置文件路径 U{6i5;F#H  
c((^l&  
struts.velocity.contexts Vj(}'h-c\  
      List of Velocity context names !*JE%t  
      velocity的context列表 d}#G~O+y3v  
kq xX!  
4Y2l]86  
struts.velocity.manager.classname 4Qh\3UL~  
      org.apache.struts2.views.velocity.VelocityManager implementation class p^S]O\;M7  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ss ;C1:  
9)N/J\b  
struts.velocity.toolboxlocation .hd<,\nW  
      The location of the Velocity toolbox = zJY5@^'7  
      velocity工具盒的位置 VbQ9o  
struts.xslt.nocache }g6:9%ZMu  
      Whether or not XSLT templates should not be cached A& u"NgJ  
      是否XSLT模版应该被缓存 rWzw7T~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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