struts2的struts.properties配置文件详解 6B+?X5-6DH
EVP{7}K1
struts.action.extension ik1asj1
The URL extension to use to determine if the request is meant for a Struts action !6,rN_a@Y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G|u)eW
e8S4=W
struts.configuration bjAI7B8As
The org.apache.struts2.config.Configuration implementation class n'[>h0
org.apache.struts2.config.Configuration接口名 oRZe?h^r#
_=}.Sg5Q
struts.configuration.files u;+8Jg+xH/
A list of configuration files automatically loaded by Struts ix$
^1(
struts自动加载的一个配置文件列表 #%w+PL:*O
\iaZV.#f
struts.configuration.xml.reload <v/aquLN
Whether to reload the XML configuration or not Zu2`IzrG#
是否加载xml配置(true,false) MV2$0
KDP"z
struts.continuations.package R !yh0y}Z
The package containing actions that use Rife continuations Nu3gkIz5z-
含有actions的完整连续的package名称 P(DEf(
v(GnG
struts.custom.i18n.resources ||fw!8E
Location of additional localization properties files to load ^M%P43
加载附加的国际化属性文件(不包含.properties后缀) )B+R|PZ,
crOSr/I$
struts.custom.properties 'J3yJ{
Location of additional configuration properties files to load -agB ]j
加载附加的配置文件的位置 ''D7Bat@
4f~sRubK
}EYmz/nN
struts.devMode ITg:OOQ
Whether Struts is in development mode or not ~(-1mB,
是否为struts开发模式 <Np Mv!g
vH-|#x~
struts.dispatcher.parametersWorkaround ah
f,- ?S
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jSM`bE+"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *aC[Tv[-P
!.^x^OK%y
struts.enable.DynamicMethodInvocation 9C2pGfEbn}
Allows one to disable dynamic method invocation from the URL "U"fsAc#
允许动态方法调用 G6qZ>-GiL
J%|;
struts.freemarker.manager.classname G_5{5Ar
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kr|r-N`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Mpyza%zj
yUD@oOVC0
struts.i18n.encoding R+0gn/a[ G
The encoding to use for localization messages fZr{x$]N0
国际化信息内码 3UW`Jyd`k
:RukW.MR
struts.i18n.reload pfIK9>i
Whether the localization messages should automatically be reloaded EtPB_!
+
是否国际化信息自动加载 eY`9J4o '
T^v o9~N*
struts.locale ~PQR_?1
The default locale for the Struts application c^'bf_~-W
默认的国际化地区信息 9S17Lr*c
==?%]ZE8
struts.mapper.class 9<y{:{i
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $
p{Q ]|ww
org.apache.struts2.dispatcher.mapper.ActionMapper接口 . RNQlh3
} Pc6_#
struts.multipart.maxSize &wZ:$lK#o
The maximize size of a multipart request (file upload) p,9eZUGy
multipart请求信息的最大尺寸(文件上传用) E8Wgm
8
Ye_)~,{,p
struts.multipart.parser X"{s"Mc0G
The org.apache.struts2.dispatcher.multipart. 2}Q)&;u
MultiPartRequest parser implementation for a multipart request (file upload) scUWI"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =X2EF
"U&
UvOB`Vj
struts.multipart.saveDir x_\e&"x
The directory to use for storing uploaded files @cF
aYI
设置存储上传文件的目录夹 N*My2t_+E
IXf@YV
struts.objectFactory KyAQzN 9
The com.opensymphony.xwork2.ObjectFactory implementation class w_I}FPT<(:
com.opensymphony.xwork2.ObjectFactory接口(spring) Aj4i}pT
&`63"^y
struts.objectFactory.spring.autoWire {E`f(9r:
Whether Spring should autoWire or not A:ef}OCL
是否自动绑定Spring P Z;O
pp
MqI!i>
struts.objectFactory.spring.useClassCache 7Q.?]k&
Whether Spring should use its class cache or not Y0U<l1(|
是否spring应该使用自身的cache ^YKEc0"w(
}45&s9m=
struts.objectTypeDeterminer ([ xYOxcp5
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W%.Kr-[?`o
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^r$P&}Z\b
mi3 yiR
struts.serve.static.browserCache ;^FV
If static content served by the Struts filter should set browser caching header properties or not pUr.<yc&u
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TP oP%Yj"
70m}+R(`
struts.serve.static y_8 8I:O
Whether the Struts filter should serve static content or not -q\1Tlc]3
是否struts过滤器应该提供静态内容 BaTE59W
3%xj-7z
W
struts.tag.altSyntax SVaC)O(
Whether to use the alterative syntax for the tags or not z&d&Ky
是否可以用替代的语法替代tags V4Ql6vg_f
H5=-b@(
struts.ui.templateDir (Y!@,rKd
The directory containing UI templates a3037~X
UI templates的目录夹 \?)<==^
Pd\S{ Y~wk
struts.ui.theme F\&R nDJ
The default UI template theme [*#ms=Zdc
默认的UI template主题 fXBA
P10#
z}N=Oe
struts.url.http.port _y),C
The HTTP port used by Struts URLs #IyxH$
设置http端口 K9gfS V>]
#tdI;x3
struts.url.https.port (~N&ov
The HTTPS port used by Struts URLs Yt7R[|
设置https端口 {v56k8uZ
<`a!%_LC
[
struts.url.includeParams Bi)1*
The default includeParams method to generate Struts URLs Fmk,
"qs
在url中产生 默认的includeParams hIC$4lR~
X5527`?e
*^Wx=#w$V
struts.velocity.configfile 2RidI&?c<
The Velocity configuration file path -}{c;pT
velocity配置文件路径 >ZuWsA0q
/WB^h6qg
struts.velocity.contexts 4lE
j/#}
List of Velocity context names u-At k-2M
velocity的context列表 X61]N^y
%X
O97
.T/\5_Bx
struts.velocity.manager.classname F%t`dz!L
org.apache.struts2.views.velocity.VelocityManager implementation class _CBG?
org.apache.struts2.views.velocity.VelocityManager接口名 [L"(flY(E
SI)u@3hl&w
struts.velocity.toolboxlocation HkD6aJ:kA!
The location of the Velocity toolbox }i./,
velocity工具盒的位置 NI\jGR.
struts.xslt.nocache 6fQNF22E
Whether or not XSLT templates should not be cached @]t} bF]
是否XSLT模版应该被缓存 ;zIAh[z