struts2的struts.properties配置文件详解 Y%!k'\n[2
8{
+KNqz
struts.action.extension G '%ZPh89
The URL extension to use to determine if the request is meant for a Struts action uf1s}/M
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x9o(q`N
*^iSP(dg
struts.configuration Xb~i?T;f
The org.apache.struts2.config.Configuration implementation class Elt"tJ
org.apache.struts2.config.Configuration接口名 9+b){W
tmQ,>
struts.configuration.files 6st^-L
A list of configuration files automatically loaded by Struts Us\Nmso
z
struts自动加载的一个配置文件列表 N[I ?x5:u
uvRX{q4
struts.configuration.xml.reload oT!i}TW?o
Whether to reload the XML configuration or not 3fUiYI|&7
是否加载xml配置(true,false) JkEITuTth
sD9OV6^{?K
struts.continuations.package g^{a;=
The package containing actions that use Rife continuations )m
Ii.
含有actions的完整连续的package名称 l\TL=8u2c
6n\){dkZ~
struts.custom.i18n.resources 5~OKKSUmT
Location of additional localization properties files to load d/b\:[B@
加载附加的国际化属性文件(不包含.properties后缀) `NQ;|!
,E8g~ZUY9
struts.custom.properties ey$H2zmo
Location of additional configuration properties files to load ba)hWtenH
加载附加的配置文件的位置 tqpSir
I :8s 3;
/A-VT
struts.devMode P\h1%a/D
Whether Struts is in development mode or not k_nQmU>
是否为struts开发模式 7e[&hea
RJ-J/NhWyI
struts.dispatcher.parametersWorkaround jw)c|%r>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `*xSn+wL`_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ky'G/z
BO+to.
struts.enable.DynamicMethodInvocation S
rhBU6K
Allows one to disable dynamic method invocation from the URL NAO0b5-h
允许动态方法调用 +1a2Un
5'[yw:P-8
struts.freemarker.manager.classname )1g\v8XT
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $,o@&QT?AT
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v
<m=g!
sRQ4pnnrn
struts.i18n.encoding +.v+Opp,
The encoding to use for localization messages Pk6_ 1LV
国际化信息内码 Q6p75$SVq
R8Dn
GR
struts.i18n.reload 0S\HO<~k
Whether the localization messages should automatically be reloaded )>N=B 2P
是否国际化信息自动加载 ([ A%>u>h
Y pvFv-
struts.locale /PpZ6ne~[
The default locale for the Struts application >ktekO:H
默认的国际化地区信息 6ZQ$5PY
D 77$aCt
struts.mapper.class bRJ]avR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^vZu[m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (hIe!"s*
aN';_tGvK
struts.multipart.maxSize lr[&*v?h
The maximize size of a multipart request (file upload) gu1n0N`b
multipart请求信息的最大尺寸(文件上传用) (\4YBaGd
\*#E4`Y
struts.multipart.parser ]{AHKyA{:
The org.apache.struts2.dispatcher.multipart. ~7H?tp.Dw
MultiPartRequest parser implementation for a multipart request (file upload) y(j vl|z[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GXR7Ug}k
\,G19o}`Es
LbnF8tj}h
struts.multipart.saveDir fK{Z{)D
The directory to use for storing uploaded files b{,vZhP-
设置存储上传文件的目录夹 j?(@x>HA
.p'\@@o5
struts.objectFactory -];Hb'M.!e
The com.opensymphony.xwork2.ObjectFactory implementation class h:
zi8;(
com.opensymphony.xwork2.ObjectFactory接口(spring) E6xWo)`%5s
hOe$h,E']
struts.objectFactory.spring.autoWire q X]ej2
Whether Spring should autoWire or not _<jccQ
是否自动绑定Spring Mvk#$:8e
%p};Di[V
struts.objectFactory.spring.useClassCache T_qh_L3
Whether Spring should use its class cache or not u73/#!(1=H
是否spring应该使用自身的cache V6b)
Yt;@@xe&
struts.objectTypeDeterminer mZ.E;X& ,*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !<^`Sx/+
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |RI77b:pX
7T?7KS
struts.serve.static.browserCache P#2;1ki>
If static content served by the Struts filter should set browser caching header properties or not X6oY-4O
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =@k3*#\
6K5KkEp
struts.serve.static _LLE~nUK"/
Whether the Struts filter should serve static content or not yF1^/y!@
是否struts过滤器应该提供静态内容 |bmc6G[
_aOsFFB1KF
struts.tag.altSyntax u_S>`I
Whether to use the alterative syntax for the tags or not 3M{b:|3/q
是否可以用替代的语法替代tags Y0nuwX*{
(<#Ns W!z
struts.ui.templateDir I`}x 9t
The directory containing UI templates ~wd~57i@
UI templates的目录夹 R(HW0@R@w
po+1
struts.ui.theme |y2cI,&
The default UI template theme !n5s/"'H
默认的UI template主题 wq3 V&@.
0'Qo eFKG
struts.url.http.port 2
Xc,c*r
The HTTP port used by Struts URLs i{2rQy+
设置http端口 ++0xa%:
l7GLN1#m
struts.url.https.port ^i~'aq
The HTTPS port used by Struts URLs (9D,Ukw
设置https端口 3yIC@>&y(8
,6a }l;lv
struts.url.includeParams d*<