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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f)Y  
T|+$@o  
struts.action.extension 5faj;I{%JY  
      The URL extension to use to determine if the request is meant for a Struts action ZLJNw0!=|t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qY}Cg0[@g  
W78o*z[O  
struts.configuration wgZrrq/W|  
      The org.apache.struts2.config.Configuration implementation class $^$ECDOTB  
        org.apache.struts2.config.Configuration接口名 HDj$"pS  
U"x~Jb3]O  
struts.configuration.files -3k;u  
      A list of configuration files automatically loaded by Struts )>$^wT  
      struts自动加载的一个配置文件列表 ,>S+-L8  
b;{h?xc6  
struts.configuration.xml.reload RZ6~c{  
      Whether to reload the XML configuration or not Hja^edLj  
      是否加载xml配置(true,false) ay[ZsQC  
cHEz{'1m  
struts.continuations.package ,wT g$ g-$  
      The package containing actions that use Rife continuations B/_6Ieb+  
      含有actions的完整连续的package名称 EIK*49b2  
#~e9h9  
struts.custom.i18n.resources ,i![QXZ  
      Location of additional localization properties files to load ?#ihJt,  
      加载附加的国际化属性文件(不包含.properties后缀) ?pKN'`  
V/&o]b   
struts.custom.properties lPp6 pVr  
      Location of additional configuration properties files to load f !!P  
      加载附加的配置文件的位置 ^2JPyyZa  
Lupy:4AD  
:B^mV{~  
struts.devMode O\JD,w  
      Whether Struts is in development mode or not {9;eH'e  
      是否为struts开发模式 >]?Jrs  
oT!/J  
struts.dispatcher.parametersWorkaround :p$EiR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D"`[6EN[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ] umZJZ#Y  
*o 2#eI  
struts.enable.DynamicMethodInvocation -fQX4'3R  
      Allows one to disable dynamic method invocation from the URL *I/A,#4r  
        允许动态方法调用 gPp(e j7  
/.)2d8,  
struts.freemarker.manager.classname N1s.3`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u#!GMZJN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H9:%6sds  
;"SZ}  
struts.i18n.encoding `$f2eB&   
      The encoding to use for localization messages %t{Sb4XZ4k  
      国际化信息内码 ^\{J5  
~zj"OG"zOw  
struts.i18n.reload &/DOO ^  
      Whether the localization messages should automatically be reloaded jQs*(=ls  
      是否国际化信息自动加载 Z?C4a }  
w Oj88J)  
struts.locale &58 {  
      The default locale for the Struts application V0S6M^\DK  
      默认的国际化地区信息 #AvEH=:  
%A=|'6)k2  
struts.mapper.class K+-zY[3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N+hedF@ZU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *LEu=3lp%>  
3FuCW  
struts.multipart.maxSize _y"a2M  
      The maximize size of a multipart request (file upload) p4y6R4kyT  
      multipart请求信息的最大尺寸(文件上传用) ]p\u$VY9  
-B,cB  
struts.multipart.parser ZGzc"r(r:#  
      The org.apache.struts2.dispatcher.multipart. Vp\80D&  
      MultiPartRequest parser implementation for a multipart request (file upload) oL)lyUVT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =kF? _KN  
lh~<s2[R2  
^+URv  
struts.multipart.saveDir b.@H1L  
      The directory to use for storing uploaded files Pm;I3r=R\  
      设置存储上传文件的目录夹 u(8~4P0w  
F6DxvyANr  
struts.objectFactory YV4 : 8At1  
      The com.opensymphony.xwork2.ObjectFactory implementation class MN\i-vAL8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) PRZ8X{h  
Dl&PL  
struts.objectFactory.spring.autoWire x g{VP7  
      Whether Spring should autoWire or not f~U#z7  
      是否自动绑定Spring K:uQ#W.&  
f%L:<4  
struts.objectFactory.spring.useClassCache C)U #T)  
      Whether Spring should use its class cache or not A3<^ U  
      是否spring应该使用自身的cache 9n-T5WP  
e"lD`*U8R  
struts.objectTypeDeterminer yr%yy+(.k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2c"/QT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A0UV+ -PP  
T<XfZZ)l<`  
struts.serve.static.browserCache 8F\~Wz7K  
If static content served by the Struts filter should set browser caching header properties or not m'3OGvd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [#7D~Lx/  
f!mE1,eBEe  
struts.serve.static ruzMag)  
      Whether the Struts filter should serve static content or not /G{&[X<4U  
      是否struts过滤器应该提供静态内容 8NxUx+]  
I7A7X*  
struts.tag.altSyntax Kq8 (d`g}  
      Whether to use the alterative syntax for the tags or not sC!1B6:  
      是否可以用替代的语法替代tags FoQ?U=er  
4v0dd p  
struts.ui.templateDir KUlB2Fqi  
      The directory containing UI templates "OVi /:*B  
      UI templates的目录夹 0 -!?W  
^M [#^wv,  
struts.ui.theme =A$Lgk>|  
      The default UI template theme GA(OK-WUd  
      默认的UI template主题 !~?W \b\:  
v^<<[I2 C  
struts.url.http.port [y_yPOv  
      The HTTP port used by Struts URLs -|6V}wHg~  
      设置http端口 >c}:   
q|R+x7x  
struts.url.https.port CQj/e+eE4  
      The HTTPS port used by Struts URLs x`Vy<h 33  
      设置https端口 4u@yJ?U  
?OdV1xB  
struts.url.includeParams UB5}i('L  
      The default includeParams method to generate Struts URLs 1d=0q?nH  
      在url中产生 默认的includeParams RA#\x.  
{bW"~_6}  
L-`(!j  
struts.velocity.configfile Q -M rH   
      The Velocity configuration file path qw9e) `3$  
      velocity配置文件路径 9)ACgz&(  
v!nm &"  
struts.velocity.contexts N-]\oMc2  
      List of Velocity context names Bjurmo  
      velocity的context列表 Lr K9F^c  
"1_{c *ck  
yW%&_s0  
struts.velocity.manager.classname >oVc5}  
      org.apache.struts2.views.velocity.VelocityManager implementation class =%Q\*xaR.W  
      org.apache.struts2.views.velocity.VelocityManager接口名 zNNzsT8na  
eL>K2Jxq  
struts.velocity.toolboxlocation Z'voCWCd  
      The location of the Velocity toolbox bMSD/L  
      velocity工具盒的位置 8W(<q|t  
struts.xslt.nocache w g$D@E7  
      Whether or not XSLT templates should not be cached ac2}3 $u  
      是否XSLT模版应该被缓存 N;e;4,_ n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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