struts2的struts.properties配置文件详解 X|dlVNL8p
Ff&kK5}q
struts.action.extension uo-1.[9ds
The URL extension to use to determine if the request is meant for a Struts action W}'l8z]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e>g>)!F
DLD 5>
struts.configuration UM:]QbaIn
The org.apache.struts2.config.Configuration implementation class V-kx=M"k
org.apache.struts2.config.Configuration接口名 dry>TXG*
Hd57Iw
struts.configuration.files |./{,",
A list of configuration files automatically loaded by Struts : 22)` ;0
struts自动加载的一个配置文件列表 S9%ZeM+
qFN`pe,
struts.configuration.xml.reload TW-^C;
Whether to reload the XML configuration or not _0"s6D$
是否加载xml配置(true,false) dF$&fo%
D-LQQ{!D5
struts.continuations.package W0XfU`
The package containing actions that use Rife continuations C2H2*"
含有actions的完整连续的package名称 Scfe6+\EW
6k`O
struts.custom.i18n.resources <FfmDR
Location of additional localization properties files to load \1<8'at
加载附加的国际化属性文件(不包含.properties后缀) w_#C8}2
ZC"a#rQ
struts.custom.properties 6'Q*SO;1gh
Location of additional configuration properties files to load ^~^=$fz
加载附加的配置文件的位置 ';xp+,'}\
g[N3jt@
jEn9T
struts.devMode @cc}[Uw4B
Whether Struts is in development mode or not lUd4`r"
是否为struts开发模式 OV|n/~
9XmbHS[0V
struts.dispatcher.parametersWorkaround /sr.MT
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >dXB)yl
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uAu'2M,_
%k @4}M>
struts.enable.DynamicMethodInvocation X@za4d
Allows one to disable dynamic method invocation from the URL :9f 9Z7M
允许动态方法调用 b%7zu}F
/0b7"Kr
struts.freemarker.manager.classname e[6Me[b
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qtuT%?wT@Z
org.apache.struts2.views.freemarker.FreemarkerManager接口名 `jec|i@oO
iUq_vQ@}}
struts.i18n.encoding Vi#[kn'
The encoding to use for localization messages +wfZFJ:1l
国际化信息内码 BmaY&?
.E;}.X
struts.i18n.reload 9M-W 1prb
Whether the localization messages should automatically be reloaded f9t+x+ Z
是否国际化信息自动加载 eoJ*?v
^UBzX;|p
struts.locale Y$_^f*sFn
The default locale for the Struts application k ~4o`eA
默认的国际化地区信息 pm2]
JFq<sY!
struts.mapper.class D;z!C
ys
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iD/+#UTY
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !QCErE;r
qB+OxyT&
struts.multipart.maxSize E:;MI{;7
The maximize size of a multipart request (file upload) SeuDJxqopD
multipart请求信息的最大尺寸(文件上传用) yq!peFu
#)s
+I2
struts.multipart.parser Pm QeO*f+
The org.apache.struts2.dispatcher.multipart. ^4xl4nbx
MultiPartRequest parser implementation for a multipart request (file upload) ^!$=(jh.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %vbov}R
*+(eH#_2/
NTSIClm}U
struts.multipart.saveDir HY;kV6g{P
The directory to use for storing uploaded files PKd'lo
设置存储上传文件的目录夹 fcy4?SQ.<i
x4,[5N"}YK
struts.objectFactory )~`UDaj_
The com.opensymphony.xwork2.ObjectFactory implementation class CZ>Ujw=&k
com.opensymphony.xwork2.ObjectFactory接口(spring) s[VYd:}se
"~KTLf
struts.objectFactory.spring.autoWire . BX*C
Whether Spring should autoWire or not ^}`24~|y
是否自动绑定Spring -Ir>pY\!
"sWsK
%
struts.objectFactory.spring.useClassCache Fl*<N
Whether Spring should use its class cache or not 24wr=5p]Q
是否spring应该使用自身的cache L-zU%`1{M
o_5[}d
struts.objectTypeDeterminer qnqS^K,':
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8"p rWAN
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gSf> +|
'8FHn~F
struts.serve.static.browserCache mHa~c(x
If static content served by the Struts filter should set browser caching header properties or not Sr_hD5!
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZE1${QFkG
b5ul|p
struts.serve.static KTwP.!<v
Whether the Struts filter should serve static content or not U#<{RqY
是否struts过滤器应该提供静态内容 kq([c r
`b%^_@Fb
struts.tag.altSyntax d[nz0LI|mk
Whether to use the alterative syntax for the tags or not KHGUR(\Rd6
是否可以用替代的语法替代tags JY,oXA6O
j`K0D65
struts.ui.templateDir *SpE
XO
The directory containing UI templates "-j96
KD
UI templates的目录夹 BuUM~k&SY
ltMcEv-d0
struts.ui.theme r;E5e]w*-
The default UI template theme Ndyo)11z
默认的UI template主题 .u`A4;;Gw
J6ed
struts.url.http.port p["pGsf
The HTTP port used by Struts URLs }5}>B *
设置http端口 rq\<zx]au
[xQ.qZ[h&
struts.url.https.port 4ElS_u^cP7
The HTTPS port used by Struts URLs 5+j):_
设置https端口 @;KvUR/+FE
;%cW[*Dw
struts.url.includeParams 06v'!M
The default includeParams method to generate Struts URLs 1]vDM&9
在url中产生 默认的includeParams 5@
Hg 4.
fzAkUvo
.q!i
+0
struts.velocity.configfile tV4wkS=R|
The Velocity configuration file path $iA:3DM07
velocity配置文件路径 NRspi_&4J
+ZFN8
struts.velocity.contexts ~-uDN)
List of Velocity context names fu-,<m{
velocity的context列表 1u(n[<WtT_
4vkqe6
#\O'*mz
struts.velocity.manager.classname MmFtG-
org.apache.struts2.views.velocity.VelocityManager implementation class @x;(yqOb
org.apache.struts2.views.velocity.VelocityManager接口名 rV?@Kgxi
)n[=)"rf
struts.velocity.toolboxlocation FIu^Qd
The location of the Velocity toolbox 2^nws
velocity工具盒的位置 @hrIu" '!
struts.xslt.nocache %;<g!Vw.k
Whether or not XSLT templates should not be cached a=v H:D
是否XSLT模版应该被缓存 aSgKh