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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 - k`.j  
nQ=aLV+'  
struts.action.extension qLjT.7 .x  
      The URL extension to use to determine if the request is meant for a Struts action YG[w@u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MzTW8  
`ZGcgO<c\  
struts.configuration 4tJa-7  
      The org.apache.struts2.config.Configuration implementation class 5=Lq=,K$  
        org.apache.struts2.config.Configuration接口名 8&E}n(XE  
C6QbBo  
struts.configuration.files js <Ww$zFW  
      A list of configuration files automatically loaded by Struts z~Na-N  
      struts自动加载的一个配置文件列表 N:W9},  
 >eS$  
struts.configuration.xml.reload }htPTOy5  
      Whether to reload the XML configuration or not MFwO9"<A  
      是否加载xml配置(true,false) YBjdp=als  
tu}>:mk  
struts.continuations.package Rs7 |}Dl}  
      The package containing actions that use Rife continuations !buz<h  
      含有actions的完整连续的package名称 N.hzKq][  
W3JF5*  
struts.custom.i18n.resources .zC*Z&e,.[  
      Location of additional localization properties files to load A';QuWdT  
      加载附加的国际化属性文件(不包含.properties后缀) {p/YCch,  
]vo_gKZ  
struts.custom.properties Gr)-5qh  
      Location of additional configuration properties files to load 9_huI'"p  
      加载附加的配置文件的位置 m{(+6-8|m  
NP_?f%(  
G]*|H0j  
struts.devMode 1;wb(DN*c  
      Whether Struts is in development mode or not ;n*J$B  
      是否为struts开发模式 =2 jhII  
l[YEKg  
struts.dispatcher.parametersWorkaround C-SLjJw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5 9 -!6;T  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O#_x)13  
([LIjaoi  
struts.enable.DynamicMethodInvocation b{&FuvQg2  
      Allows one to disable dynamic method invocation from the URL '3;v] L?G  
        允许动态方法调用 2 ZG@!Y|  
JwP:2-o  
struts.freemarker.manager.classname Yx%bn?%;&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !B^K[2`)N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1"]P`SY$r  
wahZK~,EaY  
struts.i18n.encoding rFu ez$  
      The encoding to use for localization messages -s"0/)HD  
      国际化信息内码 !7 _\P7M  
}5n  
struts.i18n.reload IZNOWX|Z;  
      Whether the localization messages should automatically be reloaded x$B&L`QV  
      是否国际化信息自动加载 AHd-  
WS,7dz  
struts.locale A 's-'8m  
      The default locale for the Struts application nSS=%,?  
      默认的国际化地区信息 V4K'R2t  
f)6))  
struts.mapper.class -dRFA2 Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M-MKk:o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A3R#z]Ub  
J^zi2 jtV  
struts.multipart.maxSize 2{oThef[O  
      The maximize size of a multipart request (file upload) srmKaa|  
      multipart请求信息的最大尺寸(文件上传用) I}.i@d'O  
S; /. %  
struts.multipart.parser d3^7ag%  
      The org.apache.struts2.dispatcher.multipart. YfDWM7x7,  
      MultiPartRequest parser implementation for a multipart request (file upload) ,XB%\[pKe  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C`K^L=8`{  
jP=Hf=:$  
qd6fU^)i  
struts.multipart.saveDir 7%d8D>uw8  
      The directory to use for storing uploaded files qX6D1X1_  
      设置存储上传文件的目录夹 I%;Jpe  
\l,rpVv5m  
struts.objectFactory *'8LntZf  
      The com.opensymphony.xwork2.ObjectFactory implementation class <nzN$"%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Oh; Jw  
<kc# thL  
struts.objectFactory.spring.autoWire =G${[V \  
      Whether Spring should autoWire or not .SS<MDcqIt  
      是否自动绑定Spring Yl({)qK{  
o"+ i&Wp~  
struts.objectFactory.spring.useClassCache 1}g:|Q  
      Whether Spring should use its class cache or not %SA!p;  
      是否spring应该使用自身的cache reiU%C  
-x]`DQUg  
struts.objectTypeDeterminer yoS? s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K* vU5S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $8 =@R'  
wk $,k  
struts.serve.static.browserCache (! KG)!  
If static content served by the Struts filter should set browser caching header properties or not ;ojiJ ?jU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]<trA$ 0  
ls|LCQPx  
struts.serve.static 82:Wvp6  
      Whether the Struts filter should serve static content or not x` /)g(  
      是否struts过滤器应该提供静态内容 :tj-gDa\Y  
SbT5u3,'  
struts.tag.altSyntax ;Yts\4BSM  
      Whether to use the alterative syntax for the tags or not Y A&`&$  
      是否可以用替代的语法替代tags PkUd~c  
IVjU`ij  
struts.ui.templateDir 4s.]M>Yb  
      The directory containing UI templates K4 %/!`  
      UI templates的目录夹 NiSO'=y$n  
Xe1P- 6 0  
struts.ui.theme Zi ESlf$  
      The default UI template theme |a(fejO3  
      默认的UI template主题 #h'@5 l  
:td ~g;w  
struts.url.http.port " ;NRzY  
      The HTTP port used by Struts URLs ]r/^9XaqtA  
      设置http端口 [r-}bp'Gp  
}nrXxfu  
struts.url.https.port {aOkV::  
      The HTTPS port used by Struts URLs =1hr2R(V  
      设置https端口 q mQfLz7&x  
[kB `  
struts.url.includeParams 5ukp^OxE  
      The default includeParams method to generate Struts URLs WlVl[/qt  
      在url中产生 默认的includeParams pGGmA;TC1  
?S[Y:<R{:  
R: Z_g !h  
struts.velocity.configfile 1~yZ T  
      The Velocity configuration file path iEHh{H(  
      velocity配置文件路径 f~h~5  
Y`ihi,s`H  
struts.velocity.contexts "v]%3i.* -  
      List of Velocity context names D$r Uid  
      velocity的context列表 f`$Gz  
ZI13  
6NLW(?]  
struts.velocity.manager.classname M {a #  
      org.apache.struts2.views.velocity.VelocityManager implementation class eph)=F$  
      org.apache.struts2.views.velocity.VelocityManager接口名 Zq"7,z7  
EU+cca|qS9  
struts.velocity.toolboxlocation M0'v&g  
      The location of the Velocity toolbox `DW2spd  
      velocity工具盒的位置 hv)8K'u  
struts.xslt.nocache = !2NU  
      Whether or not XSLT templates should not be cached QwWW! 8  
      是否XSLT模版应该被缓存 &0 \ ci9o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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