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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Jk`l{N  
u f<%!=e  
struts.action.extension W:j9KhvT  
      The URL extension to use to determine if the request is meant for a Struts action F#Pn]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ">8oF.A^  
Z/GSR$@lI  
struts.configuration :qR8 e J  
      The org.apache.struts2.config.Configuration implementation class dR>$vbjh1Z  
        org.apache.struts2.config.Configuration接口名 gyy}-^`F  
j5n"LC+oz  
struts.configuration.files )BaGY  
      A list of configuration files automatically loaded by Struts J^DyhCs  
      struts自动加载的一个配置文件列表 WFFd3TN%<  
pcOKC0b.  
struts.configuration.xml.reload ZF#lh]  
      Whether to reload the XML configuration or not e{4e<hd  
      是否加载xml配置(true,false) d6m&nj  
1W0[|Hf2v*  
struts.continuations.package ;*nzb!u\\  
      The package containing actions that use Rife continuations #@V<{/;49  
      含有actions的完整连续的package名称 .2rpQa/h  
8eh3K8tL#  
struts.custom.i18n.resources yO\bVu5V  
      Location of additional localization properties files to load tNqSCjQ~_c  
      加载附加的国际化属性文件(不包含.properties后缀) J.g6<n  
xr Ne:Aj  
struts.custom.properties wr:-n  
      Location of additional configuration properties files to load i 8cmT+}>  
      加载附加的配置文件的位置 'tQp&p j  
e<A>??h^  
N48X[Q*  
struts.devMode ox.kL  
      Whether Struts is in development mode or not K'E)?NW69  
      是否为struts开发模式 EN}4-P/5  
G:|]w,^i  
struts.dispatcher.parametersWorkaround >x~Qa@s;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0&kmP '  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /{[tU-}qJ  
aAd1[?&  
struts.enable.DynamicMethodInvocation m>w{vqPwJ  
      Allows one to disable dynamic method invocation from the URL I+^iOa  
        允许动态方法调用 3T 0'zJ2f  
/UR;,ts  
struts.freemarker.manager.classname >*^SQ{9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z;R/!Py.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 S;#7B?j  
!-SI &qy  
struts.i18n.encoding J5f}-W@  
      The encoding to use for localization messages KxhWZ3  
      国际化信息内码 vkYiO]y  
g^=Ruh+  
struts.i18n.reload sQr M"i0Y>  
      Whether the localization messages should automatically be reloaded PF)s>  
      是否国际化信息自动加载 4`V&Yqwl  
wYS r.T8Q  
struts.locale BG 4TUt  
      The default locale for the Struts application UH(w, R`  
      默认的国际化地区信息 v y-(:aH7U  
R:^jQ'1  
struts.mapper.class }U}ppq0Eo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BOdlz#&s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 WkpHe  
)#? K2E  
struts.multipart.maxSize bVZA f  
      The maximize size of a multipart request (file upload) ,a2=OV  
      multipart请求信息的最大尺寸(文件上传用) "N,@J-]/k  
Gt,VSpb~s  
struts.multipart.parser 2>CR]  
      The org.apache.struts2.dispatcher.multipart. &[PA?#I`  
      MultiPartRequest parser implementation for a multipart request (file upload) ='e_9b\K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;kG"m7-/  
< jX5}@`z  
9RK.+ 2  
struts.multipart.saveDir I&&;a.  
      The directory to use for storing uploaded files iK5[P  
      设置存储上传文件的目录夹 }-Nc}%5  
i\4YT r,  
struts.objectFactory X VKRT7U  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;D(6Gy9~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) FId,/la  
NJ$Qm.S  
struts.objectFactory.spring.autoWire f& Sovuuh  
      Whether Spring should autoWire or not -0k{O@l"  
      是否自动绑定Spring 4zOFu/l6R  
C(xsMO'k,,  
struts.objectFactory.spring.useClassCache ;c@B+RquR  
      Whether Spring should use its class cache or not I34 1s0  
      是否spring应该使用自身的cache 1:|o7`  
8|!"CQJ|H  
struts.objectTypeDeterminer (Dba!zSs  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *u[@C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KfC{/J\   
mZnsr@KF  
struts.serve.static.browserCache eG dFupfz  
If static content served by the Struts filter should set browser caching header properties or not ).tTDZ   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h>z5m   
 z_(4  
struts.serve.static >@-BZJg/k  
      Whether the Struts filter should serve static content or not  z' 5  
      是否struts过滤器应该提供静态内容 8&1xb@Nc7  
}_+):<Db  
struts.tag.altSyntax &!+1GI9z  
      Whether to use the alterative syntax for the tags or not <)L[V  
      是否可以用替代的语法替代tags 'RQEktm  
|*8X80<  
struts.ui.templateDir u&f|z9  
      The directory containing UI templates ( ~JtKSq%  
      UI templates的目录夹 XE;' K`%  
-_Z  
struts.ui.theme $P #KL//  
      The default UI template theme :o:/RRp[  
      默认的UI template主题 ]4FAbY2'h  
|uM=pm;H  
struts.url.http.port #~r+Z[(,p  
      The HTTP port used by Struts URLs F}B2nL&  
      设置http端口 @cG+ D  
*oh,Va  
struts.url.https.port >v1.Gm  
      The HTTPS port used by Struts URLs M pz9}[`3g  
      设置https端口 ZpwFC7LW  
g/i.b&  
struts.url.includeParams {3Dm/u%=9|  
      The default includeParams method to generate Struts URLs ')WS :\J  
      在url中产生 默认的includeParams 2UBAk')O}  
n (Um/  
sr<\fW  
struts.velocity.configfile PFbkkQKsT  
      The Velocity configuration file path ZV-Yq !|t  
      velocity配置文件路径 ,L\KS^>  
+Q:)zE  
struts.velocity.contexts +\.0Pr  
      List of Velocity context names JFkx=![  
      velocity的context列表 ?uF3Q)rCk  
R@IwmJxX  
c48I-{?  
struts.velocity.manager.classname @k-GyV-v  
      org.apache.struts2.views.velocity.VelocityManager implementation class +}f}!h;  
      org.apache.struts2.views.velocity.VelocityManager接口名 h;OHpvk  
:vFYqoCn  
struts.velocity.toolboxlocation {Bpu-R&T  
      The location of the Velocity toolbox  Ozsvsa  
      velocity工具盒的位置 AG G xx?I  
struts.xslt.nocache MJn=  
      Whether or not XSLT templates should not be cached NMN&mJsmh  
      是否XSLT模版应该被缓存 2Fbg"de3-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五