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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |*M07Hc x  
F{rC{5@fj  
struts.action.extension w9n0p0xr<  
      The URL extension to use to determine if the request is meant for a Struts action T(Bcp^N  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yXqC  
yPg0 :o-  
struts.configuration ;Sg,$`]  
      The org.apache.struts2.config.Configuration implementation class i0*Cs#(=h  
        org.apache.struts2.config.Configuration接口名 <j/wK]d*/  
57O|e/2  
struts.configuration.files IZ87Px>zL  
      A list of configuration files automatically loaded by Struts wQ[!~>A  
      struts自动加载的一个配置文件列表 y]+[o1]-c  
{fjBa,o #  
struts.configuration.xml.reload 0A-yQzL|  
      Whether to reload the XML configuration or not #lMC#Ld  
      是否加载xml配置(true,false) ,_s.amL3O{  
fjY:u,5V_  
struts.continuations.package %LD(S*>7  
      The package containing actions that use Rife continuations mn*}U R  
      含有actions的完整连续的package名称 PZO.$'L|7  
@(+\*]?^&  
struts.custom.i18n.resources \DWKG~r-%  
      Location of additional localization properties files to load )>"pm {g2  
      加载附加的国际化属性文件(不包含.properties后缀) _~*j=XRs  
v#`>  
struts.custom.properties TK%q}bK,  
      Location of additional configuration properties files to load |_QpB?b  
      加载附加的配置文件的位置 d1D=R8P_u  
W; os4'h$  
VJl0UM3{J  
struts.devMode 0C\cM92o  
      Whether Struts is in development mode or not s,AJR [  
      是否为struts开发模式 2.]d~\  
Dy 8H(_  
struts.dispatcher.parametersWorkaround (bpRX$is  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;C=V -r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eW8{ ],B  
2aX$7E?  
struts.enable.DynamicMethodInvocation g3^:)$m  
      Allows one to disable dynamic method invocation from the URL `Q#)N0  
        允许动态方法调用 S%B56|'  
Ye$; d ~  
struts.freemarker.manager.classname 7G*rxn"d  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j}`ku9S~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E1dhj3+3  
>AY9 F|:  
struts.i18n.encoding +U%epq  
      The encoding to use for localization messages "5'eiYm s  
      国际化信息内码 "] Uj _d  
Bjj =UtI  
struts.i18n.reload ~)[ pL(4  
      Whether the localization messages should automatically be reloaded 2oOos%0  
      是否国际化信息自动加载 t o8J   
T 1_B0H2  
struts.locale G l2WbY  
      The default locale for the Struts application  R0F [  
      默认的国际化地区信息 .726^2sx  
y?A*$6  
struts.mapper.class Y6.Bi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;b. m X  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `T{CB) ?9  
m1X*I  
struts.multipart.maxSize >[wB|V5  
      The maximize size of a multipart request (file upload) ,?IXfJ`c  
      multipart请求信息的最大尺寸(文件上传用) G2 V$8lh  
'o*\ N%  
struts.multipart.parser q/Ji}NGm  
      The org.apache.struts2.dispatcher.multipart. QMmZvz\^  
      MultiPartRequest parser implementation for a multipart request (file upload) aBQ@n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qn{4AWmJ  
%s9*?6  
wZ69W$,p  
struts.multipart.saveDir a/H5Y,b>  
      The directory to use for storing uploaded files qFLt/ >  
      设置存储上传文件的目录夹 A$n.'*gK  
!q$>6P  
struts.objectFactory fe"w--v  
      The com.opensymphony.xwork2.ObjectFactory implementation class >Z<ZT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7GG`9!l]D  
UH;bg}=8  
struts.objectFactory.spring.autoWire a`]ZyG*P  
      Whether Spring should autoWire or not -[pfLo  
      是否自动绑定Spring ^eefR5^_w  
G#@#j]8  
struts.objectFactory.spring.useClassCache o4@d,uIw^  
      Whether Spring should use its class cache or not iT s" RW  
      是否spring应该使用自身的cache :#_k`{WG  
#7]>ozKm  
struts.objectTypeDeterminer r'_#rl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class z4` :n.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u$aN~6HG  
SG&H^V8  
struts.serve.static.browserCache +lZ-xU1  
If static content served by the Struts filter should set browser caching header properties or not Eza^Tbq%j?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 AE`UnlUSF  
n "^rS}Y]  
struts.serve.static 1vCp<D9<  
      Whether the Struts filter should serve static content or not 0(9gTxdB  
      是否struts过滤器应该提供静态内容 Xc^(e?L4  
m^0 I3;  
struts.tag.altSyntax C8YStT  
      Whether to use the alterative syntax for the tags or not t6kLZ  
      是否可以用替代的语法替代tags TDy)A2Z  
)56L`5#tS  
struts.ui.templateDir Zy{hYHQ  
      The directory containing UI templates _ouZd.  
      UI templates的目录夹  | z_av  
Ol<LL#<j4  
struts.ui.theme 9&<c)sS&B  
      The default UI template theme B<h4ZK%  
      默认的UI template主题 (!0_s48f  
*UJB *r  
struts.url.http.port 45iO2W uur  
      The HTTP port used by Struts URLs n <HF]  
      设置http端口 yp@cn(:~  
UfV { m  
struts.url.https.port QwF.c28[  
      The HTTPS port used by Struts URLs p]Qe5@NT  
      设置https端口 a9_2b}t  
e8egxm  
struts.url.includeParams bNtOqhi  
      The default includeParams method to generate Struts URLs PJe \PGh  
      在url中产生 默认的includeParams 6W7,EIf  
:0Y.${h  
d(9SkXr  
struts.velocity.configfile 'd;aAG  
      The Velocity configuration file path )cZ KB0*+  
      velocity配置文件路径 W?.xtQEv  
K:Z,4Y  
struts.velocity.contexts A)d0Z6G`  
      List of Velocity context names E5c)\ D  
      velocity的context列表 <5CQ#^ cK  
e%{7CR'~TD  
@T.F/Pjhc  
struts.velocity.manager.classname 8JW0;H<  
      org.apache.struts2.views.velocity.VelocityManager implementation class KBI 1t$  
      org.apache.struts2.views.velocity.VelocityManager接口名 t=p"nIE  
]^{5`  
struts.velocity.toolboxlocation Y2 N$&]O{  
      The location of the Velocity toolbox ANj%q9e!Yi  
      velocity工具盒的位置 2"P1I  
struts.xslt.nocache qEdY]t   
      Whether or not XSLT templates should not be cached -(}N-yu  
      是否XSLT模版应该被缓存 W&Xi &[Ux  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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