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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]+\;pb}bq  
p&~8N#I#  
struts.action.extension 4<g,L;pUU  
      The URL extension to use to determine if the request is meant for a Struts action *m6~x-x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rl90uF]8  
.E}fk,hLB  
struts.configuration p'z fo!  
      The org.apache.struts2.config.Configuration implementation class [F{q.mZj  
        org.apache.struts2.config.Configuration接口名 U86bn(9K  
N@Pf\D  
struts.configuration.files !j[Oy r|  
      A list of configuration files automatically loaded by Struts FJJ+*3(  
      struts自动加载的一个配置文件列表 ``KimeA~  
w&<-pIa`  
struts.configuration.xml.reload W@U<GF1  
      Whether to reload the XML configuration or not &?C% -"|c  
      是否加载xml配置(true,false) jx B  
|^p7:)cy  
struts.continuations.package <nDuN*|  
      The package containing actions that use Rife continuations pv);LjF  
      含有actions的完整连续的package名称 yop,%Fe  
t Dn{;ED<  
struts.custom.i18n.resources "cSH[/  
      Location of additional localization properties files to load GBnf]A,^ @  
      加载附加的国际化属性文件(不包含.properties后缀) 6t@kft>Nv  
I- oY@l`  
struts.custom.properties %%`Q5I  
      Location of additional configuration properties files to load ~nO]R   
      加载附加的配置文件的位置 Hw[(v[v  
a&oz<4oT  
K[} 5bjh>  
struts.devMode PNVYW?l  
      Whether Struts is in development mode or not ( -^-  
      是否为struts开发模式 ^APPWQUl  
XL!\Lx  
struts.dispatcher.parametersWorkaround .3Ex=aQcX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <_XyHb-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e<F>u#d  
ErZYPl  
struts.enable.DynamicMethodInvocation U Px7u%Do  
      Allows one to disable dynamic method invocation from the URL )Pr*\<Cld  
        允许动态方法调用 xF|P6GXg  
, c3gW2E  
struts.freemarker.manager.classname < zUU`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~+ _|J"\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PeCU V6  
ZWJ%t'kF  
struts.i18n.encoding qU!xh )  
      The encoding to use for localization messages :yPA6O 4  
      国际化信息内码 2@!Ou$W  
FUy!j|W6f  
struts.i18n.reload #Z%?lx"Q0  
      Whether the localization messages should automatically be reloaded ]<y _ =>  
      是否国际化信息自动加载 M? 7CBqZ  
(y^[k {#  
struts.locale Hzos$1DJ  
      The default locale for the Struts application sT&O%(  
      默认的国际化地区信息 ~Ey)9phZK  
`8 Q3=^)3  
struts.mapper.class OXT'$]p.*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LojEJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {/Mz /|%  
 k2]Q~  
struts.multipart.maxSize 'j6)5WL$  
      The maximize size of a multipart request (file upload) BNA`Cc1VV  
      multipart请求信息的最大尺寸(文件上传用) L H>oG$a  
Y@&1[Z  
struts.multipart.parser {u 7%Z}<0  
      The org.apache.struts2.dispatcher.multipart. W PDL$y  
      MultiPartRequest parser implementation for a multipart request (file upload) (t^&L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z.!tp  
c5KJ_Nfi  
'a&(r;  
struts.multipart.saveDir WnATgY t  
      The directory to use for storing uploaded files ,B^NH7A:  
      设置存储上传文件的目录夹 |dP[_nh?  
P:`tL)W_  
struts.objectFactory S`N_},  
      The com.opensymphony.xwork2.ObjectFactory implementation class I $5*Puy#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u0 & aw  
KN41 kkN  
struts.objectFactory.spring.autoWire  P5&mpl1  
      Whether Spring should autoWire or not gy%/zbZx  
      是否自动绑定Spring fF~3"!1#\I  
 'Dh+v3O  
struts.objectFactory.spring.useClassCache *jAw  
      Whether Spring should use its class cache or not ^+v6?%m  
      是否spring应该使用自身的cache M=HP!hn  
%cPz>PTW@  
struts.objectTypeDeterminer {e>E4(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dcK7Dd->  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R^nkcLFb/q  
`63?FzT y  
struts.serve.static.browserCache AX {~A:B  
If static content served by the Struts filter should set browser caching header properties or not h`1{tu  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5)}3C_pmW  
d;Uzl 1;  
struts.serve.static f]P&>j|  
      Whether the Struts filter should serve static content or not N[(ovr  
      是否struts过滤器应该提供静态内容 .:<-E%  
|C MKY  
struts.tag.altSyntax EPY64 {  
      Whether to use the alterative syntax for the tags or not _A8x{[$  
      是否可以用替代的语法替代tags ]i}3`e?  
zsQhydTR  
struts.ui.templateDir <($'jlZ  
      The directory containing UI templates )^G&p[G  
      UI templates的目录夹 'dnTu@mUT  
m' LRP:9v  
struts.ui.theme @M:Uf7  
      The default UI template theme R4?OFhN9  
      默认的UI template主题 GMY"*J<E  
(A6 -9g>  
struts.url.http.port U\_-GS;1  
      The HTTP port used by Struts URLs &=seIc>x@  
      设置http端口 (#4   
i2PPVT  
struts.url.https.port **zh>Y}6  
      The HTTPS port used by Struts URLs $@[`/Uh   
      设置https端口 E7XFt#P.  
B/*`u  
struts.url.includeParams INm21MS$  
      The default includeParams method to generate Struts URLs ?qn0].  
      在url中产生 默认的includeParams Dm,*G`Js  
gC}r$ZB(  
+m> %(?=A  
struts.velocity.configfile &&N]u e@>  
      The Velocity configuration file path ;ew3^i.du  
      velocity配置文件路径 \2F$FRWo  
ews4qP  
struts.velocity.contexts Qx9lcO_  
      List of Velocity context names {=(GY@yU/  
      velocity的context列表 kW v)+  
:{iS0qJ  
1:3I G=  
struts.velocity.manager.classname f0 ;Fokt(  
      org.apache.struts2.views.velocity.VelocityManager implementation class a88(,:t  
      org.apache.struts2.views.velocity.VelocityManager接口名 MEOVw[hO  
tgu}^TfKkg  
struts.velocity.toolboxlocation (GLd" Zq  
      The location of the Velocity toolbox H_RVGAb U  
      velocity工具盒的位置 vJX3fE }F  
struts.xslt.nocache 9-<EeV_/  
      Whether or not XSLT templates should not be cached w7.I0)MH  
      是否XSLT模版应该被缓存 ";jj`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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