struts2的struts.properties配置文件详解 "\+\,C
p<D@l2vt
struts.action.extension I+Yq",{%
The URL extension to use to determine if the request is meant for a Struts action ,\+N}F^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 //r)dN^
N@X6Z!EO
struts.configuration "usPzp5
The org.apache.struts2.config.Configuration implementation class w
`d9" n
org.apache.struts2.config.Configuration接口名 9k9}57m.i
&%(Dd
struts.configuration.files \L?A4Qx)_
A list of configuration files automatically loaded by Struts @>ys,dy
struts自动加载的一个配置文件列表 FnOahLS
,qB@agjvo<
struts.configuration.xml.reload By[M|4a
Whether to reload the XML configuration or not ql5&&e=-
是否加载xml配置(true,false) ^u90N>Dvq
/9SoVU8
struts.continuations.package N2j^fZd_
The package containing actions that use Rife continuations VL"Cxs
含有actions的完整连续的package名称 !%(kMN
M|@@
LJ'
struts.custom.i18n.resources `l70i2xcj
Location of additional localization properties files to load i&\ >/ 1
加载附加的国际化属性文件(不包含.properties后缀) /`#JM
l*CCnqE
struts.custom.properties %)d7iT~M
Location of additional configuration properties files to load G"L`9E<0V
加载附加的配置文件的位置 ?Ec{%N%
D^s#pOZS
(t@!0_5
struts.devMode kbH@h2Ww
Whether Struts is in development mode or not +_*iF5\
是否为struts开发模式 5}5oj37x
yP` K [/
struts.dispatcher.parametersWorkaround spQr1hx<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ms3GvPsgv
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kQ2WdpZ/
t1yfSStp
struts.enable.DynamicMethodInvocation fX\y/C
Allows one to disable dynamic method invocation from the URL @0tX,Z9
允许动态方法调用 ?djH!
psiuoYf
struts.freemarker.manager.classname sUiO~<Ozpk
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CZy3]O"qW
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @a=jSB#B
dxS5-aWy9w
struts.i18n.encoding Tgla_sMb
The encoding to use for localization messages bl10kI:F
国际化信息内码 qMA";Frt3N
fceO|mSz_
struts.i18n.reload O^ &m
Whether the localization messages should automatically be reloaded 23'<R i
是否国际化信息自动加载 (?GW/pLK]
"HH<5M
struts.locale 6u`$a&dR'l
The default locale for the Struts application Qk|+Gj
默认的国际化地区信息 7GErh,
a>d`g
struts.mapper.class b53s@7/mq
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E1w8d4P,G
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *L Y6hph"
tt6GtYrC 1
struts.multipart.maxSize g "c7$
The maximize size of a multipart request (file upload) ;v.J
D7
multipart请求信息的最大尺寸(文件上传用) @W==)S%O
/+ais3
struts.multipart.parser Oc.8d<
The org.apache.struts2.dispatcher.multipart. \PG_i' R
MultiPartRequest parser implementation for a multipart request (file upload) Nm-E4N#'i
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) | (,{&\
6p3cMJ'8y
_^ n>kLd$
struts.multipart.saveDir A9J{>f
The directory to use for storing uploaded files ?s)6 YF
设置存储上传文件的目录夹 }5$le]
[
`_sH\
struts.objectFactory d@b2XCh<K
The com.opensymphony.xwork2.ObjectFactory implementation class U 17=/E
com.opensymphony.xwork2.ObjectFactory接口(spring) B
T
{cTj0W
q @wX=
struts.objectFactory.spring.autoWire e5;YY
Whether Spring should autoWire or not x'6i9]+r
是否自动绑定Spring q& KNK
id`RscV]
struts.objectFactory.spring.useClassCache Pj BBXI1i
Whether Spring should use its class cache or not c]$$ap
是否spring应该使用自身的cache \TDn q!)?
g]BA/Dw
struts.objectTypeDeterminer Y$./!lVY
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PTXS8e4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K pmq C$
]MB6++.e
struts.serve.static.browserCache dRBWJ/ 1T
If static content served by the Struts filter should set browser caching header properties or not P#AS")Sj
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PsN_c[+
EHrr}&
struts.serve.static )yS8(F0
Whether the Struts filter should serve static content or not 5zH_yZ@+
是否struts过滤器应该提供静态内容 ne=CN!=
z!)@`?
struts.tag.altSyntax
`dIwBfg_
Whether to use the alterative syntax for the tags or not "nU] 2
是否可以用替代的语法替代tags 2FEi-m}
Oki{)Ssy
struts.ui.templateDir Dc0CQGx9b
The directory containing UI templates &,$N|$yK}|
UI templates的目录夹 cPX^4d~9
M} Mgz
struts.ui.theme Ce} m_
The default UI template theme @R ;&P