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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zJWBovT/  
9%WUh-|'p  
struts.action.extension !c[(#g  
      The URL extension to use to determine if the request is meant for a Struts action L&ySXc=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >B/ jTn5=  
#XR<}OYcL  
struts.configuration Hq[d!qc  
      The org.apache.struts2.config.Configuration implementation class YMOy 6C  
        org.apache.struts2.config.Configuration接口名 #-dfG.*  
JUXIE y^  
struts.configuration.files pXf@Y}mH  
      A list of configuration files automatically loaded by Struts P1)f-:;  
      struts自动加载的一个配置文件列表 W#87T_7T[  
U.is:&]E  
struts.configuration.xml.reload VXXo\LQUU  
      Whether to reload the XML configuration or not l|z 'Lwwm5  
      是否加载xml配置(true,false) ?9xaBWf  
?F]Yebp^  
struts.continuations.package $Nvt:X_  
      The package containing actions that use Rife continuations y E-H-r~I  
      含有actions的完整连续的package名称 8Kt_irD  
^IGutZov  
struts.custom.i18n.resources #Ki(9oWd  
      Location of additional localization properties files to load x=Z\c,@O  
      加载附加的国际化属性文件(不包含.properties后缀) yG|^-O}L  
5!u.w  
struts.custom.properties w^Qb9vTa8  
      Location of additional configuration properties files to load &SfJwdG*=  
      加载附加的配置文件的位置 |#8u:rguy  
H((! BRl  
L&M6s f$N  
struts.devMode )k@W 6N  
      Whether Struts is in development mode or not M-1 VB5  
      是否为struts开发模式 zM{'GB+en  
bg;N BoZd  
struts.dispatcher.parametersWorkaround u H[d%y/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +6 t<FH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2:'C|  
//cj$}Rn!  
struts.enable.DynamicMethodInvocation =xcA4"k  
      Allows one to disable dynamic method invocation from the URL "@U9'rKx  
        允许动态方法调用 yzr>]"o  
w6DK&@w`'/  
struts.freemarker.manager.classname @r4ZN6Wn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z2Sp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {vYmK#}  
q(<#7 spz  
struts.i18n.encoding <ABN/nH  
      The encoding to use for localization messages RB<LZHZI  
      国际化信息内码 9XWHr/-_@  
)w];eF0c  
struts.i18n.reload 6z v+Av:  
      Whether the localization messages should automatically be reloaded H|_^T.n?E  
      是否国际化信息自动加载 N|hNh$J[  
H?98^y7  
struts.locale Xr\|U89P  
      The default locale for the Struts application 1;cV [&3  
      默认的国际化地区信息 OrP-+eg  
sW!pMkd_  
struts.mapper.class #k2&2W=x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j~,7JJ (y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CqX2R:#  
Li~(kw3  
struts.multipart.maxSize _"n1"%Ns  
      The maximize size of a multipart request (file upload) fTiqY72h  
      multipart请求信息的最大尺寸(文件上传用) 2GOQ|Z  
"+3p??h%Rq  
struts.multipart.parser y;A<R[|Ve  
      The org.apache.struts2.dispatcher.multipart. Q!K@  
      MultiPartRequest parser implementation for a multipart request (file upload) YSwAu,$jf  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1~:7W  
[^xLK  
xcdy/J&  
struts.multipart.saveDir #- $?2?2  
      The directory to use for storing uploaded files nN" Y~W^k  
      设置存储上传文件的目录夹 ppr95 Y]^  
2KVMQH`B9  
struts.objectFactory L4`bGZl55  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?95^&4Oh0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kG_ K&,;@  
gX<"-,5jc  
struts.objectFactory.spring.autoWire m^cr-'  
      Whether Spring should autoWire or not W5,e;4/hL  
      是否自动绑定Spring T|^rFaA  
58\rl G  
struts.objectFactory.spring.useClassCache v#*9rNEj0  
      Whether Spring should use its class cache or not WNSf$D{p  
      是否spring应该使用自身的cache ETvn$ Jdp  
9EzXf+f  
struts.objectTypeDeterminer vmdu9"H  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h(]aP<49L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'qcLK>E  
gTWl];xja  
struts.serve.static.browserCache P#-9{T   
If static content served by the Struts filter should set browser caching header properties or not \Z9+U:n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hZ NS$  
7=C$*)x  
struts.serve.static *i zPLM}+  
      Whether the Struts filter should serve static content or not *sK")Q4N  
      是否struts过滤器应该提供静态内容 kKr|PFz  
qN((Xz+AZE  
struts.tag.altSyntax .),ql_sXr  
      Whether to use the alterative syntax for the tags or not 19-|.9m(  
      是否可以用替代的语法替代tags (|%YyRaX  
= Q|_v}  
struts.ui.templateDir u&Q2/Y  
      The directory containing UI templates ol]"r5#Q_H  
      UI templates的目录夹 v`3q0,,  
%^){Z,}M}  
struts.ui.theme P0O5CaR  
      The default UI template theme )X-b|D4O  
      默认的UI template主题 g4USKJ19.  
r0kJx$f  
struts.url.http.port U-/-aNJ]U  
      The HTTP port used by Struts URLs @+II@[ _lT  
      设置http端口 iu!j#VO  
x +Vp&  
struts.url.https.port 1SIhW:C  
      The HTTPS port used by Struts URLs }T=0]u4,  
      设置https端口 Zwj\Hz.  
E>|[@Z  
struts.url.includeParams ]q@/:I9]  
      The default includeParams method to generate Struts URLs 4AdZN5  
      在url中产生 默认的includeParams =^ur@E  
:m*r( i3  
k( l  
struts.velocity.configfile &?L K>QV  
      The Velocity configuration file path )>,; GVu"  
      velocity配置文件路径 .ko8`J%%M  
1_JtD|Jy  
struts.velocity.contexts {2wfv2hQ  
      List of Velocity context names ^q``f%Xt  
      velocity的context列表 (iM*Y"Y  
1haH2F^ q3  
XBQ]A89G  
struts.velocity.manager.classname ,iKEIxA!  
      org.apache.struts2.views.velocity.VelocityManager implementation class RC(fhqV  
      org.apache.struts2.views.velocity.VelocityManager接口名 W*A-CkrO  
DyeV uB  
struts.velocity.toolboxlocation = 7%1]  
      The location of the Velocity toolbox _SU%ul  
      velocity工具盒的位置 FPj j1U`C  
struts.xslt.nocache r[; .1,(  
      Whether or not XSLT templates should not be cached F-i`GMWC  
      是否XSLT模版应该被缓存 8W' ,T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八