struts2的struts.properties配置文件详解 W A/dt2D|
uNyU]@R<W
struts.action.extension ~y<0Cc3Vs
The URL extension to use to determine if the request is meant for a Struts action thjr1y.e
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z)@vJZ*7(
\5ls
<=S.
struts.configuration n7t}G'*Y!^
The org.apache.struts2.config.Configuration implementation class _.5{vGyxr
org.apache.struts2.config.Configuration接口名 'OY4Q'Z
E'08'8y
struts.configuration.files )U&9d
A list of configuration files automatically loaded by Struts 67j kU!
struts自动加载的一个配置文件列表 ^ja]e%w#
yXNr[7
struts.configuration.xml.reload Q]WBH_j
Whether to reload the XML configuration or not JRl=j2z
是否加载xml配置(true,false) H$`U]
=s|
wWl?c
struts.continuations.package ;s+/'(*
The package containing actions that use Rife continuations iLy^U*yK
含有actions的完整连续的package名称 s= Fp[>qA
zMSwU]4I!
struts.custom.i18n.resources R{g=
N%O
Location of additional localization properties files to load +Mo4g2W
加载附加的国际化属性文件(不包含.properties后缀) S;~eI8gQ"
4Mt3<W5
struts.custom.properties |Z:yd}d
Location of additional configuration properties files to load > Pw5!i\
加载附加的配置文件的位置 LU6R"c11
\e86'&
(0{Dn5MH
struts.devMode 8zK#./0\
Whether Struts is in development mode or not 'uu*DgEr
是否为struts开发模式 l.}PxZ
,6^<Vg
struts.dispatcher.parametersWorkaround `OW'AS |
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Rhc:szDU
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &[G)YD
kV'zAF
v
struts.enable.DynamicMethodInvocation *zdD4I=
Allows one to disable dynamic method invocation from the URL "f91YX_)
允许动态方法调用 2S8;=x}/
v=k+MvX
struts.freemarker.manager.classname i}m'#b
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d{fd5jv;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ed=/w6<
;\pr05
struts.i18n.encoding 8m+~HSIR
The encoding to use for localization messages
+SFFwjI
国际化信息内码 k4{!h?h
Ej(BE@6>s
struts.i18n.reload ZqclmCi
Whether the localization messages should automatically be reloaded SeHrj&5U
是否国际化信息自动加载 S{^x]h|?
bxE~tsM"@Y
struts.locale }a" =K%b<\
The default locale for the Struts application j4XVk@'OX
默认的国际化地区信息 64'2ICf#m
O=%Ht-kOc
struts.mapper.class Snkb^Kt
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ffP]U4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 rN1]UaT
P'KA-4!
struts.multipart.maxSize h8/tKyr8(
The maximize size of a multipart request (file upload) 8ZtJvk`
multipart请求信息的最大尺寸(文件上传用) "Q@m7j)(
klKUX/g
struts.multipart.parser k$$SbStD
The org.apache.struts2.dispatcher.multipart. L?ZSfm2<
MultiPartRequest parser implementation for a multipart request (file upload) kFjv'[Y1N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) dA<%4_WZty
}83
8F&
.$\-{)
struts.multipart.saveDir 2J=`"6c
The directory to use for storing uploaded files =%` s-[5b
设置存储上传文件的目录夹 xP\s^]e
#$UwJ B]_D
struts.objectFactory 0moA mfc
The com.opensymphony.xwork2.ObjectFactory implementation class l%+ &V^:
com.opensymphony.xwork2.ObjectFactory接口(spring) kqB# 9
V Rv4p5
struts.objectFactory.spring.autoWire #Us<#"fC
Whether Spring should autoWire or not 4U dk#
是否自动绑定Spring > TYDkEs0
Noj*K6
struts.objectFactory.spring.useClassCache vA6`};|
Whether Spring should use its class cache or not ;Z*rY?v
是否spring应该使用自身的cache eg;r38
z}-CU GS
struts.objectTypeDeterminer gdIk%m4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6%V:Z
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0(i3RPIj\
_i>_S n1"
struts.serve.static.browserCache `,4yGgD!4
If static content served by the Struts filter should set browser caching header properties or not q{h,}[U=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !SuflGx,q
h;q&B9
struts.serve.static %ddH4Q/p
Whether the Struts filter should serve static content or not w10~IP
是否struts过滤器应该提供静态内容 |47t+[b
^p(aZj3k
struts.tag.altSyntax QtfL'su:
Whether to use the alterative syntax for the tags or not [pU(z'caS
是否可以用替代的语法替代tags -W!M:8
4}C
\N
struts.ui.templateDir L9) gN.#
The directory containing UI templates y],opG6
UI templates的目录夹 "6C
a{n1hk
q:kGJxfaW
struts.ui.theme :?~)P!/xl5
The default UI template theme 8(`e\)%l0
默认的UI template主题 $'l<2h>4
?Tc|3U
struts.url.http.port rn
.qs
The HTTP port used by Struts URLs zWo
设置http端口 @7}XBg[pI
0d2RB^"i
struts.url.https.port Rir0^XqG
The HTTPS port used by Struts URLs l^I?@{W
设置https端口 ~Bl,_?CBr
-aBhN~
struts.url.includeParams mh4 VQ9
The default includeParams method to generate Struts URLs dF `7]
在url中产生 默认的includeParams ,q%X`F
rc
0WzoI2Q
8b0j rt
struts.velocity.configfile L:C/PnIV
The Velocity configuration file path d"5_x]Z;
velocity配置文件路径
IZrcn
Ch{6=k bK
struts.velocity.contexts Lu^uY7
?}
List of Velocity context names <k[_AlCmsg
velocity的context列表 u$tst_y-
gZ&4b'XS,
4U\>TFO
struts.velocity.manager.classname W'"hjQ_
org.apache.struts2.views.velocity.VelocityManager implementation class +76'(@(1Y
org.apache.struts2.views.velocity.VelocityManager接口名 a5Vlfx
K
'I6iCrD
struts.velocity.toolboxlocation $m
;p@#n
The location of the Velocity toolbox UG44 oKB
velocity工具盒的位置 .WSn Y71
struts.xslt.nocache 41/civX>V
Whether or not XSLT templates should not be cached @F 8NN\
是否XSLT模版应该被缓存 g@x72$j