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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 SY|r'8Z%Q  
\eF5* {9  
struts.action.extension J9S9r ir&  
      The URL extension to use to determine if the request is meant for a Struts action W"S,~y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &[,g `S0  
UfjLNe}wA  
struts.configuration ;~T)pG8IS  
      The org.apache.struts2.config.Configuration implementation class j} XTa[  
        org.apache.struts2.config.Configuration接口名 Q1EY!AV8  
#%z--xuJL  
struts.configuration.files #Z<pks2 y  
      A list of configuration files automatically loaded by Struts D 7 l&L  
      struts自动加载的一个配置文件列表 L>+g;GJ  
!t "uNlN  
struts.configuration.xml.reload 11}sRu/  
      Whether to reload the XML configuration or not %AW5\ EX  
      是否加载xml配置(true,false) 9UTWq7KJ  
[0.>:wT  
struts.continuations.package W"Hjn/xSS  
      The package containing actions that use Rife continuations kwNXKn/   
      含有actions的完整连续的package名称 [M_pf2Y  
!P/ ]o  
struts.custom.i18n.resources  =<fH RX`  
      Location of additional localization properties files to load H6E@C}cyM  
      加载附加的国际化属性文件(不包含.properties后缀) u/!U/|  
S!.aBAW  
struts.custom.properties v:1l2Y)g  
      Location of additional configuration properties files to load 58zs% +F  
      加载附加的配置文件的位置 ~J?O~p`&  
q88p~Ccoa  
h`+Gs{1qw  
struts.devMode IrQ8t!  
      Whether Struts is in development mode or not ~-x8@ /   
      是否为struts开发模式 nP?=uGqCBq  
yq+<pfaqvK  
struts.dispatcher.parametersWorkaround _?<Y>B, E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t+}@J}b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UT[nzbG  
@v_E' 9QG^  
struts.enable.DynamicMethodInvocation w8:F^{  
      Allows one to disable dynamic method invocation from the URL 5~k-c Ua  
        允许动态方法调用 :}x\&]uC#k  
B[ae<V0 k  
struts.freemarker.manager.classname Y<TlvB)w  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class udtsq"U_%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X5 lB],t"=  
SdC505m0*  
struts.i18n.encoding ^k&zX!W  
      The encoding to use for localization messages I9*o[Jp5  
      国际化信息内码 :Q2\3  
8~RUYsg  
struts.i18n.reload ]W<E#^  
      Whether the localization messages should automatically be reloaded I=D{(%+^d  
      是否国际化信息自动加载 PN2\:l+`  
fC xN!  
struts.locale =YF\mhMQ:  
      The default locale for the Struts application 5FqUFzVqsl  
      默认的国际化地区信息 RK(uC-l  
j>gO]*BX~  
struts.mapper.class T'i9_V{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class toPA@V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hor ok:{  
Djx9TBZ5  
struts.multipart.maxSize OP |{R7uC  
      The maximize size of a multipart request (file upload) u~<>jAy  
      multipart请求信息的最大尺寸(文件上传用) HP|,AmVLl  
=sRd5aMs  
struts.multipart.parser qTC`[l  
      The org.apache.struts2.dispatcher.multipart. .  hHt+  
      MultiPartRequest parser implementation for a multipart request (file upload) R4!qm0Cd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O/_} O_rR  
7}Z.g9<  
QI~s~j  
struts.multipart.saveDir R*.XbkW~  
      The directory to use for storing uploaded files ~c ;7me.  
      设置存储上传文件的目录夹 @ :Q];rc  
X^%I 3  
struts.objectFactory COv#dOw  
      The com.opensymphony.xwork2.ObjectFactory implementation class !? ?Cxs'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lnbw-IE!  
:d/Z&LXD  
struts.objectFactory.spring.autoWire qA9*t  
      Whether Spring should autoWire or not 5{ #9b^  
      是否自动绑定Spring "A__z|sQ  
SAs'u"EB  
struts.objectFactory.spring.useClassCache +;#hED; 8  
      Whether Spring should use its class cache or not . )Fn]x"<  
      是否spring应该使用自身的cache H:U1#bQQ:  
;G!X?(%+  
struts.objectTypeDeterminer meR%);\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v|_?qBs"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l,h#RTfry  
IOF~V)8k=  
struts.serve.static.browserCache HG@!J>YaD  
If static content served by the Struts filter should set browser caching header properties or not uI%h$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b9EJLD  
+>z/54R  
struts.serve.static 51`w.ri  
      Whether the Struts filter should serve static content or not R-`{W:S  
      是否struts过滤器应该提供静态内容 6#N1 -@  
\ :})R{  
struts.tag.altSyntax *bn9j>|iv  
      Whether to use the alterative syntax for the tags or not A42At]  
      是否可以用替代的语法替代tags \_@u"+,$W  
C,]Q/6'>  
struts.ui.templateDir qTqvEa^X`  
      The directory containing UI templates N<Bi.\XC  
      UI templates的目录夹 dcU|y%k%  
i/O!bq[o  
struts.ui.theme v{H23Cfh:  
      The default UI template theme  i2)SSQ  
      默认的UI template主题 XT>e/x9'  
C'n 9n!hR  
struts.url.http.port N$Gx$u3Cd  
      The HTTP port used by Struts URLs b_V)]>v+  
      设置http端口 A40 -])'!  
PG<N\  
struts.url.https.port 7bsW7;C  
      The HTTPS port used by Struts URLs =6  
      设置https端口 sf\;|`}  
.%->   
struts.url.includeParams NXeo&+F  
      The default includeParams method to generate Struts URLs TM!R[-\  
      在url中产生 默认的includeParams Vz 5:73  
1b6gTfU  
xO1d^{~^^  
struts.velocity.configfile 6J%SkuxR  
      The Velocity configuration file path XF^c(*5  
      velocity配置文件路径 ys+?+dY2  
#l;Ekjfz  
struts.velocity.contexts I_pA)P*Q(6  
      List of Velocity context names 0)ST_2Ci  
      velocity的context列表 +Ya-h~7;g#  
 C&e  
% Pa-fee  
struts.velocity.manager.classname `9K'I-hv<8  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9%zR ? u  
      org.apache.struts2.views.velocity.VelocityManager接口名 cR@z^  
s ]QzNc  
struts.velocity.toolboxlocation i":-g"d  
      The location of the Velocity toolbox NPB':r-8  
      velocity工具盒的位置 NLz$jk%=g  
struts.xslt.nocache Qs% f6rL  
      Whether or not XSLT templates should not be cached B|,6m 3.  
      是否XSLT模版应该被缓存 l*X5<b9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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