struts2的struts.properties配置文件详解 K(*QhKX
>:5^4/fo*
struts.action.extension \SB~rz"A
The URL extension to use to determine if the request is meant for a Struts action 8J60+2Wa
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \etuIFQ#U
fBgW0o.Bu
struts.configuration 8)(<U/
The org.apache.struts2.config.Configuration implementation class e_Cns&
org.apache.struts2.config.Configuration接口名 8<z]rLQw?%
A0L&p(i
struts.configuration.files :Ja]Vt
A list of configuration files automatically loaded by Struts gO
C5
struts自动加载的一个配置文件列表 :mwNkT2et
kbij Zj{
struts.configuration.xml.reload 1UR;}
Whether to reload the XML configuration or not jY.iQBhjEB
是否加载xml配置(true,false) 5)=XzO0
Q~/TqG
U
struts.continuations.package L%D:gy9o
The package containing actions that use Rife continuations WU}?8\?U%
含有actions的完整连续的package名称 EH;w
<LvT
tx-HY<
struts.custom.i18n.resources GyE-fB4C
Location of additional localization properties files to load o)NQE?
加载附加的国际化属性文件(不包含.properties后缀) aOWE\Ic8
_O!)aD
struts.custom.properties y 1DP`Ro
Location of additional configuration properties files to load #N`~.96
加载附加的配置文件的位置 |T53m;D
~b}@*fq
]6wo]nV[P
struts.devMode &_Py{Cv@Dw
Whether Struts is in development mode or not =ytB\e
是否为struts开发模式 3q*y~5&I
:*GLLjS;
struts.dispatcher.parametersWorkaround R#ayN*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sP1wO4M?{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j~+<~2%c
]e0yC
struts.enable.DynamicMethodInvocation 0>#or$:6E
Allows one to disable dynamic method invocation from the URL `N0Mm7
允许动态方法调用 H ]BH
Fv n:V\eb
struts.freemarker.manager.classname g(d9=xq@k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *Vk%"rwaG
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [da,SM
Vmj7`w&
struts.i18n.encoding a9rn[n1Q
The encoding to use for localization messages =
;sEi:HC
国际化信息内码 >h3r\r\n3
R/)cEvB-0
struts.i18n.reload kz]vXJ
Whether the localization messages should automatically be reloaded L(tA~Z"k
是否国际化信息自动加载 -!E ))|A
&
[)1LRt_
struts.locale MB423{j
The default locale for the Struts application 7.4Q
默认的国际化地区信息 R["2kEF
tB"amv
struts.mapper.class neW_mu;~Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k%w5V>]1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *hI
0T,Qn{
struts.multipart.maxSize fm2,Mx6
The maximize size of a multipart request (file upload) s^KUe%am0
multipart请求信息的最大尺寸(文件上传用) K5U=%z
uWw4l"RK`
struts.multipart.parser a/!!Y@7
The org.apache.struts2.dispatcher.multipart. M7"I]$|\
MultiPartRequest parser implementation for a multipart request (file upload) yYmV^7G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x2B~1edf
2`(-l{3
Q+/:5Z
C
struts.multipart.saveDir 'Z LGt#
The directory to use for storing uploaded files k8^!5n
设置存储上传文件的目录夹 wCiDvHF5+C
)/FB73!
struts.objectFactory b9uo6u4s
The com.opensymphony.xwork2.ObjectFactory implementation class Hl"rGA>
com.opensymphony.xwork2.ObjectFactory接口(spring) @
mm*S:Gt#
82Fq}N
<
struts.objectFactory.spring.autoWire G5W6P7-<X
Whether Spring should autoWire or not g]|K@sm
是否自动绑定Spring IWeQMwg
Z5juyzj
struts.objectFactory.spring.useClassCache 0;z-I"N
Whether Spring should use its class cache or not t
?8
?Ok
是否spring应该使用自身的cache Y(IT#x?p
CC1\0$ /
struts.objectTypeDeterminer #*uSYGdc
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `<ITLT
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dzDh V{
%zE_Q
struts.serve.static.browserCache NVx`'Il8
"
If static content served by the Struts filter should set browser caching header properties or not |K?fVL
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 UJG)-x
_[8xq:G
struts.serve.static 2SU G/-P#
Whether the Struts filter should serve static content or not Lv@JfN"O
是否struts过滤器应该提供静态内容 "6/`
}J .f
5WaG
struts.tag.altSyntax ]T\K-;i
Whether to use the alterative syntax for the tags or not >B$ZKE
是否可以用替代的语法替代tags Saa#Mj`M
\Ku=a{Ne
struts.ui.templateDir +7?p&-r)x
The directory containing UI templates v 1Yf:c
UI templates的目录夹 >nmby|XtW
!cnun Lc`
struts.ui.theme
a9z|ef
The default UI template theme \FN"0P(G
默认的UI template主题 :$d3}TjsA+
j &)Xi^^
struts.url.http.port P0U=lj/b
The HTTP port used by Struts URLs GL&ri!,
设置http端口 |33pf7o
/b,+YyWi%
struts.url.https.port PETrMu<
The HTTPS port used by Struts URLs
VVeO>j d
设置https端口 &,+G}
#(3w6l2
struts.url.includeParams S!8eY `C.
The default includeParams method to generate Struts URLs +U&aK dQs
在url中产生 默认的includeParams ?cr;u~-=
Ous[{" -J
W>eJGZ<
struts.velocity.configfile {'Nvs_{6
The Velocity configuration file path STu!v5XY}-
velocity配置文件路径 +B^/ =3P
)c5M;/s
struts.velocity.contexts %lz \w{
List of Velocity context names )0`;leli
velocity的context列表 '-3AWBWI1
:FwXoJc_+5
<.(IJ
struts.velocity.manager.classname L?&+*|VxI
org.apache.struts2.views.velocity.VelocityManager implementation class o!L1Qrh
org.apache.struts2.views.velocity.VelocityManager接口名 #T
Cz$_=t
/%}+FMj
struts.velocity.toolboxlocation r<V]MwO=
The location of the Velocity toolbox Da1BxbDeI
velocity工具盒的位置 m8$6FN
struts.xslt.nocache 1g9Qvz3
Whether or not XSLT templates should not be cached 1"A1bK
是否XSLT模版应该被缓存 !y$Hr[v