struts2的struts.properties配置文件详解 MG}rvzn@
D`Cy]j
struts.action.extension |o@xWs@m
The URL extension to use to determine if the request is meant for a Struts action Ub,5~I+`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,`pUz[wl
n 3eLIA{
struts.configuration ~=P#7l\o1
The org.apache.struts2.config.Configuration implementation class <r>1W~bp.q
org.apache.struts2.config.Configuration接口名 \CU-a`n
rSg OQ
struts.configuration.files N*1{yl76x
A list of configuration files automatically loaded by Struts &Z3u(Eb
struts自动加载的一个配置文件列表 =x
xN3Ay
MdC}!&W
struts.configuration.xml.reload `i `F$ ;
Whether to reload the XML configuration or not +=Y[RCXT
是否加载xml配置(true,false) lcX'n8/3
>;K!yI?0
struts.continuations.package "W b>y*S
The package containing actions that use Rife continuations Q4Zw<IZv5
含有actions的完整连续的package名称 H2jF=U"=
*Cj<Vy
struts.custom.i18n.resources g1H$wU3eu
Location of additional localization properties files to load APJVD-
加载附加的国际化属性文件(不包含.properties后缀) !MyCxM6
9cIKi#Bl
struts.custom.properties p!o?2Lbiw
Location of additional configuration properties files to load ip+?k<]z
加载附加的配置文件的位置 Leu93f2
&cpqn2Z
-=InGm\Y
struts.devMode 20,}T)}Tm
Whether Struts is in development mode or not <#ng"1J
是否为struts开发模式 cU|tG!Ij?
TpGnSD
struts.dispatcher.parametersWorkaround 9Ro7xSeD
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9
df GV!Z
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q,LDn%+;B*
$=9g,39
struts.enable.DynamicMethodInvocation \S_o{0ZY}
Allows one to disable dynamic method invocation from the URL oazY?E]}3
允许动态方法调用 'QdDXw5o
ii5dTimRJ
struts.freemarker.manager.classname iw{rns
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BhzcimC)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 LOEiV
>^~W'etX|
struts.i18n.encoding 9 gc0Ri[4m
The encoding to use for localization messages )i^S:2
国际化信息内码 adn2&7H
`'E(L&
struts.i18n.reload zHX7%x,Cq
Whether the localization messages should automatically be reloaded h]vuBHJ}
是否国际化信息自动加载 "oT&KW
&?H`MCvt
struts.locale %BwvA_T'Q
The default locale for the Struts application WB.w3w[f
默认的国际化地区信息 ce<88dL
xU F5
struts.mapper.class ZA7b;{o [
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W_L;^5Y;m
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y`*h#{|
{nj`>
struts.multipart.maxSize <u}[_
The maximize size of a multipart request (file upload) E#~J"9k98
multipart请求信息的最大尺寸(文件上传用) Ly-}HW (
AIG5a$}&
struts.multipart.parser gX~lYdA
The org.apache.struts2.dispatcher.multipart. ?&JKq^9\I
MultiPartRequest parser implementation for a multipart request (file upload) `sLD>@m
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $}t;c62
XD%GNZ
Q%QIr
struts.multipart.saveDir c=f;3N
The directory to use for storing uploaded files v=~+o[
设置存储上传文件的目录夹 `PtfPt<{
Kut@z>SK
struts.objectFactory Pyp#'du>
The com.opensymphony.xwork2.ObjectFactory implementation class f~?kx41dq
com.opensymphony.xwork2.ObjectFactory接口(spring) J(5#fo{Q.g
T2}X~A
struts.objectFactory.spring.autoWire =<X4LO)C
Whether Spring should autoWire or not XC!Y {lp
是否自动绑定Spring f_z]kA
+H
T2_b5j3i
struts.objectFactory.spring.useClassCache E/hO0Ox6
Whether Spring should use its class cache or not Y^QG\6q
是否spring应该使用自身的cache 3~\,VO''
H}cq|hodn
struts.objectTypeDeterminer 'd]t@[#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @5h(bLEP
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;TL>{"z`x
GE*%I1?]
struts.serve.static.browserCache v(]dIH
If static content served by the Struts filter should set browser caching header properties or not y`Zn{mQ@[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kA/yL]m^S
:{ Lihe~\
struts.serve.static ^g=j`f[T
Whether the Struts filter should serve static content or not 6eQa@[.Q
是否struts过滤器应该提供静态内容 !l$k6,WJi
<C_FRpR<f
struts.tag.altSyntax q4SEvP}fLx
Whether to use the alterative syntax for the tags or not LaYd7Oyf]
是否可以用替代的语法替代tags ^|(VI0KO
z:;yx
struts.ui.templateDir u =lsH
The directory containing UI templates YJ}9VY<}1K
UI templates的目录夹 t8ORfO+
Prrz>
struts.ui.theme _ZE&W
The default UI template theme c#Qlr{ES
默认的UI template主题 A"6&
_2WW0
struts.url.http.port A$n:
The HTTP port used by Struts URLs <m> m"|G
设置http端口 5nXmaj
t4UL|fI
struts.url.https.port V6&6I
The HTTPS port used by Struts URLs J;N\q
设置https端口 ~!P&LZ
F{E`MK~f_
struts.url.includeParams JvF0s}#4
The default includeParams method to generate Struts URLs
= Atyy
在url中产生 默认的includeParams <l<