struts2的struts.properties配置文件详解 060<wjX6
kbJ/7
struts.action.extension mq`N&ABO!K
The URL extension to use to determine if the request is meant for a Struts action \j !JRD+j
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %Rj:r!XB:
[wG?&l$.KB
struts.configuration /Mb?dVwA
The org.apache.struts2.config.Configuration implementation class }`{>]2
org.apache.struts2.config.Configuration接口名 \~UyfVPRT
mVfg+d(
struts.configuration.files 1dh_"/
A list of configuration files automatically loaded by Struts eUPG){"
struts自动加载的一个配置文件列表 V|zzj[c
$'btfo4H
struts.configuration.xml.reload G,9osTt/
Whether to reload the XML configuration or not `Jhu&MWg
是否加载xml配置(true,false) ~z#Faed=a
A^
$9[_
struts.continuations.package $j0]+vT
The package containing actions that use Rife continuations QFU;\H/
含有actions的完整连续的package名称 m:5 *:Ii.
I1^0RB{~
struts.custom.i18n.resources S1(. AI~
Location of additional localization properties files to load ]b4*`}\
加载附加的国际化属性文件(不包含.properties后缀) ftq&<8
9-[g/qrF
struts.custom.properties nF0$
Location of additional configuration properties files to load 8~AO~
加载附加的配置文件的位置 zD}dvI}
"P\k_-a'
Y,I0o{,g
struts.devMode Q<B=m6~
Whether Struts is in development mode or not P$S>=*`n
U
是否为struts开发模式 6f,#O8]#5
u:&gp
struts.dispatcher.parametersWorkaround Yf&x]<rkCp
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,+<NP}Yg#G
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pm$,B7Q`oO
KGdL1~
struts.enable.DynamicMethodInvocation @;2,TY>Di
Allows one to disable dynamic method invocation from the URL 8`XpcK-0
允许动态方法调用 zRN_`U
LL|$M;S
struts.freemarker.manager.classname mG@xehH
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W=41jw
org.apache.struts2.views.freemarker.FreemarkerManager接口名 \_}Y4
4]0|fi3}>
struts.i18n.encoding c7X5sMM,
The encoding to use for localization messages -twV?~f
国际化信息内码 wG6>.`:
-8;U1 ^#
struts.i18n.reload "f/lm 2<
Whether the localization messages should automatically be reloaded /{
Lo0
是否国际化信息自动加载 uoR_/vol8
?.~E:8
struts.locale }md[hi J
The default locale for the Struts application U">w3o|
默认的国际化地区信息 CM?dB$AwX
J[2c[|[-
struts.mapper.class 6,*hzyy}Qu
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E7@0,9AU
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fBBNP)
If>k~aL7I
struts.multipart.maxSize ,0O9!^
The maximize size of a multipart request (file upload) 'AU(WHf
multipart请求信息的最大尺寸(文件上传用) e2CjZ" C
:td6Mywl
struts.multipart.parser %Ez=
The org.apache.struts2.dispatcher.multipart. Q$Qs$
MultiPartRequest parser implementation for a multipart request (file upload) VCfa<hn
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U|VFzpJ
rdZk2\<
)!J0e-T-8O
struts.multipart.saveDir T#%r\f,l0
The directory to use for storing uploaded files Y ]&D;w
设置存储上传文件的目录夹 swV/Mi>
{^zieP!
struts.objectFactory Y5e6|b|
The com.opensymphony.xwork2.ObjectFactory implementation class p'z
fo!
com.opensymphony.xwork2.ObjectFactory接口(spring) 0)n#$d>
Tl"GOpH\]
struts.objectFactory.spring.autoWire m [7@l
Whether Spring should autoWire or not }@%A@A{R
是否自动绑定Spring ,paD/
L]I ;{Y
struts.objectFactory.spring.useClassCache r(-`b8ZE
Whether Spring should use its class cache or not 0mk-o
是否spring应该使用自身的cache %K[_;8
I:M]#aFD
struts.objectTypeDeterminer 6qg_&woJ3
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0.C[/ u[
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dnt: U!TW@
hAq7v']m
struts.serve.static.browserCache A+v6N>}*
If static content served by the Struts filter should set browser caching header properties or not w6 0I;.hy
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `Mx&,;x
7(c7-
struts.serve.static <nDuN*|
Whether the Struts filter should serve static content or not ^-Ob($(\
是否struts过滤器应该提供静态内容 |35"V3bs
OXc!^2^
struts.tag.altSyntax w/+e
Whether to use the alterative syntax for the tags or not 1}nrVn[B9
是否可以用替代的语法替代tags ~k>H4hV3
?IgM=@
struts.ui.templateDir
%GS^=Qr
The directory containing UI templates vt)u`/u
UI templates的目录夹 <^>O<P:v
_Bh-*e2k
struts.ui.theme Za,rht
The default UI template theme +Y;/10p
默认的UI template主题 a{*r^m'N
Dn/{ s$\
struts.url.http.port :uwB)G
The HTTP port used by Struts URLs sk*AlSlM
设置http端口 j6x1JM
n<RvL^T=
struts.url.https.port m/}(dT;
The HTTPS port used by Struts URLs g=W1y
设置https端口 K[}5bjh>
k~
Z9og
struts.url.includeParams -pEt=
The default includeParams method to generate Struts URLs qQ\&]
在url中产生 默认的includeParams W
&wqN
^APPWQUl
\$; Q3t3
struts.velocity.configfile @hC ,J
The Velocity configuration file path NQb!?w
velocity配置文件路径 ^f][;>c
fsd,q?{a:
struts.velocity.contexts J3/2>N]/}
List of Velocity context names !F]7q]g
velocity的context列表 `-Yo$b;:
z*,P^K 0T
rBNl%+ sB
struts.velocity.manager.classname
?X{ul
org.apache.struts2.views.velocity.VelocityManager implementation class 2e~ud9,
org.apache.struts2.views.velocity.VelocityManager接口名 {|dU|h
-jN:~.
struts.velocity.toolboxlocation G.Z4h/1<
The location of the Velocity toolbox Z*r;"WHB
velocity工具盒的位置 bEx8dc`Q
struts.xslt.nocache NlLgXn!
Whether or not XSLT templates should not be cached & !0 [T
是否XSLT模版应该被缓存 .FV
wZ:d