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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 F5Cqv0H V  
GWVEIZ  
struts.action.extension BD<rQmfA^  
      The URL extension to use to determine if the request is meant for a Struts action k{!iDZr&f,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s$eK66H  
D]3bwoFo&u  
struts.configuration =/)Mc@Hb  
      The org.apache.struts2.config.Configuration implementation class 8yNRx iW:  
        org.apache.struts2.config.Configuration接口名 |v,}%UN2  
](idf(j  
struts.configuration.files 99=[>Ck)G  
      A list of configuration files automatically loaded by Struts GA}hp%  
      struts自动加载的一个配置文件列表 kjQIagw  
})Ix .!p  
struts.configuration.xml.reload eU<]h>2  
      Whether to reload the XML configuration or not w/)e2CH  
      是否加载xml配置(true,false) ;w>Q{z  
!^rITiy  
struts.continuations.package gt(X!iN]  
      The package containing actions that use Rife continuations :"h Pg]'  
      含有actions的完整连续的package名称 m(Pz7U.Q  
3g4vpKg6c  
struts.custom.i18n.resources w;g)Iy6x  
      Location of additional localization properties files to load O p!  
      加载附加的国际化属性文件(不包含.properties后缀) i|:: v l  
)L&n)w  
struts.custom.properties j=zU7wz)D  
      Location of additional configuration properties files to load / i\uwa,  
      加载附加的配置文件的位置 6tCV{pgm  
g0[<9.ke  
pb$ An<P  
struts.devMode Lcm~QF7cd  
      Whether Struts is in development mode or not P W0q71  
      是否为struts开发模式 w0F:%:/  
Rq~ >h99M  
struts.dispatcher.parametersWorkaround n:{-Vvt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6ba2^3GH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 23.y3t_?  
MV:<w3!  
struts.enable.DynamicMethodInvocation Z)b)v  
      Allows one to disable dynamic method invocation from the URL !IQfeo T  
        允许动态方法调用 "oKj~:$  
'npT+p$ V  
struts.freemarker.manager.classname F5om-tzy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4@ydK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ; +#za?w  
M,=@|U/B  
struts.i18n.encoding {g23[$X]N  
      The encoding to use for localization messages >*ha#PE  
      国际化信息内码 xP|%rl4  
l=<F1Lz  
struts.i18n.reload R  oF  
      Whether the localization messages should automatically be reloaded v{\n^|=])  
      是否国际化信息自动加载 N23+1h  
B[2h   
struts.locale _ cHV3cz  
      The default locale for the Struts application Dg];(c+/  
      默认的国际化地区信息  `i_L?C7  
h<!khWFS  
struts.mapper.class /I`!i K  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -hJ>wGI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 HquB*=^xh  
nATfmUN L  
struts.multipart.maxSize \I`=JKYT  
      The maximize size of a multipart request (file upload) LmT[N@>"  
      multipart请求信息的最大尺寸(文件上传用) 8{U]ATx'(  
D+@/x{wX2  
struts.multipart.parser 7o 83|s.Bm  
      The org.apache.struts2.dispatcher.multipart. ?Sd~u1w8K  
      MultiPartRequest parser implementation for a multipart request (file upload) !Sr0Im0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d%[`=fs]|m  
n+A'XBHk  
/oix tO)  
struts.multipart.saveDir C$Hl`>?$  
      The directory to use for storing uploaded files e P,XH{s  
      设置存储上传文件的目录夹 LbmB([p  
1zEZ\G  
struts.objectFactory cxF?&0[mY  
      The com.opensymphony.xwork2.ObjectFactory implementation class d >wmg*J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xSMp[j  
5;i!PuL  
struts.objectFactory.spring.autoWire k(vEp ]  
      Whether Spring should autoWire or not xs83S.fHg  
      是否自动绑定Spring ytcG6WN3  
Ty,)mx){)  
struts.objectFactory.spring.useClassCache W> -E.#!_  
      Whether Spring should use its class cache or not  6@Z'fT4  
      是否spring应该使用自身的cache GwIfGixqH  
W;)FNP|MT  
struts.objectTypeDeterminer @{$Cv"6769  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <PuB3PEvV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7! A%6  
f 7QUZb\  
struts.serve.static.browserCache TG%hy"k  
If static content served by the Struts filter should set browser caching header properties or not $'mB8 S  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ubos#hP  
gP hw.e""  
struts.serve.static IP4b[|ef  
      Whether the Struts filter should serve static content or not H2pXJ/XF  
      是否struts过滤器应该提供静态内容 ba)YbP[  
r{N{! "G  
struts.tag.altSyntax & 4Iqm(  
      Whether to use the alterative syntax for the tags or not ,mBKya)  
      是否可以用替代的语法替代tags i[BR(D&l_p  
_XO)`D~  
struts.ui.templateDir Cx3m\ \c  
      The directory containing UI templates YO!7D5rV#  
      UI templates的目录夹 F~rY jAFTi  
j[=_1~u}  
struts.ui.theme y:6'&`L  
      The default UI template theme _)Z7Le:f!  
      默认的UI template主题 1b]PCNz  
;h(;(  
struts.url.http.port .0*CT:1=0  
      The HTTP port used by Struts URLs GPqB\bxb'  
      设置http端口 ~RLx;  
))+9 8iU1s  
struts.url.https.port <[B[  
      The HTTPS port used by Struts URLs =rO>b{,hs  
      设置https端口 P@S;>t{TD  
8KELN(o$ 7  
struts.url.includeParams 8iH;GFNJ7'  
      The default includeParams method to generate Struts URLs L) nVpqm   
      在url中产生 默认的includeParams BnnUUaE  
q?]@' ^:;  
)D-.7m.v]  
struts.velocity.configfile sq6%=(q(?  
      The Velocity configuration file path Sph"w08  
      velocity配置文件路径 o_KcnVQ\  
)s7Tv#[  
struts.velocity.contexts "drh+oo.  
      List of Velocity context names 0gb]Kjx  
      velocity的context列表 P)j9\ muc  
zhm!sMlO  
MfpWow-#{  
struts.velocity.manager.classname C.e|VzQa  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3L%r_N*a  
      org.apache.struts2.views.velocity.VelocityManager接口名 FC- *?  
F@(}=w^(A  
struts.velocity.toolboxlocation w wRT$-!  
      The location of the Velocity toolbox ![D,8]GD  
      velocity工具盒的位置 HF=C8ZtlL  
struts.xslt.nocache 1*, ~1!>  
      Whether or not XSLT templates should not be cached EKS<s82hF&  
      是否XSLT模版应该被缓存 ~TK^aM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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