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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~'9\y"N1  
NJNS8\4  
struts.action.extension g<E[IR  
      The URL extension to use to determine if the request is meant for a Struts action (-no`j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5}3#l/  
P<%}!Y  
struts.configuration 9{GEq@`7  
      The org.apache.struts2.config.Configuration implementation class |erG cKk  
        org.apache.struts2.config.Configuration接口名 yTxrbE  
Vktc  
struts.configuration.files )+ V)]dS@%  
      A list of configuration files automatically loaded by Struts o=nF.y  
      struts自动加载的一个配置文件列表 qj7 }]T_  
e=cb%  
struts.configuration.xml.reload #n7F7X  
      Whether to reload the XML configuration or not zA>LrtyK(=  
      是否加载xml配置(true,false) 2zV{I*  
=*5< w  
struts.continuations.package `SH14A*  
      The package containing actions that use Rife continuations &o;d  
      含有actions的完整连续的package名称 ? K,d  
;!+-fn4C  
struts.custom.i18n.resources %lnVzGP  
      Location of additional localization properties files to load 3'7]jj  
      加载附加的国际化属性文件(不包含.properties后缀) 83adnm  
68UfuC  
struts.custom.properties Op'&c0l  
      Location of additional configuration properties files to load EY`]""~8v  
      加载附加的配置文件的位置 !X[P)/?b0+  
~m'8<B5+  
}G)2HTaZ  
struts.devMode |@1M'  
      Whether Struts is in development mode or not k\TP3*fD  
      是否为struts开发模式 .OpG2P  
`-!kqJ  
struts.dispatcher.parametersWorkaround 3xz|d`A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WM;5/;bB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Dv*d$  
SajG67  
struts.enable.DynamicMethodInvocation 9sN#l  
      Allows one to disable dynamic method invocation from the URL i-}T t<^  
        允许动态方法调用 _o T+x%i  
^;9<7 h[l  
struts.freemarker.manager.classname 95E #  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1l'JoU.<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8OMMV,QF  
' <?=!&\D  
struts.i18n.encoding o-o -'0l  
      The encoding to use for localization messages ["#H/L]3  
      国际化信息内码 kTcW=AXu  
!|l7b2NEz-  
struts.i18n.reload gBO,  
      Whether the localization messages should automatically be reloaded N^M6*,F,J  
      是否国际化信息自动加载 )}7X4g6X   
2q(gWhcj  
struts.locale ULhXyItL  
      The default locale for the Struts application 2acT w#  
      默认的国际化地区信息 +w7U7" xQ  
~"_!O+Pj  
struts.mapper.class I4|"Ztw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $)  M2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *kpP )\P  
5 NC77}^.  
struts.multipart.maxSize 3:G$Y: #P  
      The maximize size of a multipart request (file upload) >9mj/P D  
      multipart请求信息的最大尺寸(文件上传用)  "UreV  
[W*M#00_&4  
struts.multipart.parser +!W:gA  
      The org.apache.struts2.dispatcher.multipart. =1k%T{>  
      MultiPartRequest parser implementation for a multipart request (file upload) `zrg?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) aOw#]pB|  
Cn{v\Q~.4  
?0M$p  
struts.multipart.saveDir }30Sb &"  
      The directory to use for storing uploaded files +0)M1!gK  
      设置存储上传文件的目录夹 9Zj3"v+b  
}& W=  
struts.objectFactory 5]up%.  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4JU 2x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z]SEPYq:  
*>"NUHq  
struts.objectFactory.spring.autoWire %6%mf>Guf  
      Whether Spring should autoWire or not nW*cqM%+  
      是否自动绑定Spring ,(Ol]W}  
pg!MtuC}  
struts.objectFactory.spring.useClassCache EADN   
      Whether Spring should use its class cache or not #t;]s<  
      是否spring应该使用自身的cache O$;#GpR  
`d^Q!QxE  
struts.objectTypeDeterminer |5%T)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class by0K:*C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x`FTy&g  
+ kT ]qH  
struts.serve.static.browserCache pdR\Ne0P*  
If static content served by the Struts filter should set browser caching header properties or not G[JWG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N Uv Vhy]{  
#rF`Hk:  
struts.serve.static X(eW+,H  
      Whether the Struts filter should serve static content or not LGW:+c  
      是否struts过滤器应该提供静态内容 fI`gF^u(  
/V{UTMSz  
struts.tag.altSyntax >e& L"  
      Whether to use the alterative syntax for the tags or not 71%$&6  
      是否可以用替代的语法替代tags ;/_htdj  
Y#Q!mbp  
struts.ui.templateDir [OTn>/W'  
      The directory containing UI templates zwU[!i)  
      UI templates的目录夹 T9%|B9FeJ  
$'>JG9M  
struts.ui.theme |U;O HS  
      The default UI template theme 8 AFc=Wx  
      默认的UI template主题 Hi=</ Wy;  
j5Da53c#^  
struts.url.http.port $OdBuJA  
      The HTTP port used by Struts URLs 1<1+nGO  
      设置http端口 GS=E6  
x>B\2;  
struts.url.https.port Ha|}Oj  
      The HTTPS port used by Struts URLs AEaN7[PQx|  
      设置https端口 |nWEuKHy  
?T_MP"  
struts.url.includeParams g)^s+Y  
      The default includeParams method to generate Struts URLs De^:9<{jc  
      在url中产生 默认的includeParams [520!JhZY  
J9!/C#Fm  
$/C1s"C@O  
struts.velocity.configfile q`/J2r+O  
      The Velocity configuration file path W>i%sHH6  
      velocity配置文件路径 zG<<MR/<  
tuIZYp8tIN  
struts.velocity.contexts ,pI9=e@O/z  
      List of Velocity context names ohq Thl  
      velocity的context列表 $l"%o9ICG  
=?0v,;F9|  
!L9OJ1F  
struts.velocity.manager.classname {pH#zs4Y  
      org.apache.struts2.views.velocity.VelocityManager implementation class fn,hP_  
      org.apache.struts2.views.velocity.VelocityManager接口名 #+l`tj4b/  
~a[ /l  
struts.velocity.toolboxlocation a-E}3a  
      The location of the Velocity toolbox O+|C<;K  
      velocity工具盒的位置 o ?vGI=  
struts.xslt.nocache YLQ0UeDN'  
      Whether or not XSLT templates should not be cached 0y,w\'j  
      是否XSLT模版应该被缓存 _3@5@1[s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八