struts2的struts.properties配置文件详解 j}.J$RtW1f
b`|MK4M(
struts.action.extension wfTv<WG,.E
The URL extension to use to determine if the request is meant for a Struts action l}-`E@w
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a<"& RnG(
3a)Q:#okD
struts.configuration W#\};P
The org.apache.struts2.config.Configuration implementation class wJR i;fvi
org.apache.struts2.config.Configuration接口名 H_=[~mJ
OmjT`,/
struts.configuration.files GJt9hDM$0
A list of configuration files automatically loaded by Struts cB F%])!
struts自动加载的一个配置文件列表 L{,7(C=
:h^UC~[h 3
struts.configuration.xml.reload g+r{>x
Whether to reload the XML configuration or not `&[:!U2]F
是否加载xml配置(true,false) 8Y~T$Yj^
f#Cdx"
struts.continuations.package ~(L +4]
The package containing actions that use Rife continuations }J'wz;t1
含有actions的完整连续的package名称 rkc%S5we
L\b_,'I
struts.custom.i18n.resources {ZEXlNPww
Location of additional localization properties files to load )bU")
加载附加的国际化属性文件(不包含.properties后缀) UuC"-$:
-t'oW*kdL
struts.custom.properties 7^ {hn_%;
Location of additional configuration properties files to load F8;4Oj
加载附加的配置文件的位置 WM
)g(i~(
>P"/nS"nn
j?hyN@ns
struts.devMode PxD}j
2Kd
Whether Struts is in development mode or not "(&`muIc
是否为struts开发模式 &:f'{>3z
$v@$oPmMj
struts.dispatcher.parametersWorkaround c
O>:n
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Prx s2 i 8
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @wJa33QT
XXmu|h
struts.enable.DynamicMethodInvocation QjN3j*@
Allows one to disable dynamic method invocation from the URL 'wV26Dm
允许动态方法调用 PH!B /D5G
vUx$[/<
struts.freemarker.manager.classname jV&W[xKa
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class > 0)`uJ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Jd6Q 9~z#
B_jI!i{N%o
struts.i18n.encoding zR_l^NK
The encoding to use for localization messages {:OVBX
国际化信息内码 1Klu]J%
\1D,Kx;Cb
struts.i18n.reload &-Er n/[
Whether the localization messages should automatically be reloaded n8aiGnd=v
是否国际化信息自动加载 usf(U>
g7f%(W2dd
struts.locale x+`3G.
The default locale for the Struts application Yx c >+mx
默认的国际化地区信息 8Kkr1}!wd
&scD)
struts.mapper.class 2dW-WHaM
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g]JI}O*5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 S9055`v5
oD1=}
struts.multipart.maxSize d}J#wT
The maximize size of a multipart request (file upload) Q_Squuk
multipart请求信息的最大尺寸(文件上传用) Nx
z ,/d
-z1o~~
struts.multipart.parser {z
~
'
The org.apache.struts2.dispatcher.multipart. 8GQs9
MultiPartRequest parser implementation for a multipart request (file upload) o!0a8i
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vG:,oB}
,{t!->K
?KW?] o
struts.multipart.saveDir P"<ad
kr
The directory to use for storing uploaded files MRu+:Y=K
设置存储上传文件的目录夹 H}rP{`m
sOenR6J<$
struts.objectFactory )+R3C%
The com.opensymphony.xwork2.ObjectFactory implementation class o62gLO]z@
com.opensymphony.xwork2.ObjectFactory接口(spring) $7g(-W
jZyh
struts.objectFactory.spring.autoWire h8;"B
Whether Spring should autoWire or not {a%cU[q
是否自动绑定Spring ||NCVGJG
lph_cY3p
struts.objectFactory.spring.useClassCache ]TN}`]
Whether Spring should use its class cache or not |REU7?B
是否spring应该使用自身的cache {
)K(}~VD
l).Ijl}AH;
struts.objectTypeDeterminer izA3 INT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Fd'L:A~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -7Wmq[L/
Rvo<ISp
struts.serve.static.browserCache |V]E8Qt
If static content served by the Struts filter should set browser caching header properties or not :6{HFMf"
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2Ta F7Jn
V4D&&0&n
struts.serve.static ktb.fhO
Whether the Struts filter should serve static content or not ${3OQG
是否struts过滤器应该提供静态内容 I`1=VC]^8
?c*d
z{
struts.tag.altSyntax UzXbaQQ2g
Whether to use the alterative syntax for the tags or not
1Btf)y'
是否可以用替代的语法替代tags $!lxVZ>
Ho|n\7$
struts.ui.templateDir h#9)M
The directory containing UI templates o,I642R~
UI templates的目录夹 )vzT\dQ|
xa:P(x3[
struts.ui.theme LA5rr}<K
The default UI template theme SQK6BEjE8
默认的UI template主题 J4; ".Y=
f5v|}gMAX
struts.url.http.port !bg3
The HTTP port used by Struts URLs IA'AA|v
设置http端口 8*ysuL#
gS ]'^Sr
struts.url.https.port U_?RN)>j
The HTTPS port used by Struts URLs /uVB[Tk^
设置https端口 .^,vK7
zb (u?U
struts.url.includeParams vPi+8)
The default includeParams method to generate Struts URLs t30V_`eQ
在url中产生 默认的includeParams %JZIg!
V !$m{)Y
y;H
3g#
struts.velocity.configfile *`W82V
The Velocity configuration file path DzEixE-
velocity配置文件路径 Tq+pFEgQ`@
LO229`ARr|
struts.velocity.contexts +}n]A^&I\E
List of Velocity context names P\R3/g
velocity的context列表 ]_h"2|
d?>sy\{2
M;OYh
struts.velocity.manager.classname ^]kDYhe*Y
org.apache.struts2.views.velocity.VelocityManager implementation class Onl:eG;@
org.apache.struts2.views.velocity.VelocityManager接口名 7iJlW&W
~kL":C>2
struts.velocity.toolboxlocation P~&X$H%e
The location of the Velocity toolbox Nuj%8om6
velocity工具盒的位置 "6ZatRUd
struts.xslt.nocache !O\r[c
Whether or not XSLT templates should not be cached Msf yIB
是否XSLT模版应该被缓存 sbVeB%k