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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w ~.f  
~t@cO.c  
struts.action.extension aFc1|.Nm  
      The URL extension to use to determine if the request is meant for a Struts action &X`C%h  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a_[Eh fE  
\(J8#V  
struts.configuration %OtFHhb  
      The org.apache.struts2.config.Configuration implementation class d)"3K6s|5  
        org.apache.struts2.config.Configuration接口名 6~0$Z-);(  
Z_PNI#h*  
struts.configuration.files 0v6)t.]s  
      A list of configuration files automatically loaded by Struts 6h>wt-tRC  
      struts自动加载的一个配置文件列表 Rh3eLt~|(  
}elc `jj  
struts.configuration.xml.reload HpR]q05d  
      Whether to reload the XML configuration or not d4m=0G`  
      是否加载xml配置(true,false) .0p0_f=  
ZWii)0'PV  
struts.continuations.package R]Vt Y7}i,  
      The package containing actions that use Rife continuations G !<Z.]  
      含有actions的完整连续的package名称 ~Xw"}S5  
-B>++r2A^  
struts.custom.i18n.resources 5(Cl1Yse=r  
      Location of additional localization properties files to load JHW "-b  
      加载附加的国际化属性文件(不包含.properties后缀) Zvhsyz|  
JBD7h5|Lc  
struts.custom.properties UN7EF/!Zz  
      Location of additional configuration properties files to load zUDg&-J3  
      加载附加的配置文件的位置 !*/*8re  
Nw:GCf-L  
yTyj'-4  
struts.devMode cO-7ke  
      Whether Struts is in development mode or not  |$+3a  
      是否为struts开发模式 xpNH?#&  
u=Fv 2  
struts.dispatcher.parametersWorkaround Om\o#{D  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ylUb9KusOx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d]`CxI]  
*EI6dD"  
struts.enable.DynamicMethodInvocation DDvh4<Hk  
      Allows one to disable dynamic method invocation from the URL s J\BF  
        允许动态方法调用 ]~844J p  
[]x#iOnC&  
struts.freemarker.manager.classname 9*$t!r{B@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SD#]$v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @)IjNplYkw  
OL5v).Bb  
struts.i18n.encoding %/EVUN9=  
      The encoding to use for localization messages E"\/ M  
      国际化信息内码 J`^ag'  
xE1 eT,  
struts.i18n.reload k[0-CB  
      Whether the localization messages should automatically be reloaded c~6>1w7SZ4  
      是否国际化信息自动加载 sPd Gw~{  
z+x\(/  
struts.locale WJ)z6m]  
      The default locale for the Struts application [vge56h  
      默认的国际化地区信息 |\w=u6jX  
KgV3j]d  
struts.mapper.class =5aDM\L$&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PEc,l>u9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 F8hw #!Aq  
sfLMk E  
struts.multipart.maxSize !GOM5z,  
      The maximize size of a multipart request (file upload) [N1hWcfvd  
      multipart请求信息的最大尺寸(文件上传用) uB |Ss  
|]QqXE-7  
struts.multipart.parser Tfh 2.  
      The org.apache.struts2.dispatcher.multipart. Y;nZ=9Sw  
      MultiPartRequest parser implementation for a multipart request (file upload) )64@2 ~4y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?MXejEC  
za#s/b$[  
XXbqQhf  
struts.multipart.saveDir N03G>fZ  
      The directory to use for storing uploaded files 0MV>"aV  
      设置存储上传文件的目录夹 rJFc({ 0  
0ph{  
struts.objectFactory M@h|bN  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5?p2%KQ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ANvRi+ _  
GRMiQa  
struts.objectFactory.spring.autoWire Jm|+-F@I  
      Whether Spring should autoWire or not 0_k '.5l%  
      是否自动绑定Spring XIvn_&d;G  
u4m,'XR  
struts.objectFactory.spring.useClassCache Wf>zDW^"R  
      Whether Spring should use its class cache or not y[>;]R7'  
      是否spring应该使用自身的cache PpV'F[|,r  
{x:ZF_wbb  
struts.objectTypeDeterminer IC6gU$e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RbCPmiZcH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "+\lws  
@lCJ G!u  
struts.serve.static.browserCache |_}2f  
If static content served by the Struts filter should set browser caching header properties or not .P.z B}0=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bgS$ {n/  
FW) x:2BG  
struts.serve.static ~ns7O  
      Whether the Struts filter should serve static content or not <WjF*x p  
      是否struts过滤器应该提供静态内容 :gerQz4R8  
6 }4'E  
struts.tag.altSyntax qP2ekI:y  
      Whether to use the alterative syntax for the tags or not Dw=gs{8D  
      是否可以用替代的语法替代tags ?|WoIV.  
N+LL@[  
struts.ui.templateDir M~WijDj  
      The directory containing UI templates LUH"  
      UI templates的目录夹 I&MY{f  
a\IP12F?  
struts.ui.theme *5 |)-E  
      The default UI template theme u)3 $~m~  
      默认的UI template主题 0q.Ujm=,z  
vohoLeJTj  
struts.url.http.port YFE&r  
      The HTTP port used by Struts URLs 5nTY ?<x`k  
      设置http端口 <EPj$::  
gzBy?r> r  
struts.url.https.port uHH/rMV  
      The HTTPS port used by Struts URLs y;t6sM@  
      设置https端口 BYO"u6  
!>BZ6gn5  
struts.url.includeParams 1rKlZsZ#*  
      The default includeParams method to generate Struts URLs !O.[PH(,*  
      在url中产生 默认的includeParams %{(x3\ *&  
o@#Y8M  
rgSOS-ox  
struts.velocity.configfile CbPuoOl  
      The Velocity configuration file path GwG4LIp  
      velocity配置文件路径 '" X_B0k  
>*-FV{{  
struts.velocity.contexts %1.]c6U  
      List of Velocity context names 2<`.#zIds  
      velocity的context列表  )LJnLo+  
u)ev{)$TM  
A a= u+  
struts.velocity.manager.classname f;&]:2.j  
      org.apache.struts2.views.velocity.VelocityManager implementation class -6tgsfEr  
      org.apache.struts2.views.velocity.VelocityManager接口名 i^_#%L  
7]x3!AlV  
struts.velocity.toolboxlocation :N<.?%Kf  
      The location of the Velocity toolbox JCPUM *g8  
      velocity工具盒的位置 .s<*'B7&  
struts.xslt.nocache >iOzl wmG  
      Whether or not XSLT templates should not be cached %'xb%`t  
      是否XSLT模版应该被缓存 )J_\tv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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