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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !$'s?rnh  
[@@Ovv  
struts.action.extension K (yuL[p`  
      The URL extension to use to determine if the request is meant for a Struts action 0:^L>MO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 > m GO08X  
xN\ PQ,J  
struts.configuration iw|6w,-)C  
      The org.apache.struts2.config.Configuration implementation class pQaP9Y{OK  
        org.apache.struts2.config.Configuration接口名 i)V-q9\  
PgZ~of&  
struts.configuration.files U!sv6=(y@  
      A list of configuration files automatically loaded by Struts 1]r+$L3  
      struts自动加载的一个配置文件列表 irNGURLm  
s}Q%]W  
struts.configuration.xml.reload dKcHj<'E/  
      Whether to reload the XML configuration or not p1 tfN$-  
      是否加载xml配置(true,false) ^a@Vn\V1  
X*Mw0;+T  
struts.continuations.package v>TI.;{y  
      The package containing actions that use Rife continuations WP1>)  
      含有actions的完整连续的package名称 8phc ekh+  
C% <[mM  
struts.custom.i18n.resources 2U6j?MyH2  
      Location of additional localization properties files to load b'Gn)1NE  
      加载附加的国际化属性文件(不包含.properties后缀) 6KmF 9  
kW&{0xkGR  
struts.custom.properties <o5+*X  
      Location of additional configuration properties files to load q2}<n'o+  
      加载附加的配置文件的位置 Lxm1.TOJ  
K#g)t/SZ  
JcxhI]E  
struts.devMode EJYfk?(B  
      Whether Struts is in development mode or not xq',pzN  
      是否为struts开发模式 -`6O(he  
<Tr_,Ya{9  
struts.dispatcher.parametersWorkaround 7~[1%`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4 Yq|Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zO`54^  
u]P0:)tS.  
struts.enable.DynamicMethodInvocation /ve8);cH\  
      Allows one to disable dynamic method invocation from the URL H"8+[.xBh  
        允许动态方法调用 Ml8'=KN_  
ANh5-8y  
struts.freemarker.manager.classname >\b=bT@iM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2s,wC!',  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >S5:zz\  
,L&Ka|N0  
struts.i18n.encoding )+[IR  
      The encoding to use for localization messages |MvCEp  
      国际化信息内码 Fs7/3  
>G<AyS&z*  
struts.i18n.reload zH8l-0I+$  
      Whether the localization messages should automatically be reloaded JZ&]"12]fR  
      是否国际化信息自动加载 V ^=o@I  
+<Ot@luE  
struts.locale =8 d`qS"  
      The default locale for the Struts application ): C4"2l3  
      默认的国际化地区信息 {{ M?+]p,^  
+0;n t  
struts.mapper.class .H+`]qLkL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6/9 A'!4C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aX6.XHWbDf  
NL))!Pi  
struts.multipart.maxSize Zk2-U"0\o  
      The maximize size of a multipart request (file upload) VF=$'Bl|  
      multipart请求信息的最大尺寸(文件上传用) dI&2dcumS  
bU1UNm`{C  
struts.multipart.parser uj_u j!  
      The org.apache.struts2.dispatcher.multipart. r?d601(fa  
      MultiPartRequest parser implementation for a multipart request (file upload) d; \x 'h2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) NMY~f (x  
uD_|/(  
39?iX'*p  
struts.multipart.saveDir T$13"?sr=  
      The directory to use for storing uploaded files '.oEyZA;o  
      设置存储上传文件的目录夹 "2(4?P  
Y+ P\5G  
struts.objectFactory r: n^U#  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6R5) &L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]t]s/;9]K  
N. 3 x[%:  
struts.objectFactory.spring.autoWire z (rQ6  
      Whether Spring should autoWire or not nm 66U4.@  
      是否自动绑定Spring }NDw3{zn  
|_HH[s*U  
struts.objectFactory.spring.useClassCache lKEdpF<  
      Whether Spring should use its class cache or not 9 8bmia&H  
      是否spring应该使用自身的cache v#:#w.]-Y  
YS k,kU  
struts.objectTypeDeterminer 0*W=u-|s6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +Ck<tx3h&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UO8#8  
g+p?J.+  
struts.serve.static.browserCache R`Hyg4?  
If static content served by the Struts filter should set browser caching header properties or not /r Zj=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "YHqls}c  
31k.{dnm  
struts.serve.static h9LA&!  
      Whether the Struts filter should serve static content or not %v:9_nwO)  
      是否struts过滤器应该提供静态内容 e.n&Os<|<  
+LV~%?W  
struts.tag.altSyntax ZeF PwW  
      Whether to use the alterative syntax for the tags or not #Zk6   
      是否可以用替代的语法替代tags %0@Jm)K^  
Lllyx20U  
struts.ui.templateDir PMjqcdBzm  
      The directory containing UI templates fZH:&EP  
      UI templates的目录夹 F)) +a&O  
~oz8B^7i;  
struts.ui.theme fb4/LVg'J  
      The default UI template theme e?3 S0}  
      默认的UI template主题 D#508{)  
$/nU0W  
struts.url.http.port W"YFx*W  
      The HTTP port used by Struts URLs uG&xtN8  
      设置http端口 8a|p`)lT  
s2riayM9/  
struts.url.https.port XKLkJZN  
      The HTTPS port used by Struts URLs [GZ%K`wx  
      设置https端口 E"&fT!yi  
,*8}TIS(s  
struts.url.includeParams 2Q,e1' =  
      The default includeParams method to generate Struts URLs M?x/C2|  
      在url中产生 默认的includeParams |2AK~t|t  
j%Y`2Ra  
V9NE kS  
struts.velocity.configfile & ,2XrXiFu  
      The Velocity configuration file path `Q^G k{9P  
      velocity配置文件路径 >%x7-->IB  
] 7_ f'M1F  
struts.velocity.contexts "zJ1vIZY  
      List of Velocity context names _/MHi-]/.  
      velocity的context列表 8-UlbO6  
PYPs64kNC]  
!]7Z),s  
struts.velocity.manager.classname Vq2d+ ,fb  
      org.apache.struts2.views.velocity.VelocityManager implementation class kJq8"Klg  
      org.apache.struts2.views.velocity.VelocityManager接口名 L;H(I@p(e  
7NV1w*> /  
struts.velocity.toolboxlocation L|EvI.f  
      The location of the Velocity toolbox 4!,x3H'  
      velocity工具盒的位置 O8"kIDr-  
struts.xslt.nocache ~~,\BhG?  
      Whether or not XSLT templates should not be cached ir-srVoXy  
      是否XSLT模版应该被缓存 (S* T{OgO  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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