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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TY[d%rMm  
.EZ{d  
struts.action.extension D#[ :NXahn  
      The URL extension to use to determine if the request is meant for a Struts action (E(:F[.S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j/mp.'P1k  
FY}*Z=D%  
struts.configuration yB{o_1tc  
      The org.apache.struts2.config.Configuration implementation class tskODM0Zf  
        org.apache.struts2.config.Configuration接口名 2(J tD  
VEKITBs  
struts.configuration.files :k/U7 2  
      A list of configuration files automatically loaded by Struts ftuQ"Ds  
      struts自动加载的一个配置文件列表 6|qvo+%  
Y4!q 1]TGX  
struts.configuration.xml.reload 'nt,+`.y6  
      Whether to reload the XML configuration or not gH55c aF<  
      是否加载xml配置(true,false) CWsv#XOg]  
7kpW 1tjY  
struts.continuations.package FS+^r\)  
      The package containing actions that use Rife continuations rAw1g,&  
      含有actions的完整连续的package名称 NKhR%H  
u0hbM9U>  
struts.custom.i18n.resources yzR=:0J  
      Location of additional localization properties files to load U`_vF~el~  
      加载附加的国际化属性文件(不包含.properties后缀) )&!@O$RS8(  
KY&,(z   
struts.custom.properties W@C tFU9  
      Location of additional configuration properties files to load mg/kyua^  
      加载附加的配置文件的位置 xxcDd_z  
QF "&~  
#LgoKiP!Y  
struts.devMode cP=mJ1  
      Whether Struts is in development mode or not wSF#;lqd  
      是否为struts开发模式 hdqls0 r  
wO)KQ~yX  
struts.dispatcher.parametersWorkaround /l%qq*Ew  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l:,UN07s  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &U)s%D8e;d  
CHP6H}#|g  
struts.enable.DynamicMethodInvocation Nb^:_0&H@  
      Allows one to disable dynamic method invocation from the URL iB`]Z@ZC  
        允许动态方法调用 ?yeC j1X  
 8\ ;G+  
struts.freemarker.manager.classname eaP$/U D?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qnx92   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o xu9v/  
K05Y;URbd  
struts.i18n.encoding Qs X59d  
      The encoding to use for localization messages ;*H~Yb0  
      国际化信息内码 >F_Ne)}qTQ  
%GiO1:t  
struts.i18n.reload ua-|4@YO  
      Whether the localization messages should automatically be reloaded yOzKux8kB  
      是否国际化信息自动加载 Ao0PFY  
R3`W#`  
struts.locale x#mk[SV  
      The default locale for the Struts application iPpJ`i#@+  
      默认的国际化地区信息 _cN)q  
Y!$ z7K  
struts.mapper.class 7Q}@L1A9F,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "*\3.`Kd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 XQ;d ew+  
pT$AdvI]  
struts.multipart.maxSize &uW.V+3  
      The maximize size of a multipart request (file upload) 3h4"Rv=,  
      multipart请求信息的最大尺寸(文件上传用) )!-'SH  
o}Np}PE6  
struts.multipart.parser &B7KWvAy  
      The org.apache.struts2.dispatcher.multipart. mLA$ F4/K  
      MultiPartRequest parser implementation for a multipart request (file upload) j=>G fo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P32'`!/:  
Y @&nW  
jhM|gV&  
struts.multipart.saveDir $Ws2g*i  
      The directory to use for storing uploaded files Y2&6xTh  
      设置存储上传文件的目录夹 B*N8:u  
7gaC)j&  
struts.objectFactory M'7x:Uw;  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?7a[| -  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ovFfTP<3V  
s>I}-=.(Q  
struts.objectFactory.spring.autoWire zZiVBUmE<  
      Whether Spring should autoWire or not JdEb_c3S  
      是否自动绑定Spring _'a4I;  
TY?io@  
struts.objectFactory.spring.useClassCache x^BBK'  
      Whether Spring should use its class cache or not (@ sKE  
      是否spring应该使用自身的cache n\9*B##  
S-|$sV^cG  
struts.objectTypeDeterminer Ooy96M~_G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6mLE-( Z7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <P- r)=^  
K\Q 1/})  
struts.serve.static.browserCache j,jUg}b  
If static content served by the Struts filter should set browser caching header properties or not QNEaj\   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -.{7;6:(k  
,CF~UX% bU  
struts.serve.static ^KR(p!%  
      Whether the Struts filter should serve static content or not ^o:5B%}#[  
      是否struts过滤器应该提供静态内容 >UH=]$0N  
1sA-BQL  
struts.tag.altSyntax <{kj}nxz  
      Whether to use the alterative syntax for the tags or not J1t?Qj;f3  
      是否可以用替代的语法替代tags *n5g";k|  
ABGL9;.8  
struts.ui.templateDir ZVU)@[s  
      The directory containing UI templates WU_Q 7%+QS  
      UI templates的目录夹 8+F2 !IM  
Ta$<#wb  
struts.ui.theme  I9 m  
      The default UI template theme q1Mk_(4oJ  
      默认的UI template主题 30"G%DFd  
+ P.Ir  
struts.url.http.port `#F>?g$2  
      The HTTP port used by Struts URLs uESHTX/[  
      设置http端口 n1h+`nsf  
rD?o97  
struts.url.https.port -tZb\4kh  
      The HTTPS port used by Struts URLs K)ib{V(50  
      设置https端口 #*@Yil=1  
'"a8<7  
struts.url.includeParams  tvILLR  
      The default includeParams method to generate Struts URLs dtm@G|Ij  
      在url中产生 默认的includeParams 0nAS4Az  
`mVH94{+I  
T^t`H p  
struts.velocity.configfile NunT2JP.  
      The Velocity configuration file path Ye\%o[X  
      velocity配置文件路径 0"Hf6xz  
lom4z\6  
struts.velocity.contexts ;d:7\  
      List of Velocity context names %l,EA#89 s  
      velocity的context列表 isqW?$s  
&#.&xc2sRZ  
j!pxG5%  
struts.velocity.manager.classname @P/{x@J  
      org.apache.struts2.views.velocity.VelocityManager implementation class o? =u#=  
      org.apache.struts2.views.velocity.VelocityManager接口名 SZEr  
u#QQCgrs  
struts.velocity.toolboxlocation #=rI[KI  
      The location of the Velocity toolbox $ a7^3  
      velocity工具盒的位置 hQO~9mQ+!  
struts.xslt.nocache kJ >B)  
      Whether or not XSLT templates should not be cached Y&?]t  
      是否XSLT模版应该被缓存 r38CPdE;}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八