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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 SO}$96  
|bHId!d  
struts.action.extension v4:g*MD?~  
      The URL extension to use to determine if the request is meant for a Struts action W w{|:>j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L5"|RI}  
2EHeQ|#  
struts.configuration nvJ2V $  
      The org.apache.struts2.config.Configuration implementation class /,>@+^1  
        org.apache.struts2.config.Configuration接口名 L4)@lmd3  
=,*4:TU  
struts.configuration.files c{iF  
      A list of configuration files automatically loaded by Struts $WOiXLyCk  
      struts自动加载的一个配置文件列表 DwQa j"1<%  
vd4}b>  
struts.configuration.xml.reload "S">#.L  
      Whether to reload the XML configuration or not J!%cHqR  
      是否加载xml配置(true,false) v{R:F  
jh3LD6|s}  
struts.continuations.package `7;I*|  
      The package containing actions that use Rife continuations p'`SYEY@Z  
      含有actions的完整连续的package名称 JG2)-x;9  
C ?^si  
struts.custom.i18n.resources 7[V6@K!Al[  
      Location of additional localization properties files to load B{D!5{t  
      加载附加的国际化属性文件(不包含.properties后缀) ~[J&n-bJU  
\Z +O9T%  
struts.custom.properties "hwG"3n1  
      Location of additional configuration properties files to load B!Ss 35<  
      加载附加的配置文件的位置 ;'\{T#5)  
*mqoyOa  
1I#S?RSb  
struts.devMode 7qyv.{+  
      Whether Struts is in development mode or not ;K'1dsA  
      是否为struts开发模式 bd n{Y  
B:YUb{CJ  
struts.dispatcher.parametersWorkaround zLG5m]G4D  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8Nr,Wq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q><E?  
]FJpe^ ua  
struts.enable.DynamicMethodInvocation ^,Sl^ 9K  
      Allows one to disable dynamic method invocation from the URL n9J.]+@J  
        允许动态方法调用 y.zS?vv2g  
t=`bXBX1  
struts.freemarker.manager.classname S?Y,sl+A:  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~%6GF57gC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 39W"G7n?v  
Q k`yK|(0=  
struts.i18n.encoding QfI)+pf  
      The encoding to use for localization messages 4eSV( u)4  
      国际化信息内码 EZm6WvlxSI  
UuV<#N)  
struts.i18n.reload 0n <t/74  
      Whether the localization messages should automatically be reloaded P|"U  
      是否国际化信息自动加载 mUj=NRq  
EM_`` 0^  
struts.locale zh hH A9  
      The default locale for the Struts application YpFh_Zr[  
      默认的国际化地区信息 4XkSj9D~z  
5WR(jl+M  
struts.mapper.class =H'7g 6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -{ Ng6ntS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k^|P8v+"D  
it2@hZc5  
struts.multipart.maxSize I_Q*uH.Y5  
      The maximize size of a multipart request (file upload) ToUeXU [  
      multipart请求信息的最大尺寸(文件上传用) `Gl@?9,i  
RH,1U3?  
struts.multipart.parser P1f?'i ?J  
      The org.apache.struts2.dispatcher.multipart. ")l_>y ?  
      MultiPartRequest parser implementation for a multipart request (file upload) |%F[.9Dp  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $K)9(DD  
t83n`LC  
uvo2W!  
struts.multipart.saveDir C|kZT<,]  
      The directory to use for storing uploaded files MIcF "fB![  
      设置存储上传文件的目录夹 e1e2Wk  
wv 7j ES  
struts.objectFactory C<!%VHs  
      The com.opensymphony.xwork2.ObjectFactory implementation class V 0<>Xo%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0Hz*L,Bh4  
yqpb_h9  
struts.objectFactory.spring.autoWire EJ*  
      Whether Spring should autoWire or not x,Im%!h  
      是否自动绑定Spring PvzB, 2":  
*D: wwJ  
struts.objectFactory.spring.useClassCache :les 3T}2  
      Whether Spring should use its class cache or not G)A5;u\P9  
      是否spring应该使用自身的cache & j@i>(7  
I' URPj:t  
struts.objectTypeDeterminer -[kbHrl&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b"+ J8W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M1Jnn4w*d  
\R >!HY  
struts.serve.static.browserCache ;cBFft}D  
If static content served by the Struts filter should set browser caching header properties or not Qt_LBJUWV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )'{:4MX  
NX?J  
struts.serve.static Ybr&z7# 2  
      Whether the Struts filter should serve static content or not 6?U2Et  
      是否struts过滤器应该提供静态内容 $ ]/a/!d  
Z3K~C_0Cnu  
struts.tag.altSyntax lFT_J?G$'  
      Whether to use the alterative syntax for the tags or not +zpmy3Q  
      是否可以用替代的语法替代tags 9/LI[{  
,|4%YaN.3  
struts.ui.templateDir 1mw<$'pm0  
      The directory containing UI templates ~=5vc''  
      UI templates的目录夹 `[JX}<~i  
Re <G#*^  
struts.ui.theme M[ea!an  
      The default UI template theme  *$nz<?  
      默认的UI template主题 f#:7$:{F1  
y0Pr[XZ  
struts.url.http.port i%7b)t[y  
      The HTTP port used by Struts URLs gt5  
      设置http端口 b??k|q  
;C8'7  
struts.url.https.port *)c,~R^  
      The HTTPS port used by Struts URLs g->cgExj  
      设置https端口 P=K+!3ZXo  
A*I mruV  
struts.url.includeParams =N-,.{`  
      The default includeParams method to generate Struts URLs oWVlHAPj  
      在url中产生 默认的includeParams ,c:Fa)-  
0z g\thL  
Aj06"ep  
struts.velocity.configfile 28L3"c  
      The Velocity configuration file path PjEKZHHz  
      velocity配置文件路径 ]XEkQ  
&Y2mLPB  
struts.velocity.contexts GI}h )T  
      List of Velocity context names z T|]!',  
      velocity的context列表 .'Vjs2 2  
XDvT#(Pu  
C[$uf  
struts.velocity.manager.classname `jR;RczC  
      org.apache.struts2.views.velocity.VelocityManager implementation class kI974:e42  
      org.apache.struts2.views.velocity.VelocityManager接口名 YX+Da"\  
/8baJ+D"4\  
struts.velocity.toolboxlocation S8+Xk= x  
      The location of the Velocity toolbox CCJ!;d;&87  
      velocity工具盒的位置 /#?lG`'1  
struts.xslt.nocache QKYGeT7&Y'  
      Whether or not XSLT templates should not be cached 9k_3=KS3N  
      是否XSLT模版应该被缓存 tk5Bb`a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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