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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QE=Cum  
C W7E2 ^P$  
struts.action.extension FWq 6e,  
      The URL extension to use to determine if the request is meant for a Struts action gE`G3kgn{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rr|VGtg  
vXq=f:y4  
struts.configuration Xi4!7IOm o  
      The org.apache.struts2.config.Configuration implementation class `a3q)}*Y  
        org.apache.struts2.config.Configuration接口名 ` {k>I^Pg  
cx1U6A+  
struts.configuration.files J=Ak+  J  
      A list of configuration files automatically loaded by Struts b+[9) B)a?  
      struts自动加载的一个配置文件列表 I&q:w\\z8|  
|t4k&Dkx`  
struts.configuration.xml.reload RR75ke[Hs  
      Whether to reload the XML configuration or not gt';_  
      是否加载xml配置(true,false) gupB8 .!  
N+"Y@X yg  
struts.continuations.package 4+$<G/K  
      The package containing actions that use Rife continuations {5#P1jlT  
      含有actions的完整连续的package名称 Olj]A]v}  
( X)$8y  
struts.custom.i18n.resources y~SFlv36  
      Location of additional localization properties files to load (W5E\hjJ  
      加载附加的国际化属性文件(不包含.properties后缀) x98LOO  
&oWWc$  
struts.custom.properties *O)_D bj  
      Location of additional configuration properties files to load f"k?Ix\ e  
      加载附加的配置文件的位置 t TA6 p  
U^+9l?ol  
^;6~=@#*C  
struts.devMode 83412@&  
      Whether Struts is in development mode or not $Y,,e3R3  
      是否为struts开发模式 2^ ^;Q:  
f8#WT$Ewy  
struts.dispatcher.parametersWorkaround Q= + Frsk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic CbQ@l@d]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PUltn}M  
eG"iJ%I  
struts.enable.DynamicMethodInvocation FT[oM<M\Xd  
      Allows one to disable dynamic method invocation from the URL W ;P1T"*A  
        允许动态方法调用 T9t9])  
HAf.LdnzS  
struts.freemarker.manager.classname q)G*"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AU^Wy|i5Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Uf4QQ `c#  
"*RCV6{  
struts.i18n.encoding O.TFV.  
      The encoding to use for localization messages CV]PCq!  
      国际化信息内码 cuq7eMG6z  
:`:<JA3,  
struts.i18n.reload ?9H7Twi+T  
      Whether the localization messages should automatically be reloaded i#kRVua/  
      是否国际化信息自动加载 +A~lPXAXW  
~<v{CBq[  
struts.locale C;dA?Es>R  
      The default locale for the Struts application s.=)p"pTd  
      默认的国际化地区信息 z9w@-])  
q E$ .a[  
struts.mapper.class .Z%7+[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;cp-jY_U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :]y;t/   
@]3(l  
struts.multipart.maxSize e!tgWYN  
      The maximize size of a multipart request (file upload) *n}9_V%  
      multipart请求信息的最大尺寸(文件上传用) QAygr4\X^  
45kMIh~~X  
struts.multipart.parser :vurU$\  
      The org.apache.struts2.dispatcher.multipart. D1o 8Wo  
      MultiPartRequest parser implementation for a multipart request (file upload) qhK;#<#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z"Et]xSU%$  
V9Au\  
R)<Fqa7Tm  
struts.multipart.saveDir !cSD9q*  
      The directory to use for storing uploaded files =_^g]?5i  
      设置存储上传文件的目录夹 JYv&It  
D|e6$O5o  
struts.objectFactory 6O tv[8^}  
      The com.opensymphony.xwork2.ObjectFactory implementation class y{j>4g$:z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?MpGz CPa  
X\1D[n:  
struts.objectFactory.spring.autoWire (a^F`#]  
      Whether Spring should autoWire or not XJ?@l3D:  
      是否自动绑定Spring }PED#Uv  
;A- Ef  
struts.objectFactory.spring.useClassCache &v 5yo}s  
      Whether Spring should use its class cache or not /)oxuk&}c  
      是否spring应该使用自身的cache N"E\o,_  
)s6tj lf8  
struts.objectTypeDeterminer L {B#x@9tQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nF=Ig-NX^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A=XM(2{aN  
kY_UY~E  
struts.serve.static.browserCache HnY: gu  
If static content served by the Struts filter should set browser caching header properties or not @F3d9t-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?nt6vqaV  
w~Y#[GW  
struts.serve.static 2ZE4^j|  
      Whether the Struts filter should serve static content or not VJ=!0v  
      是否struts过滤器应该提供静态内容 ImF/RKI~ "  
!0fK*qIL  
struts.tag.altSyntax YO,GZD`-o  
      Whether to use the alterative syntax for the tags or not NEGpf[$  
      是否可以用替代的语法替代tags C y& L,  
Pc4sReo'  
struts.ui.templateDir Nm; ka&'  
      The directory containing UI templates 4e%SF|(Y'h  
      UI templates的目录夹 C}00S{nAZ  
~&yaIuW<  
struts.ui.theme SnXYq 7`t  
      The default UI template theme [n:R]|^a  
      默认的UI template主题 WrG)&&d  
 MT&i5!Z  
struts.url.http.port LXK+WB/s  
      The HTTP port used by Struts URLs :^ cA\2=  
      设置http端口 N86Hn]#  
](a<b@p  
struts.url.https.port HX=`kkX  
      The HTTPS port used by Struts URLs 6'Lij&,f?{  
      设置https端口 SgY>$gP9S  
;XTP^W!6f  
struts.url.includeParams Z#Zk)  
      The default includeParams method to generate Struts URLs P"xP%zqo  
      在url中产生 默认的includeParams 9wI1/>  
GJ((eAS)  
8<g5.$xyz  
struts.velocity.configfile t=yM}#r$  
      The Velocity configuration file path U| y+k`  
      velocity配置文件路径  oR5`-  
f-23.]`v  
struts.velocity.contexts QiZThAe  
      List of Velocity context names \ (X~Z  
      velocity的context列表 dwmj*+  
ikofJl]9  
!J+5l&  
struts.velocity.manager.classname ci*Z9&eS+  
      org.apache.struts2.views.velocity.VelocityManager implementation class gN(8T_r  
      org.apache.struts2.views.velocity.VelocityManager接口名 HZM&QZHx)`  
M~wJe@bc  
struts.velocity.toolboxlocation G8<,\mg+  
      The location of the Velocity toolbox <)"Mi}Q[)p  
      velocity工具盒的位置 ffSecoX  
struts.xslt.nocache O@EpRg1  
      Whether or not XSLT templates should not be cached 0h#' 3z<  
      是否XSLT模版应该被缓存 4wK!)Pwq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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