struts2的struts.properties配置文件详解 KRcg
v#IZSBvuQK
struts.action.extension |4Q><6"G
The URL extension to use to determine if the request is meant for a Struts action ',RR*{I
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +n`^W(
{24Pv#ZG#^
struts.configuration 'Uo:b<
The org.apache.struts2.config.Configuration implementation class P#Ikj&l
org.apache.struts2.config.Configuration接口名 s3T 6"%S`
\@n/L{}(@
struts.configuration.files |@)ij c4i
A list of configuration files automatically loaded by Struts bL7mlh
struts自动加载的一个配置文件列表 w@f_TG"Vt
zjJyc?
struts.configuration.xml.reload WUi7~Ei}
Whether to reload the XML configuration or not %}&9[#
是否加载xml配置(true,false) L'h'm{i
{la^useg[
struts.continuations.package 2I39fZa
The package containing actions that use Rife continuations ?Z7C0u#wd
含有actions的完整连续的package名称 8c$IsvJg
&l|B>{4v
struts.custom.i18n.resources r>q`# ~
Location of additional localization properties files to load 8i"{GGVC
加载附加的国际化属性文件(不包含.properties后缀) {gi"ktgk
1Kebl
struts.custom.properties u09OnP\
Location of additional configuration properties files to load kp;MNRc
加载附加的配置文件的位置 Z#W`0G>'
L,X6L @Q
I3aEg
struts.devMode +~/zCJ;F
Whether Struts is in development mode or not \J\1i=a-=
是否为struts开发模式 CblL1 q8
f%auz4CZz
struts.dispatcher.parametersWorkaround /3Gv51'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Qg oXOVo6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eaiz
w@N
aA
yFu_
struts.enable.DynamicMethodInvocation ->#7_W
Allows one to disable dynamic method invocation from the URL @o^sp|k !
允许动态方法调用 Vgm{=$
B'0Il"g'
struts.freemarker.manager.classname ,>jm|BTD {
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (}qLxZ/U
org.apache.struts2.views.freemarker.FreemarkerManager接口名 V[#lFl).
Ul@'z|
struts.i18n.encoding $1@{Zz!S
The encoding to use for localization messages Hm^p^,}_x
国际化信息内码 {S&&X&A`v
*AN#D?X_
struts.i18n.reload |m EJJg`"7
Whether the localization messages should automatically be reloaded %yrP: fg/
是否国际化信息自动加载 O@Kr}8^,
Ua3ERBX{
struts.locale BR%: `uiQ<
The default locale for the Struts application (c_hX(
默认的国际化地区信息 ^
pR&
2I4P":q
struts.mapper.class 1-[{4{R
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ( jyJ-qe
org.apache.struts2.dispatcher.mapper.ActionMapper接口 MR6vr.~
JuI,wA
struts.multipart.maxSize ?8nG F%p
The maximize size of a multipart request (file upload) Zj^H3h
multipart请求信息的最大尺寸(文件上传用) Ek.j@79
RGKJO_*J2
struts.multipart.parser +[7u>RJ
The org.apache.struts2.dispatcher.multipart. K^vMIo h
MultiPartRequest parser implementation for a multipart request (file upload) z'I0UB#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) NV;tsuA|
\^:f4ZT
Te13Af~
struts.multipart.saveDir gy[uqm_ T
The directory to use for storing uploaded files \
a<Ye
T
设置存储上传文件的目录夹 1wM
p3
1|89-Ii]
struts.objectFactory 5~?
J
The com.opensymphony.xwork2.ObjectFactory implementation class abv]
com.opensymphony.xwork2.ObjectFactory接口(spring) TP^0`L
\dMsv1\
struts.objectFactory.spring.autoWire A,/S/_Q=
Whether Spring should autoWire or not P$QfcJq&c*
是否自动绑定Spring 3WVHI$A9
$_UF9l0
struts.objectFactory.spring.useClassCache Q&LkST-i
Whether Spring should use its class cache or not EkBM>*W
是否spring应该使用自身的cache mnia>;
0H
J{ Vl2P?@
struts.objectTypeDeterminer #75;%a8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Mf63 59
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tpctz~ .
*dl@)~i
struts.serve.static.browserCache ,O+7nByi[V
If static content served by the Struts filter should set browser caching header properties or not 1$W!<:uh
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~}11 6K
KP(Bu0S
struts.serve.static %"6IAt
Whether the Struts filter should serve static content or not NlMx!f>b%/
是否struts过滤器应该提供静态内容 3^a"$VW1
L$Q+R'
struts.tag.altSyntax &Hqu`A/^
Whether to use the alterative syntax for the tags or not rG]Xgq"
是否可以用替代的语法替代tags _V?Q4}7d/
(
FRf.mv{
struts.ui.templateDir l]Sui_+ZU
The directory containing UI templates 8K/lpqw
UI templates的目录夹 D.e*IP1R
{m?x},
struts.ui.theme $} Myj'`r
The default UI template theme |+bG~~~%j
默认的UI template主题 .,,73"
(!(bysi9
struts.url.http.port F*=RP$sj
The HTTP port used by Struts URLs B+LNDnjO]
设置http端口 V_kE"W)
sFTIRVXN,
struts.url.https.port Y(f-e,
The HTTPS port used by Struts URLs xd 3
设置https端口 2o/`8+eJu
Fqv5WoYVf
struts.url.includeParams F8I<4S
The default includeParams method to generate Struts URLs @n(In$
在url中产生 默认的includeParams ^q`*!B9@
\zUsHK?L"t
aBnbu
vp
struts.velocity.configfile -Me\nu8(RF
The Velocity configuration file path AngwBZ@
velocity配置文件路径 ._Xtb,p{
lUEyo.xVt
struts.velocity.contexts 7w*&Yg]
List of Velocity context names d8#j@='a*
velocity的context列表 2'U9!.o
>e ;f{
O~el2
struts.velocity.manager.classname ap~Iz
org.apache.struts2.views.velocity.VelocityManager implementation class 0Pk-FSY|f
org.apache.struts2.views.velocity.VelocityManager接口名 Izu.I_$4
%K7}yy&9C
struts.velocity.toolboxlocation cw.7YiU
The location of the Velocity toolbox (% P=#vZ
velocity工具盒的位置 Ev16xL8B
struts.xslt.nocache wrU[#g,uvr
Whether or not XSLT templates should not be cached -wfV
是否XSLT模版应该被缓存 }TW=eu~