struts2的struts.properties配置文件详解 c~)H" n
k
& 6$S9
struts.action.extension 3kW%,d*_
The URL extension to use to determine if the request is meant for a Struts action (nnIRN<}$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /4>|6l=
yD yMI
struts.configuration ' JAcN@q~z
The org.apache.struts2.config.Configuration implementation class 4<btWbk5u*
org.apache.struts2.config.Configuration接口名 tGwQUn
OI)U c .
struts.configuration.files 1SG^g*mf
A list of configuration files automatically loaded by Struts cnL@j_mb
struts自动加载的一个配置文件列表 g0M/Sv
V8947h|&
struts.configuration.xml.reload ,e@707d`\
Whether to reload the XML configuration or not v$~ZT_"(9
是否加载xml配置(true,false) )U+Pt98"
*@E&O^%cO
struts.continuations.package %df[8eX{
The package containing actions that use Rife continuations >>.4@
含有actions的完整连续的package名称 k/m-jm_h
9xRor<
struts.custom.i18n.resources xX~;
/e&,
Location of additional localization properties files to load =
KJ_LE~)
加载附加的国际化属性文件(不包含.properties后缀) |bX{MF
F3=iyiz6
struts.custom.properties ? oQ_qleuo
Location of additional configuration properties files to load Y;1J`oT
加载附加的配置文件的位置 gE$@:j
w=x
[=O
evE$$# 6R
struts.devMode D.,~I^W
Whether Struts is in development mode or not 115zvW
是否为struts开发模式 +GlG.6
l~#%j( Yo
struts.dispatcher.parametersWorkaround '-[?iF@l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t}fU 2Yb
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G|LcTV
E>&oe&`o'
struts.enable.DynamicMethodInvocation PbIir=
Allows one to disable dynamic method invocation from the URL </li<1
允许动态方法调用 l.%[s6
3h4'DQ.g
struts.freemarker.manager.classname >mp"=Y
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]cP$aixd
org.apache.struts2.views.freemarker.FreemarkerManager接口名 G]E-2 _t7
7NP
Ny
struts.i18n.encoding mApl}I
The encoding to use for localization messages q/dja
国际化信息内码 m<GJ1)%3i
Nrfj[I
struts.i18n.reload _<7e5VR
Whether the localization messages should automatically be reloaded ;#n+$Q#:
是否国际化信息自动加载 KB a
+7$zL;ph=n
struts.locale !^IAn
The default locale for the Struts application x`Ik747^v
默认的国际化地区信息 (T8dh|
dL|*#e
struts.mapper.class f1RX`rXf
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JAS!eF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;2Za]%'
*v0}S5^/"
struts.multipart.maxSize 89l{h8R
The maximize size of a multipart request (file upload) T]y^PT<8?
multipart请求信息的最大尺寸(文件上传用) l^4!
>-4kO7.V
struts.multipart.parser F:cenIaBF
The org.apache.struts2.dispatcher.multipart. (6~~e$j
MultiPartRequest parser implementation for a multipart request (file upload) $|H7fn(r
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L<O"36R
EM0]"s@Lf
BLcsIyq
struts.multipart.saveDir ?vocI
The directory to use for storing uploaded files )jm u*D5N
设置存储上传文件的目录夹 9p%8VDF=
Pskg68W
struts.objectFactory H<C+rAIb
The com.opensymphony.xwork2.ObjectFactory implementation class mqKr+
com.opensymphony.xwork2.ObjectFactory接口(spring) RtScv
BV512+M
struts.objectFactory.spring.autoWire .>+jtp}
Whether Spring should autoWire or not f}?q
是否自动绑定Spring A"no!AN
'`/w%OEVC5
struts.objectFactory.spring.useClassCache U
Y')|2y
5
Whether Spring should use its class cache or not 6dQ]=];
是否spring应该使用自身的cache .+2@(r
cP&XkAQ
struts.objectTypeDeterminer YfUUbV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :Wmio\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [B" CNnA
WoX,F1 o
struts.serve.static.browserCache ~JSa]6:_+
If static content served by the Struts filter should set browser caching header properties or not i~;Yrc%AEX
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <|c[
#f
r^$WX@ t&
struts.serve.static $ZfoJR]%
Whether the Struts filter should serve static content or not RMO6k bfP
是否struts过滤器应该提供静态内容 %N0cp@Vz
2` j#eB1
struts.tag.altSyntax s5D<c'-
Whether to use the alterative syntax for the tags or not 2kQa3Pan
是否可以用替代的语法替代tags D$/*Z5Z)]
h;Se.{
struts.ui.templateDir A Z& ]@Ao
The directory containing UI templates 5Q.z#]Lg
UI templates的目录夹 ,`;Dre
O*y@4AR"S
struts.ui.theme BZ-)XF'4
The default UI template theme xH/Pw?^
默认的UI template主题 &s<'fSI
/6d:l>4
struts.url.http.port 0
|Y'@&
The HTTP port used by Struts URLs )R]gJ_,c
设置http端口 m9m]q&hx
[m{uJdj\
struts.url.https.port kK il]L
The HTTPS port used by Struts URLs "
H;iAv
设置https端口 +Rb0:r>kU
ju%t'u\'
struts.url.includeParams P},d`4Ty@
The default includeParams method to generate Struts URLs {fAj*,pzl
在url中产生 默认的includeParams fY{&W@#g
'k9dN
\ev
OX*5 yT{
struts.velocity.configfile xXm:S{I
The Velocity configuration file path {ehAF=C
velocity配置文件路径 TWk1`1|
kG70j{gf
struts.velocity.contexts [t}$W*hY
List of Velocity context names okv`v
({
velocity的context列表 Fu6~8uDV{{
CxW-lU3G`
7d"gRM;
struts.velocity.manager.classname >djTJ>dl_u
org.apache.struts2.views.velocity.VelocityManager implementation class zMW[Xx!
org.apache.struts2.views.velocity.VelocityManager接口名 L fx$M
DV">9{"5']
struts.velocity.toolboxlocation a54qv^IS
The location of the Velocity toolbox 5Sfz0
velocity工具盒的位置 KD)+&69
struts.xslt.nocache N0 F|r8xS
Whether or not XSLT templates should not be cached !JE=QG"
是否XSLT模版应该被缓存 qD?-&>dBWi