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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @+^5ze\  
U?yKwH^{  
struts.action.extension %|gj46  
      The URL extension to use to determine if the request is meant for a Struts action ]?j[P=\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m; m4/z3U  
o3xfif  
struts.configuration KI8Q =*  
      The org.apache.struts2.config.Configuration implementation class bPo*L~xdk  
        org.apache.struts2.config.Configuration接口名 5: O,-b&  
Tp fC  
struts.configuration.files }Oh@`xTxt  
      A list of configuration files automatically loaded by Struts TF;}NQ  
      struts自动加载的一个配置文件列表 P] 9-+  
l@nG?l #  
struts.configuration.xml.reload t?cO>4*|  
      Whether to reload the XML configuration or not A]mXV4RmI  
      是否加载xml配置(true,false) 2ZZF hj  
7Jvb6V<R  
struts.continuations.package  o0Pc^  
      The package containing actions that use Rife continuations 4 n\dh<uY  
      含有actions的完整连续的package名称 ,L,?xvWG  
zFGZ;?i  
struts.custom.i18n.resources SBqx_4}  
      Location of additional localization properties files to load *<T,Fyc|  
      加载附加的国际化属性文件(不包含.properties后缀) K)8N8Js(  
4f{(Scg  
struts.custom.properties ]Qb85;0)  
      Location of additional configuration properties files to load Q]2v]PJ6"  
      加载附加的配置文件的位置 bx8|_K*^  
!mtX*;b(e  
*Wmn!{\g  
struts.devMode YF(TG]?6  
      Whether Struts is in development mode or not RB `<Zw  
      是否为struts开发模式 Y]!{ n W  
C`>|D [  
struts.dispatcher.parametersWorkaround VLfE3i4Vwl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <j$n7#qk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =#ls<Zo:  
=a3qpPkx  
struts.enable.DynamicMethodInvocation czHbdEh  
      Allows one to disable dynamic method invocation from the URL =lqBRut  
        允许动态方法调用 *Mr?}_,X*  
84$#!=v  
struts.freemarker.manager.classname 6K zdWT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  2t7Hu)V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "lJ [H=\  
)./'`Mx?  
struts.i18n.encoding @ I$;  
      The encoding to use for localization messages tZn=[X~Vw@  
      国际化信息内码 y vz2eAXa  
FD*w4U5  
struts.i18n.reload , ,=7deR  
      Whether the localization messages should automatically be reloaded 8C!D=Vhh  
      是否国际化信息自动加载 -Y"'=zkO  
@(_M\>!%M  
struts.locale auP6\kpMe  
      The default locale for the Struts application GMO|A.bzzN  
      默认的国际化地区信息 . |g67PH=  
A(>kp=~  
struts.mapper.class ]jL`*tI\S  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3d0Yq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  'WW['  
ntT~_Ba8;u  
struts.multipart.maxSize yAt,XG3  
      The maximize size of a multipart request (file upload) \.7O0Q{  
      multipart请求信息的最大尺寸(文件上传用) E5}wR(i,4  
|2eF~tJqc  
struts.multipart.parser Ie%twc  
      The org.apache.struts2.dispatcher.multipart. KoPhPH  
      MultiPartRequest parser implementation for a multipart request (file upload) (}C%g{8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .`ppp!:a4  
,`lVB#|  
? m$7)@p  
struts.multipart.saveDir .g6DKjy>  
      The directory to use for storing uploaded files M~1 n#  
      设置存储上传文件的目录夹 x>yeF,q1  
8O5@FU 3  
struts.objectFactory 4vk^=  
      The com.opensymphony.xwork2.ObjectFactory implementation class mVBF2F<4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0$9I.%4jAJ  
5c~OG6COx  
struts.objectFactory.spring.autoWire FOU^Wcop%  
      Whether Spring should autoWire or not mjd9]HgN  
      是否自动绑定Spring K(M@#t1_&  
&sRjs  
struts.objectFactory.spring.useClassCache E'g2<k  
      Whether Spring should use its class cache or not ] EzX$T  
      是否spring应该使用自身的cache ?/,sKF74i  
dU~DlaEy(  
struts.objectTypeDeterminer H' [#x2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +|w-1&-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z=vzF0  
*\i<+~I@l  
struts.serve.static.browserCache /}Z0\ ,  
If static content served by the Struts filter should set browser caching header properties or not - :0{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lTh}0t  
|H)WJ/`  
struts.serve.static N8>;BHBV!  
      Whether the Struts filter should serve static content or not |$vhu`]Z@^  
      是否struts过滤器应该提供静态内容 I=,u7w`m  
cO#e AQf7  
struts.tag.altSyntax 96.A8o  
      Whether to use the alterative syntax for the tags or not v&>TU(x\H  
      是否可以用替代的语法替代tags _/)?GXwLn  
UJ'}p&E  
struts.ui.templateDir H...!c1M@  
      The directory containing UI templates ?V}AwLX}  
      UI templates的目录夹 ^'|\8  
:W/,V^x}  
struts.ui.theme Wkk=x&  
      The default UI template theme :z EhPx;B7  
      默认的UI template主题 `2Buf8|a,  
90pk  
struts.url.http.port hupYiI~  
      The HTTP port used by Struts URLs YJO,"7+  
      设置http端口 QcQ:hHF  
a%-P^M;a2  
struts.url.https.port  psg}sl/  
      The HTTPS port used by Struts URLs 9 xvE?8;M#  
      设置https端口 S:UtmS+K  
'M*+HY\.0  
struts.url.includeParams XMM@EN  
      The default includeParams method to generate Struts URLs jF'azlT  
      在url中产生 默认的includeParams {GS7J  
L}&U%eD  
}xl @:Qo  
struts.velocity.configfile ZU&I`q|Y6  
      The Velocity configuration file path ?^F#}>C  
      velocity配置文件路径 c0Tda  
*n)3y.s  
struts.velocity.contexts G}tq'#]E{z  
      List of Velocity context names ]Qp0|45=  
      velocity的context列表 G;+hc%3y  
-L/5Nbup  
MK]S205{  
struts.velocity.manager.classname }{^i*T5rl  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5Dy800.B2  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~%4#R4&  
>mT< AQ  
struts.velocity.toolboxlocation  KUfk5Y  
      The location of the Velocity toolbox :;u~M(R  
      velocity工具盒的位置 2w=0&wG4K  
struts.xslt.nocache x@I@7Pvo3  
      Whether or not XSLT templates should not be cached m6bI<C3^5  
      是否XSLT模版应该被缓存 %$ ^yot  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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