struts2的struts.properties配置文件详解 C {,d4KG
l2v}PALs
struts.action.extension y(S0
2v>l
The URL extension to use to determine if the request is meant for a Struts action p{,fWk
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +]e4c;`ko}
'H9~rq7
struts.configuration <qy+@t
The org.apache.struts2.config.Configuration implementation class Rd$<R
org.apache.struts2.config.Configuration接口名 a,E;R$[!
vJ'ho
struts.configuration.files %51pf uL
A list of configuration files automatically loaded by Struts &p%c tg
struts自动加载的一个配置文件列表 2~4C5@SxL
o99 a=x6
struts.configuration.xml.reload MDq @:t
Whether to reload the XML configuration or not ,@;<u'1\G
是否加载xml配置(true,false) BdKwWgi+a
? c+;
struts.continuations.package \[&]kPcDl
The package containing actions that use Rife continuations ] QEw\4M?=
含有actions的完整连续的package名称 Cnr48ukq
s^
a`=kO
struts.custom.i18n.resources RW)C<g
Location of additional localization properties files to load UGMdWq
加载附加的国际化属性文件(不包含.properties后缀) 3IkG*enI
8xX{y#
struts.custom.properties vK C>t95
Location of additional configuration properties files to load gc=e)j@
加载附加的配置文件的位置 pDLo`F}A
<gy'@w?
uprQy<I@
struts.devMode ;gyE5n-{
Whether Struts is in development mode or not S`G\Cd;5
是否为struts开发模式 qrkT7f
rUO{-R
struts.dispatcher.parametersWorkaround ;D1IhDC
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q|l|gY1g)
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _biJch
1dcy+ !>
struts.enable.DynamicMethodInvocation #O
WSy'Qnt
Allows one to disable dynamic method invocation from the URL f-<6T
允许动态方法调用 "ir*;|
E'G>'cW;x
struts.freemarker.manager.classname dc)Gk
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ob{pQx7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 :m\KQ1sq
l+6(|"md
struts.i18n.encoding Z-@}~#E
The encoding to use for localization messages 5[_8N{QC;
国际化信息内码 (4LLTf0
+$t%L
struts.i18n.reload lND[anB!
Whether the localization messages should automatically be reloaded *-_Npu6
是否国际化信息自动加载 7&4,',0VL
}H=OVbQor
struts.locale !U_L7
The default locale for the Struts application Kcl$|T
默认的国际化地区信息 Bv8C_-lV/
>9`ep7
struts.mapper.class UsN b&aue
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w|C~{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q8?D}h
1!3kAcBP
struts.multipart.maxSize U[l%oLra
The maximize size of a multipart request (file upload) {M/c!
multipart请求信息的最大尺寸(文件上传用) k5D'RD
#Uh 5tc
struts.multipart.parser 9eiBj
The org.apache.struts2.dispatcher.multipart. or}*tSKX
MultiPartRequest parser implementation for a multipart request (file upload) S:/RYT"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^z^e*<{WEl
E]U0CwFtr
_~Vz+nT
struts.multipart.saveDir T+R I8.#o
The directory to use for storing uploaded files .To:tN#
设置存储上传文件的目录夹 DWQQ615i
u=o"^
struts.objectFactory UUu-(H-J
The com.opensymphony.xwork2.ObjectFactory implementation class od*Z$Hb>'
com.opensymphony.xwork2.ObjectFactory接口(spring)
x9"4vp
/1~|jmi(
struts.objectFactory.spring.autoWire V}fKV6 v9
Whether Spring should autoWire or not 7'i#!5
是否自动绑定Spring rw[ {@|)'z
B36puz 0{
struts.objectFactory.spring.useClassCache <W59mweW#5
Whether Spring should use its class cache or not 4z%#ZIy3
是否spring应该使用自身的cache igBrmaY'
t-*|Hfp*^
struts.objectTypeDeterminer 5b1uD>,;y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {lTxB'W@d
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %m{.l4/!O
|F@xwfgb
struts.serve.static.browserCache br;H8-
If static content served by the Struts filter should set browser caching header properties or not h@;)dLo0z
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Zxc7nLKF~
k
l!?/M
struts.serve.static
$.Q>M]xH
Whether the Struts filter should serve static content or not (;pi"/x[
是否struts过滤器应该提供静态内容 g(1B W#$
.6ngo0<g
struts.tag.altSyntax sCtw30BL
Whether to use the alterative syntax for the tags or not S1^nC tSF
是否可以用替代的语法替代tags /$9
:L
R'I_xjC
struts.ui.templateDir a WeBav}_
The directory containing UI templates }\f(qw
UI templates的目录夹 =^Sw*[eiy
J,0pe\5
struts.ui.theme 2zKo
The default UI template theme '9
e\.
默认的UI template主题 o)#q9Vk%b
w3=)S\
struts.url.http.port t1w2u.]
The HTTP port used by Struts URLs b
H"}w$!>r
设置http端口 %l:|2s:
B)rr7B
struts.url.https.port +[whh
The HTTPS port used by Struts URLs cZe'!CQS
设置https端口 sq~+1(X
,2,SG/BB
struts.url.includeParams qE0FgqRB
The default includeParams method to generate Struts URLs #dZ/UM(u
在url中产生 默认的includeParams \5Vp6^
6Z(*cf/s
p@/(.uE
struts.velocity.configfile %j*k
The Velocity configuration file path Gefnk!;;
velocity配置文件路径 2cCWQ"_,
hdd>&?p3
struts.velocity.contexts /M^V2=
List of Velocity context names h
L]8e>a?
velocity的context列表 MSZ!W(7,<
6z#lN>Y-`
pbDw Lo]
struts.velocity.manager.classname F0&~ ?2nG
org.apache.struts2.views.velocity.VelocityManager implementation class R}DX(T,K
org.apache.struts2.views.velocity.VelocityManager接口名 (Sth:{;
Nush`?]J"_
struts.velocity.toolboxlocation +/y{^}b/
The location of the Velocity toolbox e'1 ^+*bU
velocity工具盒的位置 k> b&xM!
struts.xslt.nocache Fweh =v
Whether or not XSLT templates should not be cached iV?` i
是否XSLT模版应该被缓存 V@vhj R4r\