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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 > AV R3b  
XT5Vo  
struts.action.extension 4$+9k;m'  
      The URL extension to use to determine if the request is meant for a Struts action <AB.`["  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T6ZJSKM  
,-XJ@@2gM  
struts.configuration V6ioQx=K#  
      The org.apache.struts2.config.Configuration implementation class NR)[,b\v  
        org.apache.struts2.config.Configuration接口名 CQcb !T  
"rA: ;ntz  
struts.configuration.files fJ3qL# '  
      A list of configuration files automatically loaded by Struts YMx zj  
      struts自动加载的一个配置文件列表 #2!M+S  
$PQlaivA  
struts.configuration.xml.reload *X^__PS]  
      Whether to reload the XML configuration or not x6x6N&f?  
      是否加载xml配置(true,false) 3*gWcPGe  
^Y:Q%?uB/  
struts.continuations.package sE8.,\  
      The package containing actions that use Rife continuations pPG@_9qf  
      含有actions的完整连续的package名称 m&Mvb[  
=c8U:\0  
struts.custom.i18n.resources '#.:%4  
      Location of additional localization properties files to load rS 4'@a  
      加载附加的国际化属性文件(不包含.properties后缀) 6YZ&>` a^  
,b@0Qa"  
struts.custom.properties Y e}y_W  
      Location of additional configuration properties files to load n~d`PGs?f  
      加载附加的配置文件的位置 }m<)$.x|P  
dMwVgc:  
[vaG{4m  
struts.devMode `<>8tZS9"  
      Whether Struts is in development mode or not A{E0 a:v  
      是否为struts开发模式 Y4Z?`TL  
Xklp6{VH9  
struts.dispatcher.parametersWorkaround !P!|U/|c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [VPqI~u5)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y tmlG%  
~^"cq S(  
struts.enable.DynamicMethodInvocation HC8{);  
      Allows one to disable dynamic method invocation from the URL V_(?mC  
        允许动态方法调用 !+M H?A  
6iFd[<.*j  
struts.freemarker.manager.classname b['TRYc=:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,9#G/nF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 k- sbZL  
" I@Z:[=2  
struts.i18n.encoding V]PTAhc  
      The encoding to use for localization messages $XI5fa4Tt  
      国际化信息内码 _pNUI {De  
"7 )F";_(^  
struts.i18n.reload kx1-.~)p(z  
      Whether the localization messages should automatically be reloaded d~| qx  
      是否国际化信息自动加载 T"Q4vk,3*J  
YS{  
struts.locale 2+GF:[$  
      The default locale for the Struts application 3a{QkVeV7  
      默认的国际化地区信息 5Kv=;o=U  
wrn[q{dX  
struts.mapper.class ?k_=?m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "eQ96^'J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !*|CIxk(  
y::;e#.  
struts.multipart.maxSize ~9oS~fP?I  
      The maximize size of a multipart request (file upload) =QyO$:t  
      multipart请求信息的最大尺寸(文件上传用) IFPywL{K  
~ilbW|s?=k  
struts.multipart.parser (p14{  
      The org.apache.struts2.dispatcher.multipart. N"t, 6tH  
      MultiPartRequest parser implementation for a multipart request (file upload) .(S,dG0P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /p>"|z  
~N'KIP[W  
XE$eHx3;  
struts.multipart.saveDir h)wR[N]n  
      The directory to use for storing uploaded files ~:)$~g7>b  
      设置存储上传文件的目录夹 m2|0<P@k!  
!gf&l ^)  
struts.objectFactory 5Cy)#Z{  
      The com.opensymphony.xwork2.ObjectFactory implementation class  ]NAPvw#p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GN1cnM>`  
C [2tH2*#  
struts.objectFactory.spring.autoWire wOi>i`D&  
      Whether Spring should autoWire or not )X^nzhZ2O"  
      是否自动绑定Spring X Y4s  
$;;?'!%.  
struts.objectFactory.spring.useClassCache _-8,}F}W#s  
      Whether Spring should use its class cache or not !Q7   
      是否spring应该使用自身的cache jSYj+k  
@/0aj  
struts.objectTypeDeterminer ;#~ !`>n?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }(tGjx]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yJp& A  
W: ?-d{  
struts.serve.static.browserCache Z@ws,f^e  
If static content served by the Struts filter should set browser caching header properties or not v8%]^` '  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i ^IvT  
KFV]2mFN  
struts.serve.static wqGZkFg1  
      Whether the Struts filter should serve static content or not 2tr2:PB`  
      是否struts过滤器应该提供静态内容 x:2[E-  
iqoPD4A  
struts.tag.altSyntax N l@Hx  
      Whether to use the alterative syntax for the tags or not d,QJf\fc"  
      是否可以用替代的语法替代tags +u=xBhZ  
;C"J5RA  
struts.ui.templateDir iuHG9#n  
      The directory containing UI templates ;%jt;Xv9  
      UI templates的目录夹 7>ODaj   
;c>Yr ?^  
struts.ui.theme kcYR:;y  
      The default UI template theme nlY ^  
      默认的UI template主题 THu a?,oyW  
u%h<5WNh<  
struts.url.http.port _+;x 4K;  
      The HTTP port used by Struts URLs z{n=G  
      设置http端口 S&=B&23T  
!X.N$0  
struts.url.https.port GS{9MGl  
      The HTTPS port used by Struts URLs Ti)n(G9$  
      设置https端口 R*[ACpxr  
Zka;}UL&Q  
struts.url.includeParams KcU,RTE  
      The default includeParams method to generate Struts URLs =;{S>P!I(t  
      在url中产生 默认的includeParams Z9sg6M@s  
8@qahEgQ  
NFSPw` f  
struts.velocity.configfile AjlG_F  
      The Velocity configuration file path V+Tj[:ok  
      velocity配置文件路径 A!f0AEA,  
'Aqmf+Mm  
struts.velocity.contexts ~*[}O)7#  
      List of Velocity context names NPc%}V&C(u  
      velocity的context列表 pj )I4C)  
T5Fah#-4  
w}1)am &pD  
struts.velocity.manager.classname Sph+kiy|  
      org.apache.struts2.views.velocity.VelocityManager implementation class /d=$,q1  
      org.apache.struts2.views.velocity.VelocityManager接口名 3|?fGT;P  
*m"mt  
struts.velocity.toolboxlocation 4YCGh  
      The location of the Velocity toolbox 1Jd:%+T  
      velocity工具盒的位置 5Ci}w|c/>  
struts.xslt.nocache {l6]O  
      Whether or not XSLT templates should not be cached W[?B@sdSZ  
      是否XSLT模版应该被缓存 )5t_tPv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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