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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jmIP c3O0  
fTeo,N  
struts.action.extension Hq9(6w9w  
      The URL extension to use to determine if the request is meant for a Struts action ?`r/_EKNv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,]d}pJ}PX`  
MS b{ve_  
struts.configuration YS]RG/'  
      The org.apache.struts2.config.Configuration implementation class x .q%O1  
        org.apache.struts2.config.Configuration接口名 l^_X?L@  
li{_biey}  
struts.configuration.files A!J5Wz>Q5  
      A list of configuration files automatically loaded by Struts i8{jMe!Sa  
      struts自动加载的一个配置文件列表 ei5S<n  
!xvPG  
struts.configuration.xml.reload WO{N@f^  
      Whether to reload the XML configuration or not DW-LkgfA  
      是否加载xml配置(true,false)  84{<]y  
\!PC:+u J  
struts.continuations.package +)|2$$m  
      The package containing actions that use Rife continuations OjCT%6hy;  
      含有actions的完整连续的package名称 Y PM>FDxDB  
ReRRFkO"2  
struts.custom.i18n.resources J kA~Ol  
      Location of additional localization properties files to load MMf6QxYf  
      加载附加的国际化属性文件(不包含.properties后缀) `DwlS!0  
\u*,~J)z  
struts.custom.properties 3w@)/ujn  
      Location of additional configuration properties files to load UJZa1p@L  
      加载附加的配置文件的位置 _CZ*z  
:!/}*B  
]oY~8HW  
struts.devMode }bHpFe  
      Whether Struts is in development mode or not Qknd^%  
      是否为struts开发模式 'Go'87+`  
l}wBthwCc  
struts.dispatcher.parametersWorkaround kA3kh`l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X#o:-FKf  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J7xZo=@k  
&a0%7ea`.S  
struts.enable.DynamicMethodInvocation bw4b'9cK  
      Allows one to disable dynamic method invocation from the URL cqq+#39iC  
        允许动态方法调用 ?SpI^Wn)[  
:G-1VtE n  
struts.freemarker.manager.classname FYj3! H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k >MgrtJI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g&[g?L  
%9Ue`8  
struts.i18n.encoding qM`SN4C  
      The encoding to use for localization messages 6y0C  
      国际化信息内码 6->b(B V $  
L{=z}QO  
struts.i18n.reload QSLDA`  
      Whether the localization messages should automatically be reloaded @s/ qOq?  
      是否国际化信息自动加载 nO/5X>A,Zw  
$ p0s  
struts.locale 2H /a&uo@n  
      The default locale for the Struts application SX4p(t  
      默认的国际化地区信息 nMnc&8r  
AE$)RhY`  
struts.mapper.class 7%<jZ =  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (-#{qkA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3S9~rLrn?  
S\,{ qhd  
struts.multipart.maxSize %`TLs^  
      The maximize size of a multipart request (file upload) q8D1MEBL`  
      multipart请求信息的最大尺寸(文件上传用) Yv;aQF"a  
EAI[J&c  
struts.multipart.parser A gPg0(G  
      The org.apache.struts2.dispatcher.multipart. :JS} (  
      MultiPartRequest parser implementation for a multipart request (file upload) WS(c0c  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F&P)mbz1  
k9,"`dk@  
]+Vcuzq/  
struts.multipart.saveDir NX; &V7  
      The directory to use for storing uploaded files HT]ubw]rJ  
      设置存储上传文件的目录夹 jHzy1P{?  
%(]rc%ry0  
struts.objectFactory \Q$);:=q Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class /?GBp[(0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jyC6:BNust  
~!;3W!@(E  
struts.objectFactory.spring.autoWire >"[u.1J_'I  
      Whether Spring should autoWire or not rQqtejcfx  
      是否自动绑定Spring NWvxbv  
DkIkiw{L  
struts.objectFactory.spring.useClassCache 7'I7   
      Whether Spring should use its class cache or not RoTT%c P_  
      是否spring应该使用自身的cache E=E<l?ob  
c1^3lgPv  
struts.objectTypeDeterminer 87Kx7CKF"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GyCpGP|AZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .DQ]q o]OG  
-'(:Sq,4o  
struts.serve.static.browserCache ;1%a:#5  
If static content served by the Struts filter should set browser caching header properties or not . ~<+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )N/KQ[W  
by<2hLB9Q  
struts.serve.static E;sltl  
      Whether the Struts filter should serve static content or not N9Ml&*%oX{  
      是否struts过滤器应该提供静态内容 !S:@x.n@iR  
UXP;'  
struts.tag.altSyntax b$`O|S  
      Whether to use the alterative syntax for the tags or not OK 6}9Eu9  
      是否可以用替代的语法替代tags <'-me09C*  
v<wT`hiKW  
struts.ui.templateDir Oc.>$  
      The directory containing UI templates dUZ&Ty^{  
      UI templates的目录夹 9E^p i LA  
Q?@G>uz  
struts.ui.theme 4pqZ!@45|  
      The default UI template theme N;HvB:c  
      默认的UI template主题 *C BCQp[$  
( ~>Q2DS  
struts.url.http.port xh0A2bw'OP  
      The HTTP port used by Struts URLs d%hA~E1rR  
      设置http端口 [7V]=] p  
i1 &'Zh  
struts.url.https.port Q 1Ao65  
      The HTTPS port used by Struts URLs H<;j&\$q  
      设置https端口 5*$Zfuf  
[_d*J/X  
struts.url.includeParams ]@YQi<d2^  
      The default includeParams method to generate Struts URLs R.N*G]K5  
      在url中产生 默认的includeParams $w\, ."y  
M6iKl  
k:Q<Uanc[  
struts.velocity.configfile AHGcWS\,X  
      The Velocity configuration file path N3p3"4_]fy  
      velocity配置文件路径 Ne 4*MwK  
S<~nk-xr*h  
struts.velocity.contexts k 9rnT)YU  
      List of Velocity context names 7krA+/Qr(  
      velocity的context列表 ^~l<N@  
)v~]lk,o  
I.!/R`  
struts.velocity.manager.classname U@nwSfp:G  
      org.apache.struts2.views.velocity.VelocityManager implementation class W<"\hQI  
      org.apache.struts2.views.velocity.VelocityManager接口名 sA}R!  
Umg81!  
struts.velocity.toolboxlocation Z > =Y  
      The location of the Velocity toolbox q;.]e#wvh  
      velocity工具盒的位置 AHJ;>"]  
struts.xslt.nocache UmX[=D|  
      Whether or not XSLT templates should not be cached 4a!7|}W  
      是否XSLT模版应该被缓存 ?` i/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八