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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C- Aiv@@<=  
#cB=] (N  
struts.action.extension AT){OQF8&  
      The URL extension to use to determine if the request is meant for a Struts action uFseO9F.2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .}.?b  
p2]@yE7w  
struts.configuration fj2pD Cic  
      The org.apache.struts2.config.Configuration implementation class /}G+PUk7  
        org.apache.struts2.config.Configuration接口名 k A`Z#yu  
/.Yf&2X\  
struts.configuration.files gB4&pPN  
      A list of configuration files automatically loaded by Struts iV h^;  
      struts自动加载的一个配置文件列表 XLEEd?Vct9  
!N\<QRb\q  
struts.configuration.xml.reload l@ +lUx8  
      Whether to reload the XML configuration or not :}QBrd  
      是否加载xml配置(true,false) BCDmce`=l  
?C( ' z7  
struts.continuations.package ) >_xHc?  
      The package containing actions that use Rife continuations Vu @2  
      含有actions的完整连续的package名称 &`#k 1t'  
VrV )qfG  
struts.custom.i18n.resources 81m3j`b  
      Location of additional localization properties files to load /RVy?)hVT#  
      加载附加的国际化属性文件(不包含.properties后缀) \rXmWzl{  
gN2$;hb?  
struts.custom.properties @J`o pR  
      Location of additional configuration properties files to load (IlHg^"  
      加载附加的配置文件的位置 .YV{wL@cB  
1&zvf4  
cT2&nZ  
struts.devMode )gOVnA/M  
      Whether Struts is in development mode or not lSMv9 :N  
      是否为struts开发模式 bve_*7CEM  
4*k>M+o/C4  
struts.dispatcher.parametersWorkaround @ |bN[XL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4( Q_J4}P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /z<7gd~oU  
^$8@B]*  
struts.enable.DynamicMethodInvocation bsfYz  
      Allows one to disable dynamic method invocation from the URL J1i{n7f=@  
        允许动态方法调用 t)#8r,9c  
Gv ';  
struts.freemarker.manager.classname xC3h m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {1 VHz])I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 T1$fu(f  
H1?t2\V4  
struts.i18n.encoding [v@3|@  
      The encoding to use for localization messages SM57bN  
      国际化信息内码 }ufzlHD  
r7Vt,{4/  
struts.i18n.reload 3.i$lp`t  
      Whether the localization messages should automatically be reloaded ,;3bPjey  
      是否国际化信息自动加载 QO1pwrX<  
dTV4 Q`Z  
struts.locale F$L2bgQR?'  
      The default locale for the Struts application 1NHiW v  
      默认的国际化地区信息 I5nxY)v  
OyI?P_0u  
struts.mapper.class `,lm:x+(0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RIhu9W   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 JD`IPQb~E  
Q6Ay$*y=D  
struts.multipart.maxSize ///  
      The maximize size of a multipart request (file upload) C bWz;$r  
      multipart请求信息的最大尺寸(文件上传用) UB5CvM28  
NCrNlH IF  
struts.multipart.parser Cz1Q@<)  
      The org.apache.struts2.dispatcher.multipart. / @v V^!#1  
      MultiPartRequest parser implementation for a multipart request (file upload) 4>x$I9^Y!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /"(`oe<  
z3n273W>6  
hgYi ,e  
struts.multipart.saveDir 2 m"2>gX  
      The directory to use for storing uploaded files ;mT|0&o>#  
      设置存储上传文件的目录夹 kM:Z(Z7$  
Z\lJE>1  
struts.objectFactory ,6J{-Iu  
      The com.opensymphony.xwork2.ObjectFactory implementation class CP]nk0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7 XNZEi9o  
Ow#a|@  
struts.objectFactory.spring.autoWire P O*;V<^  
      Whether Spring should autoWire or not k.."_ 4  
      是否自动绑定Spring _4#Mdnh}[  
AvmI<U  
struts.objectFactory.spring.useClassCache 'hoEdJ]t5  
      Whether Spring should use its class cache or not Abw=x4d(i  
      是否spring应该使用自身的cache V 4#bW  
G '1K6  
struts.objectTypeDeterminer 3_DwqZ 'O  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8O[br@h:5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1>c^-"#e^  
RJ\'"XQ  
struts.serve.static.browserCache <E2n M,  
If static content served by the Struts filter should set browser caching header properties or not )r0XQa]@$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ugu|?z*dI  
k)3b0T@b  
struts.serve.static 2_/H,  
      Whether the Struts filter should serve static content or not lXT+OJF  
      是否struts过滤器应该提供静态内容 >z'T"R/  
[QwBSq8)  
struts.tag.altSyntax gLDO|ADni  
      Whether to use the alterative syntax for the tags or not `{oFdvL~)  
      是否可以用替代的语法替代tags ngt?9i;N  
'?Jz8iu-  
struts.ui.templateDir Z|#G+$"QV  
      The directory containing UI templates h tuYctu`  
      UI templates的目录夹 :5'8MU  
|F}6Zv  
struts.ui.theme o?{-K-'B$  
      The default UI template theme [g/ &%n0^  
      默认的UI template主题 YigDrW  
E%b*MU  
struts.url.http.port wbpz,  
      The HTTP port used by Struts URLs W>_K+: t  
      设置http端口 Hhzi(<e^  
ixvF `S9  
struts.url.https.port W" i3:r  
      The HTTPS port used by Struts URLs ` t6|09e  
      设置https端口 [mcER4]}  
;RW0Dn)Q  
struts.url.includeParams I^GZ9@UE  
      The default includeParams method to generate Struts URLs Fa0NHX2:  
      在url中产生 默认的includeParams 17E,Qnf  
Z1~`S!(}  
_'mK=`>u  
struts.velocity.configfile EXbaijHQG  
      The Velocity configuration file path : GdLr  
      velocity配置文件路径 9Ro7xSeD  
9 df GV!Z  
struts.velocity.contexts Q,LDn%+;B*  
      List of Velocity context names $=9g,39  
      velocity的context列表 FyhLMW3  
O<`N0  
}~#Tsv  
struts.velocity.manager.classname o)L)|  
      org.apache.struts2.views.velocity.VelocityManager implementation class f q&(&(|  
      org.apache.struts2.views.velocity.VelocityManager接口名 [*K.9}+G_  
hnnVp_<]  
struts.velocity.toolboxlocation 8x`E UJ  
      The location of the Velocity toolbox Ods~tM  
      velocity工具盒的位置 c }7gHud  
struts.xslt.nocache -NPX;e$<  
      Whether or not XSLT templates should not be cached ="('  #o  
      是否XSLT模版应该被缓存 GK`U<.[c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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