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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?:w1je7  
7U"[Gf  
struts.action.extension YX` 7Hm,  
      The URL extension to use to determine if the request is meant for a Struts action P{u0ftyX}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U*3uq7  
5< ja3  
struts.configuration zL\OB?)5J  
      The org.apache.struts2.config.Configuration implementation class *6} N =Z  
        org.apache.struts2.config.Configuration接口名 hcyM6:}  
/c,(8{(O  
struts.configuration.files lg(bDK m  
      A list of configuration files automatically loaded by Struts *k19LI.5  
      struts自动加载的一个配置文件列表 hXA6D)   
]8T!qS(UJd  
struts.configuration.xml.reload sVl-N&/  
      Whether to reload the XML configuration or not VZ\B<i  
      是否加载xml配置(true,false) A,`8#-AX  
VqS#waNrx  
struts.continuations.package kcQ'$<Mz<  
      The package containing actions that use Rife continuations FXs*vg`  
      含有actions的完整连续的package名称 4n4?4BEn  
hiUD]5Kp  
struts.custom.i18n.resources 0@EwM  
      Location of additional localization properties files to load qM.bF&&Go  
      加载附加的国际化属性文件(不包含.properties后缀) %DdJ ^qHI  
v{A KEX*  
struts.custom.properties eGX %KT"O  
      Location of additional configuration properties files to load .j-IX1Sa  
      加载附加的配置文件的位置 {6}eN|4~#  
?]x|Zy  
k2AJXw  
struts.devMode U{VCZ*0cj  
      Whether Struts is in development mode or not e/^=U7:io  
      是否为struts开发模式 #es9d3 ~\  
SXy=<%ed  
struts.dispatcher.parametersWorkaround v.]Q$q^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'z$Q rFW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Jm42b4  
bP^Je&nS*  
struts.enable.DynamicMethodInvocation NM06QzE  
      Allows one to disable dynamic method invocation from the URL ZfB " E  
        允许动态方法调用 YJo["Q  
E>}4$q[r  
struts.freemarker.manager.classname X_7UJ jFw"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~}+Hgi  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Dre]AsgiV  
YiPoYlD*n<  
struts.i18n.encoding m o:D9  
      The encoding to use for localization messages Uy$)%dYfq5  
      国际化信息内码 p1|f<SF')  
o9H^?Rut  
struts.i18n.reload nG;8:f`  
      Whether the localization messages should automatically be reloaded xQ@^$_  
      是否国际化信息自动加载 |JVk&8 ?8  
FD8N"p  
struts.locale 1u6^z  
      The default locale for the Struts application }5 (Ho$S(  
      默认的国际化地区信息 ka3u&3"  
vo#UtN:q  
struts.mapper.class +mp@b942*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <-u8~N@43W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /;utcc  
a(0*um(  
struts.multipart.maxSize smry2*g  
      The maximize size of a multipart request (file upload) TEaJG9RU>v  
      multipart请求信息的最大尺寸(文件上传用) uNHF'?X  
R>(@Z M&  
struts.multipart.parser 1Y]TA3:  
      The org.apache.struts2.dispatcher.multipart. J52 o g4l  
      MultiPartRequest parser implementation for a multipart request (file upload)  0gfA#|'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7=DjI ~  
Y k5 }`d!:  
48*Do}l]  
struts.multipart.saveDir u6bXv(  
      The directory to use for storing uploaded files o!!yd8~*r  
      设置存储上传文件的目录夹 0eS)&GdR  
pb=cBZ$  
struts.objectFactory 7__Q1 > o  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4'LB7}WG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mD/MJt5  
7Ddaf>  
struts.objectFactory.spring.autoWire FGh] S-A  
      Whether Spring should autoWire or not H `(exa:w  
      是否自动绑定Spring  $O dCL  
gR}35:$Z-  
struts.objectFactory.spring.useClassCache 1)[]x9]^q'  
      Whether Spring should use its class cache or not G3{=@Z1  
      是否spring应该使用自身的cache 1rDqa(7  
Y14W?|KOB  
struts.objectTypeDeterminer 57g</ p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (bh95X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p f_mf.  
T.qNCJmB  
struts.serve.static.browserCache LK@lpkX  
If static content served by the Struts filter should set browser caching header properties or not Jyqc2IH  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4X *>H  
m:/ wG& !  
struts.serve.static ME=/|.}D<  
      Whether the Struts filter should serve static content or not Vl2XDkhq  
      是否struts过滤器应该提供静态内容 )u qA(R>  
F<(i.o(  
struts.tag.altSyntax Z%x\~ )~  
      Whether to use the alterative syntax for the tags or not ]hbyELs  
      是否可以用替代的语法替代tags ._+J_ts  
-G|G_$9  
struts.ui.templateDir /0eYMG+K=  
      The directory containing UI templates rQaxr!  
      UI templates的目录夹 W[}s o6  
 &CG*)bE  
struts.ui.theme vVgg0Y2  
      The default UI template theme e@ \p0(  
      默认的UI template主题 QurW/a  
ZPD[5) ~  
struts.url.http.port Cj?L@%"  
      The HTTP port used by Struts URLs RJ$7XCY%`*  
      设置http端口 FSRj4e1y1  
Kk{<@v)  
struts.url.https.port u SR~@Lj ~  
      The HTTPS port used by Struts URLs NoJ`6MB  
      设置https端口 I'@Ydt2  
Q(\4]i< S  
struts.url.includeParams IEcf  
      The default includeParams method to generate Struts URLs edK|NOOZ  
      在url中产生 默认的includeParams B.L]Rk\4  
b?j< BvQ  
U2%.S&wS,e  
struts.velocity.configfile "5,   
      The Velocity configuration file path dzkw$m^@^  
      velocity配置文件路径 0]jA<vLR  
t2r?N}"P  
struts.velocity.contexts PClMQL#  
      List of Velocity context names Zt3)]sB  
      velocity的context列表 &RTX6%'KY  
z1Ov|Q`  
~D|5u\D-  
struts.velocity.manager.classname +EAT:,  
      org.apache.struts2.views.velocity.VelocityManager implementation class t&(PN%icD  
      org.apache.struts2.views.velocity.VelocityManager接口名 gy;+_'.j   
:Pv*, qHE  
struts.velocity.toolboxlocation +d%L\^?F  
      The location of the Velocity toolbox ]7Z{ 8)T  
      velocity工具盒的位置 H`geS  
struts.xslt.nocache >|Cw\^  
      Whether or not XSLT templates should not be cached R+7oRXsu  
      是否XSLT模版应该被缓存 yZWoN&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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