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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;fJ.8C  
uS-|wYE  
struts.action.extension Qd-A.{[h  
      The URL extension to use to determine if the request is meant for a Struts action w &(ag$p'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  eIlva?  
xmG<]WF>E  
struts.configuration `g,..Ns-r  
      The org.apache.struts2.config.Configuration implementation class q@&6#B  
        org.apache.struts2.config.Configuration接口名 RpK@?[4s  
K;(mC<  
struts.configuration.files _+,TT['57s  
      A list of configuration files automatically loaded by Struts U17d>]ka  
      struts自动加载的一个配置文件列表 <[phnU^ 8  
O=lzT~G|4  
struts.configuration.xml.reload U(Zq= M  
      Whether to reload the XML configuration or not JVJMgim)0  
      是否加载xml配置(true,false) |zU-KGO&  
F:VIzyMq<  
struts.continuations.package :U\tv[  
      The package containing actions that use Rife continuations ,bd_:  
      含有actions的完整连续的package名称 N;d] 14|  
cR{#V1Z  
struts.custom.i18n.resources ~?dI*BZ)]  
      Location of additional localization properties files to load v^iAD2X/F  
      加载附加的国际化属性文件(不包含.properties后缀) : +u]S2u{  
%)|s1B'd  
struts.custom.properties Fs{*XKv&lH  
      Location of additional configuration properties files to load omFz@  
      加载附加的配置文件的位置 @7u0v  
[m -bV$-d  
\GBuWY3B  
struts.devMode @L`jk+Y0vF  
      Whether Struts is in development mode or not >sF)Bo Lc  
      是否为struts开发模式 cS$_\65  
0a7Ppntb@  
struts.dispatcher.parametersWorkaround fOHxtHM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5N]"~w*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jylD6IT  
UBs4K*h|  
struts.enable.DynamicMethodInvocation QnDg 6m)+  
      Allows one to disable dynamic method invocation from the URL i@q&5;%%  
        允许动态方法调用 )_:NLo:  
1cDF!X]  
struts.freemarker.manager.classname Fcx&hj1gQ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }qUX=s GG  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 NRuNKl.v  
3'Rx=G'  
struts.i18n.encoding I'Hf{Erw  
      The encoding to use for localization messages gr{ DWCK  
      国际化信息内码 z{543~Og59  
 k'YTpO  
struts.i18n.reload FwK] $4*  
      Whether the localization messages should automatically be reloaded NHt\ U9l'  
      是否国际化信息自动加载 rjP/l6 ~'  
@CoIaUVP  
struts.locale 3^ClAE"8  
      The default locale for the Struts application 7=uj2.J6  
      默认的国际化地区信息 iCoX& "lb  
WAqINLdX  
struts.mapper.class _g8yDfcLG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^Pf WG*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 y7{?Ip4[  
IBGrt^$M  
struts.multipart.maxSize LD?sh"?b  
      The maximize size of a multipart request (file upload) @iiT<  
      multipart请求信息的最大尺寸(文件上传用) _aphkeqd  
/ 1RpM]d  
struts.multipart.parser #Y! a6h+  
      The org.apache.struts2.dispatcher.multipart. VUc%4U{Cti  
      MultiPartRequest parser implementation for a multipart request (file upload) ("@!>|H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y2TtY;  
Mt$ *a  
B?QIN]  
struts.multipart.saveDir x^ni1=kU  
      The directory to use for storing uploaded files b>W %t  
      设置存储上传文件的目录夹 s"|Pdc4  
Iv *<L a  
struts.objectFactory \['Cj*ek  
      The com.opensymphony.xwork2.ObjectFactory implementation class U:`Kss`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =I<R!ZSN  
aXVFc5C\  
struts.objectFactory.spring.autoWire wkq 66?  
      Whether Spring should autoWire or not .}t e>]A*  
      是否自动绑定Spring kstIgcI  
Gdw VtqbX  
struts.objectFactory.spring.useClassCache e.C)jv6qr  
      Whether Spring should use its class cache or not x2EUr,7  
      是否spring应该使用自身的cache F [M,]?   
+vH4MwG$.&  
struts.objectTypeDeterminer J,hCvm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mw!F{pw  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '91/md5  
29rX%09T]  
struts.serve.static.browserCache {ax:RUQxy  
If static content served by the Struts filter should set browser caching header properties or not /z!%d%"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }C:r 9? T  
\bF{-"7.  
struts.serve.static H|*m$| $,  
      Whether the Struts filter should serve static content or not [ 3Gf2_  
      是否struts过滤器应该提供静态内容 7_L;E~\  
RN1_S  
struts.tag.altSyntax bOB \--:]  
      Whether to use the alterative syntax for the tags or not _#niyW+?~  
      是否可以用替代的语法替代tags do%&m]#;  
a[C@  
struts.ui.templateDir KXy6Eno  
      The directory containing UI templates $ `c:&  
      UI templates的目录夹 9Na$W:P c  
@F eTz[  
struts.ui.theme "[k3kAm  
      The default UI template theme #R"*c hLV  
      默认的UI template主题 p?!/+  
rsQtMtS2  
struts.url.http.port -"`=1l  
      The HTTP port used by Struts URLs 3mgD(,(^  
      设置http端口 >%G1"d?j  
H)?z #x  
struts.url.https.port M7T5 ~/4  
      The HTTPS port used by Struts URLs s*[bFJwN  
      设置https端口  Sf'CN8  
I0 -MRU~[K  
struts.url.includeParams %{|pj +  
      The default includeParams method to generate Struts URLs \<' ?8ri#  
      在url中产生 默认的includeParams DF= *_,2/  
CY1Z'  
+R&gqja  
struts.velocity.configfile paK2 xX8E  
      The Velocity configuration file path *T/']t  
      velocity配置文件路径 (e~Nq  
X, n:,'  
struts.velocity.contexts 6'/ #+,d'  
      List of Velocity context names D^O@'zP=At  
      velocity的context列表 6 N4~~O  
\85i+q:LuA  
gJXaPJA{  
struts.velocity.manager.classname }OUtsh]y  
      org.apache.struts2.views.velocity.VelocityManager implementation class V&5wRz+`W  
      org.apache.struts2.views.velocity.VelocityManager接口名 =  [E  
8=l%5r^cq  
struts.velocity.toolboxlocation cr3^6HB  
      The location of the Velocity toolbox  @5FQX  
      velocity工具盒的位置 u_enqC3  
struts.xslt.nocache ?  t|[?  
      Whether or not XSLT templates should not be cached nUO0Ce  
      是否XSLT模版应该被缓存 T[gv0|+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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