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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f`9JE8  
{O)YwT$`  
struts.action.extension }'%^jt[3  
      The URL extension to use to determine if the request is meant for a Struts action SSE3tcRRl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pprejUR  
czI{qi5N  
struts.configuration wf?u (3/%  
      The org.apache.struts2.config.Configuration implementation class n@ 4@,  
        org.apache.struts2.config.Configuration接口名 BDy5J2<<7l  
tQrS3Hz'nA  
struts.configuration.files .`,F  
      A list of configuration files automatically loaded by Struts KbAR_T1n  
      struts自动加载的一个配置文件列表 MM#i t=u  
mzGjRl=O  
struts.configuration.xml.reload 1?(cmXj  
      Whether to reload the XML configuration or not ;7rd;zJ  
      是否加载xml配置(true,false) 4QE=f(u;h  
7{pIPmJ  
struts.continuations.package 7rcA[)<'  
      The package containing actions that use Rife continuations -/>9c-F  
      含有actions的完整连续的package名称 T7 {<arL$  
cGNvEM(4AV  
struts.custom.i18n.resources 7:>sc]Z  
      Location of additional localization properties files to load gE\b 982  
      加载附加的国际化属性文件(不包含.properties后缀) RvyuGU  
86%%n?"}  
struts.custom.properties Yt+h2ft!  
      Location of additional configuration properties files to load MTb,Kmw<(  
      加载附加的配置文件的位置 (s s3A9tG  
:\b|dvI<  
d ",(a Z  
struts.devMode d ;^  
      Whether Struts is in development mode or not Sh&iQ_vq  
      是否为struts开发模式 |O-`5_z$r  
ZqQ*}l5  
struts.dispatcher.parametersWorkaround hGI+:Js6  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q".g.k  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7X}TB\N1  
BX[~% iE  
struts.enable.DynamicMethodInvocation x vmt.>f  
      Allows one to disable dynamic method invocation from the URL R,F gl2  
        允许动态方法调用 Vr/Bu4V"  
gO='A(Y  
struts.freemarker.manager.classname WULAty  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f#$|t>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R_1qn  
~U$":~H[  
struts.i18n.encoding +@ MPQv  
      The encoding to use for localization messages s\gp5MT  
      国际化信息内码 SO;N~D1Z6  
2no$+4+z  
struts.i18n.reload ;~+]! U  
      Whether the localization messages should automatically be reloaded lpy:3`ti  
      是否国际化信息自动加载 sWHyL(C@  
Izn T|l^  
struts.locale <sX VW  
      The default locale for the Struts application K]/Od  
      默认的国际化地区信息 h?Nek+1'  
*%!M4&  
struts.mapper.class \\:|Odd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &nY;=Hv`WY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r\2vl8X~  
5Fbs WW2  
struts.multipart.maxSize 2q PhLCe Z  
      The maximize size of a multipart request (file upload) u5Up&QE!>q  
      multipart请求信息的最大尺寸(文件上传用) 2-dh;[4  
+q{[\#t5  
struts.multipart.parser Vr=OYI'A  
      The org.apache.struts2.dispatcher.multipart. e[1>(l}Ss  
      MultiPartRequest parser implementation for a multipart request (file upload) 6e&$l-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "AC^ rz~U  
Qz,|mo+  
w^q7n  
struts.multipart.saveDir gEwd &J  
      The directory to use for storing uploaded files *geN [ [  
      设置存储上传文件的目录夹 4^*,jS-9g}  
q .J sf+  
struts.objectFactory &|9.}Z8U  
      The com.opensymphony.xwork2.ObjectFactory implementation class h2~4G)J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9b"MQ[B4#a  
W .I\J<=V  
struts.objectFactory.spring.autoWire dNiH|-$an  
      Whether Spring should autoWire or not M`7y>Ud  
      是否自动绑定Spring bgF^(T35  
lnh+a7a)  
struts.objectFactory.spring.useClassCache 'yY>as  
      Whether Spring should use its class cache or not lCIDBBjy^  
      是否spring应该使用自身的cache Ez+Z[*C  
!'G~k+  
struts.objectTypeDeterminer "Sridh?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $,fy$ Qk,S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Xg7|JS!  
$t}<85YCQ  
struts.serve.static.browserCache Sk}{E@  
If static content served by the Struts filter should set browser caching header properties or not CMW,slC_3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,.tfWN%t\  
G2:%g(  
struts.serve.static uw AwWgl  
      Whether the Struts filter should serve static content or not G[,Q95`w?<  
      是否struts过滤器应该提供静态内容 X~oK[Nf'9  
S($Su7g%_  
struts.tag.altSyntax 0 1V^L}  
      Whether to use the alterative syntax for the tags or not Y32 "N[yw  
      是否可以用替代的语法替代tags R=]d%L8  
x Q4%e[/  
struts.ui.templateDir Kibr ]w  
      The directory containing UI templates Hfym30  
      UI templates的目录夹 J00VTb`  
o!c] (  
struts.ui.theme hK|j6x f.o  
      The default UI template theme \%0n}.A  
      默认的UI template主题 r(h`XMsU  
7zemr>sIh  
struts.url.http.port 5jB* fIz  
      The HTTP port used by Struts URLs fCWGAO2  
      设置http端口 )h{ ]k=  
QDx$==Fo  
struts.url.https.port )e|=mtp  
      The HTTPS port used by Struts URLs uXjP`/R|  
      设置https端口 em{(4!W>  
-7 U| a/  
struts.url.includeParams ocz G|_  
      The default includeParams method to generate Struts URLs !C4!LZ0A  
      在url中产生 默认的includeParams "N?+VkZEv  
u #w29Pm  
(kv?33  
struts.velocity.configfile G\de2Q"d:O  
      The Velocity configuration file path r|u MovnV  
      velocity配置文件路径 N$>^g"6 o  
aj^wRzJ}zA  
struts.velocity.contexts S! v(+|  
      List of Velocity context names <{5EdX  
      velocity的context列表 _Q[$CcDEE  
qOih`dla  
ar9]"s+'  
struts.velocity.manager.classname )3Z ^h<"j  
      org.apache.struts2.views.velocity.VelocityManager implementation class HlvuW(,x=  
      org.apache.struts2.views.velocity.VelocityManager接口名 RTh`ENCKR  
_tTNG2  
struts.velocity.toolboxlocation gKYfQ+  
      The location of the Velocity toolbox "ZM4F?x  
      velocity工具盒的位置 E_e6^Sk5B(  
struts.xslt.nocache j>-gO,v, y  
      Whether or not XSLT templates should not be cached 4%nE*H%  
      是否XSLT模版应该被缓存 q@t0NvNSu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五