struts2的struts.properties配置文件详解 iVmy|ewd
Lso%1M
struts.action.extension pm[i#V<v
The URL extension to use to determine if the request is meant for a Struts action 66_=bd(9
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |X6R2I
Rz*GRe
struts.configuration <KoOJMx(
The org.apache.struts2.config.Configuration implementation class [W3sveqj&
org.apache.struts2.config.Configuration接口名 e$rPXRf
T+%P+
struts.configuration.files A#i[Us|
A list of configuration files automatically loaded by Struts #2Iw%H 2q&
struts自动加载的一个配置文件列表 aQ&K a
XSh[#qJ
struts.configuration.xml.reload &W `7 b<
Whether to reload the XML configuration or not ]z#Ita;
是否加载xml配置(true,false) ''z]o#=^9
;!3: 3;
struts.continuations.package P1$D[aF9$
The package containing actions that use Rife continuations dAM]ZR<
含有actions的完整连续的package名称 (FGHt/!
V<ilv<
struts.custom.i18n.resources @,W5K$Ka=
Location of additional localization properties files to load WU,b<PU &
加载附加的国际化属性文件(不包含.properties后缀) 3&+nV1
w:R#F(
'B
struts.custom.properties FNo.#Z5+b
Location of additional configuration properties files to load n(SeJk%>9
加载附加的配置文件的位置 m6gMVon
zzd PR}VG
gp'k(rGH
struts.devMode )6o%6$c
Whether Struts is in development mode or not wuSotbc/
是否为struts开发模式 {qCFd
t2m7Yh5B
struts.dispatcher.parametersWorkaround K<pZ*l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }-9 c1&m
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y*=Ipdj
|U$ "GI
struts.enable.DynamicMethodInvocation zpzxCzU
Allows one to disable dynamic method invocation from the URL Z=a~0&G
允许动态方法调用 g!cW`B'
T&Z*=ShH
struts.freemarker.manager.classname d(KK7SQg
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g{K \
org.apache.struts2.views.freemarker.FreemarkerManager接口名 m )r,
j;-2)ZLm
struts.i18n.encoding ]U}B~Y
The encoding to use for localization messages KUHkjA_
国际化信息内码 Dg}EI^ d
$IdU
struts.i18n.reload 4.~ <|T8
Whether the localization messages should automatically be reloaded 3'SN0VL
是否国际化信息自动加载 ,TYFPulYcp
qT#NS&T!-
struts.locale nD!t*P
The default locale for the Struts application K @:t6
默认的国际化地区信息 ]xbMMax
]A1'+!1$
struts.mapper.class u4 ~.[3E*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kD)]\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )Z\Zw~L
/2tPd
struts.multipart.maxSize %D%
Ok7s})
The maximize size of a multipart request (file upload) +NeoGnj
multipart请求信息的最大尺寸(文件上传用) $)6M@S
{L7+lz
struts.multipart.parser o/=61K8D
The org.apache.struts2.dispatcher.multipart. Qx_N,1>S
MultiPartRequest parser implementation for a multipart request (file upload) TnQW~_:
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l701$>>
\vS >jB
z&jASL
struts.multipart.saveDir ~b4kV)[ q
The directory to use for storing uploaded files u
Qg$hS
设置存储上传文件的目录夹 ;w._/
b8Hzl!zO
struts.objectFactory C+dz0u3s
The com.opensymphony.xwork2.ObjectFactory implementation class 'X?Iho
com.opensymphony.xwork2.ObjectFactory接口(spring) :dxKcg7
OAgZeK$
struts.objectFactory.spring.autoWire )XoMOz
Whether Spring should autoWire or not k3]qpWKj
是否自动绑定Spring *V[I&dKq
z>'vS+axV
struts.objectFactory.spring.useClassCache =CjWPZShV
Whether Spring should use its class cache or not DV)NY!
是否spring应该使用自身的cache 8~BLTZ
|A+,M"F?
struts.objectTypeDeterminer i8f +woZL
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bh3yH>Zns
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wT-Kg=-q
0}'/3Q
struts.serve.static.browserCache B^{~,'
If static content served by the Struts filter should set browser caching header properties or not HC6v#-( `{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (aq-aum-I
Rv.IHSQUo
struts.serve.static vV"I}L
Whether the Struts filter should serve static content or not QcjsQTAbk
是否struts过滤器应该提供静态内容 NH*"AE;
7Rc>LI*
'
struts.tag.altSyntax UVW4KUxR
Whether to use the alterative syntax for the tags or not vjA!+_I6
是否可以用替代的语法替代tags @twi<U_
r>sXvzv
struts.ui.templateDir /fU-0a8
The directory containing UI templates #CW{y?=
UI templates的目录夹 #<#-B v
w?Cho</Xu
struts.ui.theme V0%a/Hi v
The default UI template theme m9\~dD
默认的UI template主题 @CoUFdbz
TKVS%//
struts.url.http.port [/<kPi
The HTTP port used by Struts URLs }?HWUAL\
设置http端口 H wz$zF+R
bkrl>Im<n
struts.url.https.port .
+,{|){c
The HTTPS port used by Struts URLs ZoCk]hk
设置https端口 +6^hp-G7
6 B7F
struts.url.includeParams mXyg\5
The default includeParams method to generate Struts URLs Vo|[Z)MO`
在url中产生 默认的includeParams ~ftR:F|9
]3Jb$Q@
C^:{y
struts.velocity.configfile V6k Dyl(
The Velocity configuration file path ID<[=es6
velocity配置文件路径 KTeR;6oZn"
k`s_31<
struts.velocity.contexts 0n={Mb
List of Velocity context names 90ov[|MkM
velocity的context列表 kv2 H3O
bw!*=<
`(6cRT`Wp
struts.velocity.manager.classname h8;H<Y;yQ
org.apache.struts2.views.velocity.VelocityManager implementation class ]LMtZUz
org.apache.struts2.views.velocity.VelocityManager接口名 `BaJ >%|
3T[zieX
struts.velocity.toolboxlocation czB),vooz
The location of the Velocity toolbox b'vIX<
g
velocity工具盒的位置 _ D"S
struts.xslt.nocache Vl'rO_?t
Whether or not XSLT templates should not be cached IYr}%:P)
是否XSLT模版应该被缓存 ;1>V7+/