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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Pw6%,?lQ  
4VC8#x1  
struts.action.extension q_"w,28  
      The URL extension to use to determine if the request is meant for a Struts action b"OHXu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?t/\ ID  
m5, &;~  
struts.configuration "QBl "<<s  
      The org.apache.struts2.config.Configuration implementation class p )WRsJ8  
        org.apache.struts2.config.Configuration接口名 J90 )v7  
##Qy6Dc  
struts.configuration.files X[SIk%{D  
      A list of configuration files automatically loaded by Struts d-8{}Q  
      struts自动加载的一个配置文件列表 E #!.;AQ  
Wy /5Qw~s  
struts.configuration.xml.reload (io[O?te  
      Whether to reload the XML configuration or not 4C*0MV  
      是否加载xml配置(true,false) ob|^lAU  
ocpM6b.fK  
struts.continuations.package ,H$%'s1I(  
      The package containing actions that use Rife continuations ' hdLQ\J  
      含有actions的完整连续的package名称 3bQq Nk  
7d+0'3%  
struts.custom.i18n.resources /1Ss |.  
      Location of additional localization properties files to load v0T?c53?  
      加载附加的国际化属性文件(不包含.properties后缀) <KI>:@|Sc  
:EH>&vm  
struts.custom.properties us.IdG  
      Location of additional configuration properties files to load O.-A)S@  
      加载附加的配置文件的位置 kX)*:~*  
0+.<BOcW5  
=p:~sn#  
struts.devMode 5Y@Hb!5D  
      Whether Struts is in development mode or not O]@s` w  
      是否为struts开发模式 g(G$*#}o8A  
SN[ar&I  
struts.dispatcher.parametersWorkaround P5GV9SA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a=6@} l1<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `f <w+u  
`L!L=.}4  
struts.enable.DynamicMethodInvocation TpdYU*z_Br  
      Allows one to disable dynamic method invocation from the URL 9`KFJx6D  
        允许动态方法调用 b S'dXP  
Cj/!m  
struts.freemarker.manager.classname Mf7 [@#$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class vTL/% SJ8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `_BmVms  
Tz0XBH_  
struts.i18n.encoding _3#_6>=M  
      The encoding to use for localization messages $)KNpdXh  
      国际化信息内码 U_Q;WPJ  
cxx8I  
struts.i18n.reload '+c@U~d*7  
      Whether the localization messages should automatically be reloaded lAo4)  
      是否国际化信息自动加载 {CFy %  
(Bv~6tj~J  
struts.locale gtqtFrleG  
      The default locale for the Struts application <)Y jVGG  
      默认的国际化地区信息 <Ynrw4[)t  
~n(LBA  
struts.mapper.class 0r?]b*IEK  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $FZcvo3@*S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B$7Cjv  
y k\/Cf  
struts.multipart.maxSize NSq29#  
      The maximize size of a multipart request (file upload) |qU~({=b  
      multipart请求信息的最大尺寸(文件上传用) 43~v1pf{!  
H.o3d/8:  
struts.multipart.parser ~(=5`9  
      The org.apache.struts2.dispatcher.multipart. 1 qp"D_h  
      MultiPartRequest parser implementation for a multipart request (file upload) J*AYZS-tSE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E!>MJlA:k6  
\!%~( FM  
%MEWw  
struts.multipart.saveDir ?30pNF|  
      The directory to use for storing uploaded files ,D&-.`'E  
      设置存储上传文件的目录夹 D z[ ,;  
7 h>,  
struts.objectFactory Zlygx  
      The com.opensymphony.xwork2.ObjectFactory implementation class L=WKqRa>4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >X5RRSo  
Kk|)N3AV:  
struts.objectFactory.spring.autoWire "I@akM$x  
      Whether Spring should autoWire or not -KZ9TV # R  
      是否自动绑定Spring u(PUbxJ V  
xlh<}V tp  
struts.objectFactory.spring.useClassCache K~fWZT3]  
      Whether Spring should use its class cache or not l%qh^0  
      是否spring应该使用自身的cache by$mD_sr  
- rI4_Dl  
struts.objectTypeDeterminer M-e|$'4u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z4m+GFY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Cm0K-~ U  
FV/lBWiQQ  
struts.serve.static.browserCache uC[F'\Y  
If static content served by the Struts filter should set browser caching header properties or not 0C6T>E7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7y$U$6  
ME.!l6lm\  
struts.serve.static Qtt3;5m  
      Whether the Struts filter should serve static content or not |D[LU[<C  
      是否struts过滤器应该提供静态内容 3{TE6&HIa  
zy|h1 .gd  
struts.tag.altSyntax qa4j>;  
      Whether to use the alterative syntax for the tags or not aY DM)b}  
      是否可以用替代的语法替代tags =4OV }z=I  
}C$D-fH8sW  
struts.ui.templateDir `3z6y& dmx  
      The directory containing UI templates ]?NiY:v  
      UI templates的目录夹  xS="o  
G'wyH[ d/  
struts.ui.theme &z>iqm"Ww  
      The default UI template theme eQMa9_  
      默认的UI template主题 nB}eJD|  
PtGFLM9R  
struts.url.http.port 8?w#=@s  
      The HTTP port used by Struts URLs ~3|)[R=+p1  
      设置http端口 `1#Z9&bO  
9"}5jq4*  
struts.url.https.port :W+%jn  
      The HTTPS port used by Struts URLs )q[Wzx_ j<  
      设置https端口 s%A?B 8,  
aPX'CG4m  
struts.url.includeParams =<AG}by![  
      The default includeParams method to generate Struts URLs j!@, r^(  
      在url中产生 默认的includeParams `H9 !Z$7G  
OU*skc>  
j@4]0o  
struts.velocity.configfile '>Thn{  
      The Velocity configuration file path &gI*[5v  
      velocity配置文件路径 :w7?]y6~S  
Ga pM~~  
struts.velocity.contexts /!60oV4p0  
      List of Velocity context names #E#@6ZomT  
      velocity的context列表 fVi[mH0=+  
MOm+t]vq1  
X9C:AGbp  
struts.velocity.manager.classname y!|4]/G]?t  
      org.apache.struts2.views.velocity.VelocityManager implementation class a|k*A&5u2  
      org.apache.struts2.views.velocity.VelocityManager接口名 }{[JS=A^  
Yqv!ZJ6  
struts.velocity.toolboxlocation FS*J8)  
      The location of the Velocity toolbox " ^!=e72  
      velocity工具盒的位置 %H3 iX^}*  
struts.xslt.nocache 'CRjd~L  
      Whether or not XSLT templates should not be cached []?*}o5&>T  
      是否XSLT模版应该被缓存 3@1$y`SN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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