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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ik:G5m<ta  
F-;JN  
struts.action.extension c9|4[_&B~  
      The URL extension to use to determine if the request is meant for a Struts action yq~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 IL@yGuO,  
gfL :SP8  
struts.configuration %KyZ15_(-L  
      The org.apache.struts2.config.Configuration implementation class $[T ~<I  
        org.apache.struts2.config.Configuration接口名 yX&# rI  
6qZQ20h  
struts.configuration.files }9@rhW  
      A list of configuration files automatically loaded by Struts zdP?HJ=F  
      struts自动加载的一个配置文件列表 nDrRK  
MfQ0O?oBp  
struts.configuration.xml.reload fG2)r  
      Whether to reload the XML configuration or not voZaJ2ho/O  
      是否加载xml配置(true,false) ?1\5X<|,  
BbB3#/g  
struts.continuations.package HYl+xH'.j  
      The package containing actions that use Rife continuations Q=Q+*oog  
      含有actions的完整连续的package名称 fN9{@)2Mz  
lO@-*m$  
struts.custom.i18n.resources "5JMk -2k  
      Location of additional localization properties files to load ev&l=(hY  
      加载附加的国际化属性文件(不包含.properties后缀) h%j4(v}r{C  
|]kiH^Ap  
struts.custom.properties +C=vuR  
      Location of additional configuration properties files to load ir^d7CV,   
      加载附加的配置文件的位置 dO D(<  
)=)N9CRy  
~vF*&^4Vh  
struts.devMode (CQ! &Z8  
      Whether Struts is in development mode or not Kj0)/Fjl+  
      是否为struts开发模式 T)tr"<F5NP  
o9sQ!gptw  
struts.dispatcher.parametersWorkaround 9No6\{[M  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic za6 hyd^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1XS~b-St  
.3EEi3z6z  
struts.enable.DynamicMethodInvocation *42KLns  
      Allows one to disable dynamic method invocation from the URL $bp'b<jx  
        允许动态方法调用 @#wG)TA  
@.e4~qz\  
struts.freemarker.manager.classname f TmJDUv+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y1`%3\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Mx}r! Q  
|f}wOkl  
struts.i18n.encoding p&}m')  
      The encoding to use for localization messages 6X ]I`e  
      国际化信息内码 #W:.Fsq  
D*L@I@ [  
struts.i18n.reload 41R~.?  
      Whether the localization messages should automatically be reloaded K*~xy bA  
      是否国际化信息自动加载 , wk}[MF  
SP0ueAa}  
struts.locale _WV13pnRu  
      The default locale for the Struts application Tu:lIy~A  
      默认的国际化地区信息 ^cd bM  
aeMj4|{\  
struts.mapper.class  ^Oj^7.T+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @V4nc 'o.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 } %3;j5 ;6  
BDp(&=ktq  
struts.multipart.maxSize l2#~   
      The maximize size of a multipart request (file upload) lyowH{.N"3  
      multipart请求信息的最大尺寸(文件上传用) yFo8 x[  
({4?RtYm  
struts.multipart.parser B"7~[,he  
      The org.apache.struts2.dispatcher.multipart. z'Bvjul  
      MultiPartRequest parser implementation for a multipart request (file upload) y=GDuU%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ='#7yVVcs  
0Dd8c \J  
rp ]H&5.*  
struts.multipart.saveDir eT F s9$  
      The directory to use for storing uploaded files ^(*eoe  
      设置存储上传文件的目录夹 Nj;(QhYZ  
n`Ypv{+ {%  
struts.objectFactory ubl Y%{"  
      The com.opensymphony.xwork2.ObjectFactory implementation class ziAn9/sT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7vqE @;:dt  
+5ql`C  
struts.objectFactory.spring.autoWire =+e;BYD#!  
      Whether Spring should autoWire or not (!ud"A|ab4  
      是否自动绑定Spring S{cK~sZj  
q!d7Ms{q  
struts.objectFactory.spring.useClassCache k%RQf0`T  
      Whether Spring should use its class cache or not ]:6IW:  
      是否spring应该使用自身的cache -P]onD  
neWx-O  
struts.objectTypeDeterminer :2L-Nf  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )q7!CG'oY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r^d:Po  
Xp^71A?>  
struts.serve.static.browserCache )q+;+J`>  
If static content served by the Struts filter should set browser caching header properties or not g*U[?I"sC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h>NuQo*  
H|N,nkhH}  
struts.serve.static :as2fO$?  
      Whether the Struts filter should serve static content or not uQkFFWS  
      是否struts过滤器应该提供静态内容 $8_b[~%2  
7baQ4QY?n  
struts.tag.altSyntax c+TCC%AJQI  
      Whether to use the alterative syntax for the tags or not |A u+^#:;  
      是否可以用替代的语法替代tags ,|R\ Z,s  
p\|*ff0  
struts.ui.templateDir 6[% 4 Q[  
      The directory containing UI templates Gy[m4n~Z5  
      UI templates的目录夹 pu+jw<7  
\H?r[]*c%  
struts.ui.theme )e\IdKl=  
      The default UI template theme <yE d'Z  
      默认的UI template主题 /`B:F5r  
mvW,nM1Y  
struts.url.http.port *+cW)klm  
      The HTTP port used by Struts URLs jTz~ V&^  
      设置http端口 xCiq;FFR  
.\ces2,  
struts.url.https.port >uDE<MUC  
      The HTTPS port used by Struts URLs czp}-{4X  
      设置https端口 "PY&NL?  
7%^ /Jm  
struts.url.includeParams u"1Zv!  
      The default includeParams method to generate Struts URLs ER$qL"H U  
      在url中产生 默认的includeParams |`6*~ciUV  
-Fs<{^E3j  
?,x3*'-(  
struts.velocity.configfile h}jE=T5Hc  
      The Velocity configuration file path r5aOQ  
      velocity配置文件路径 Sy`7})[  
EJ`"npU  
struts.velocity.contexts sM'%apM#  
      List of Velocity context names OuF%!~V   
      velocity的context列表 qm=N@@R&  
3rw<#t;v  
J9*$@&@S  
struts.velocity.manager.classname gCY%@?YyN  
      org.apache.struts2.views.velocity.VelocityManager implementation class S+&Bf ~~D  
      org.apache.struts2.views.velocity.VelocityManager接口名 mXXU{IwUe  
jpek=4E  
struts.velocity.toolboxlocation .a`(?pPr,  
      The location of the Velocity toolbox Rz9IjL.Z  
      velocity工具盒的位置 f& >[$zh  
struts.xslt.nocache h"DxgG  
      Whether or not XSLT templates should not be cached V t@]  
      是否XSLT模版应该被缓存 `z{sDe;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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