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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 WD2]&g  
jN>{'TqW4  
struts.action.extension !2A:"2Kys:  
      The URL extension to use to determine if the request is meant for a Struts action R)z4n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E4W -hq~  
*-q"3 D`  
struts.configuration M?:c)&$]D  
      The org.apache.struts2.config.Configuration implementation class QP)pgAc  
        org.apache.struts2.config.Configuration接口名 KgOqbSJ  
W?aI|U1  
struts.configuration.files c^u"I'#Q  
      A list of configuration files automatically loaded by Struts 4.h=&jz&  
      struts自动加载的一个配置文件列表 ~ ! 3I2  
wsN?[=l{s  
struts.configuration.xml.reload Fpa ;^F  
      Whether to reload the XML configuration or not }L3oR  
      是否加载xml配置(true,false) l>{R`BZ/  
9C[ywp  
struts.continuations.package U{z9>  
      The package containing actions that use Rife continuations aj}sc/Qa  
      含有actions的完整连续的package名称 /.i.TQ]  
iz?tu: \v&  
struts.custom.i18n.resources <]4i`6{v  
      Location of additional localization properties files to load }!/$M\w  
      加载附加的国际化属性文件(不包含.properties后缀) w{uuSe  
!V\Q<So<  
struts.custom.properties y^Kph# F"  
      Location of additional configuration properties files to load R~jHr )0.#  
      加载附加的配置文件的位置 no] z1D  
;D s46M-s  
z$GoaS(  
struts.devMode 'XofD}dm  
      Whether Struts is in development mode or not i|}[A  
      是否为struts开发模式 +|@rD/I6  
9D}/\jM  
struts.dispatcher.parametersWorkaround B`o]*"xkB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S:q3QgU=X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4e;y G>  
'GoZqiYT  
struts.enable.DynamicMethodInvocation f7~9|w&  
      Allows one to disable dynamic method invocation from the URL UybW26C;aU  
        允许动态方法调用 MJCzo |w  
]f: v,a  
struts.freemarker.manager.classname "+ >SJ~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qYf |Gv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g'u?Rn 7*J  
M$d%p6Cv  
struts.i18n.encoding )d-.M  
      The encoding to use for localization messages 80Y\|)  
      国际化信息内码 +:-57  
uy^   
struts.i18n.reload A@D2+fS  
      Whether the localization messages should automatically be reloaded +|{RE.DL  
      是否国际化信息自动加载 pD2<fP_  
TO*BH^5R  
struts.locale )VK }m9Ae  
      The default locale for the Struts application kR@Yl Yo  
      默认的国际化地区信息 22KI]$D#f  
PG)_L.7rJ  
struts.mapper.class _8h8Wtif  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U06o ;s(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8h?X!2Nq  
m<3v)R[>  
struts.multipart.maxSize f'dK73Xof  
      The maximize size of a multipart request (file upload) {%']w  
      multipart请求信息的最大尺寸(文件上传用) ]s|lxqP  
Q)Dwq?  
struts.multipart.parser Ha ZFxh-(  
      The org.apache.struts2.dispatcher.multipart. mR":z|6  
      MultiPartRequest parser implementation for a multipart request (file upload) ?:|YGLaB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~%q7Vmk9  
I Ru$oF}  
BxX$5u  
struts.multipart.saveDir H$-$2?5  
      The directory to use for storing uploaded files )hL^+Nn bR  
      设置存储上传文件的目录夹 qZ G-Lh  
"L~@.W!@  
struts.objectFactory :+kUkb-/  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5(}H ?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {>.>7{7  
-Q`C q |s  
struts.objectFactory.spring.autoWire y-`I) w%  
      Whether Spring should autoWire or not Tj,Nmb>Q7'  
      是否自动绑定Spring PF ;YE6  
L^KdMMz;  
struts.objectFactory.spring.useClassCache [w%#<5h  
      Whether Spring should use its class cache or not *t =i  
      是否spring应该使用自身的cache BpXEK.Xw  
mW$ot.I  
struts.objectTypeDeterminer c57bf  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &y3B)#dIJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j-P^Zv};u  
dx359  
struts.serve.static.browserCache UIw?;:Y  
If static content served by the Struts filter should set browser caching header properties or not 5~yb ~0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vXPuyR<J  
@dhH;gt.I  
struts.serve.static 3GWrn ,f  
      Whether the Struts filter should serve static content or not >DmRP7v   
      是否struts过滤器应该提供静态内容 lIy/;hIc  
lWl-@ *'  
struts.tag.altSyntax ArdJ."  
      Whether to use the alterative syntax for the tags or not g Np-f  
      是否可以用替代的语法替代tags wR1K8b".DC  
>\-3P $  
struts.ui.templateDir {1HB!@%,(  
      The directory containing UI templates Cs;<'[_?YO  
      UI templates的目录夹 0- Yeu5A  
:,=Fx</H  
struts.ui.theme 'qlxAYw<f  
      The default UI template theme L3' \r  
      默认的UI template主题 C_89YFn+  
c( 8W8R  
struts.url.http.port 9w$7VW;  
      The HTTP port used by Struts URLs >|S>J+(  
      设置http端口 K/A ? ]y  
%1@.7 uTN  
struts.url.https.port u p7 x)w:  
      The HTTPS port used by Struts URLs zXDd,ltm  
      设置https端口 OUKj@~T  
K;kLQ2)  
struts.url.includeParams _.hIv8V  
      The default includeParams method to generate Struts URLs t-a`.y  
      在url中产生 默认的includeParams EXH!glR[$  
zZw@c?  
G:){^Z?  
struts.velocity.configfile r8H7TJI0   
      The Velocity configuration file path ,$SkaTBe  
      velocity配置文件路径 "Vq@bNtu+  
cEtZ}2,j  
struts.velocity.contexts paUyS1i  
      List of Velocity context names 6#/LyzZq|  
      velocity的context列表 QDl)92z  
@b>YkJDk  
?\l!]vu*  
struts.velocity.manager.classname -!JlM@  
      org.apache.struts2.views.velocity.VelocityManager implementation class e*6U |+kJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 |^\ Hv5  
KX$qM g1j  
struts.velocity.toolboxlocation WCWSLEAza  
      The location of the Velocity toolbox oa?!50d  
      velocity工具盒的位置 [k}dES#  
struts.xslt.nocache =ulr_i%Xs  
      Whether or not XSLT templates should not be cached |A2W8b {]  
      是否XSLT模版应该被缓存 v_[)FN"]Y.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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