struts2的struts.properties配置文件详解 Oeh A3$|#
sT^R0Q'>
struts.action.extension MK1\
The URL extension to use to determine if the request is meant for a Struts action k]m ~DVS
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P$EiD+5#z
jVff@)_S
struts.configuration lV\iYX2#
The org.apache.struts2.config.Configuration implementation class 1K Vit{
org.apache.struts2.config.Configuration接口名 JduO^Fit
2Q6;SF"Z
struts.configuration.files L}h_\1
A list of configuration files automatically loaded by Struts LG[N\%<!H
struts自动加载的一个配置文件列表 .S//T/3O]Q
[)"\Aq
struts.configuration.xml.reload }0'LKwIR
Whether to reload the XML configuration or not E'x"EN
是否加载xml配置(true,false) M9iX_4
KqI:g*H'x7
struts.continuations.package w6BBu0,KC
The package containing actions that use Rife continuations D{(}&8a9
含有actions的完整连续的package名称 xfRp_;l+R
^KhJBM /Z
struts.custom.i18n.resources Pe<VPf9+
Location of additional localization properties files to load wgFX')l:
加载附加的国际化属性文件(不包含.properties后缀) e,%|sAs[
)7 57
struts.custom.properties O#)1zD}
Location of additional configuration properties files to load AjK5x@\
加载附加的配置文件的位置 KA2>[x2
8pnD6Lp>
5,Fq:j)MxW
struts.devMode Skr(C5T
Whether Struts is in development mode or not r#zcl)rbU
是否为struts开发模式 OxHcoNrz
nM[yBA
struts.dispatcher.parametersWorkaround Bsa;,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NBk0P*SI
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~4fE`-O
[Hh*lKg
struts.enable.DynamicMethodInvocation 6 byeO&d
Allows one to disable dynamic method invocation from the URL bdL= ?KS
允许动态方法调用 7yE\,
[*
<x)
struts.freemarker.manager.classname S~ /2Bw!2
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \5a.JfF
org.apache.struts2.views.freemarker.FreemarkerManager接口名 UFj H8jSBx
/43l}6I
struts.i18n.encoding e]~p:
The encoding to use for localization messages Ph^1Ko"2
国际化信息内码 u+8"W[ZULq
$gr>Y2i
struts.i18n.reload pS$9mzY
Whether the localization messages should automatically be reloaded ,C,nNaW
是否国际化信息自动加载 U'=8:&
h$8h@2%
struts.locale 6{6hz8
The default locale for the Struts application &~*](Ma
默认的国际化地区信息 (WHgB0{
8H7#[?F
struts.mapper.class L\#YFf
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Up@^C"
org.apache.struts2.dispatcher.mapper.ActionMapper接口 eha|cAq
?^U? ua6
struts.multipart.maxSize Jl_W6gY"Z
The maximize size of a multipart request (file upload) 0/v]YK.
multipart请求信息的最大尺寸(文件上传用) Z5t^D|
J%?5d:iN+
struts.multipart.parser d5^^h<'
The org.apache.struts2.dispatcher.multipart. P!79{ 8
MultiPartRequest parser implementation for a multipart request (file upload) (_ G>dP_
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
E0!d c
[q|W*[B:@
C>|.0:[%
struts.multipart.saveDir yksnsHs}d
The directory to use for storing uploaded files rd7p$e=i
设置存储上传文件的目录夹 -Cyo2wk
ps'_Y<@
struts.objectFactory }U8v
~wcd
The com.opensymphony.xwork2.ObjectFactory implementation class v@EErF
com.opensymphony.xwork2.ObjectFactory接口(spring) wN.S]
~u&gU1}
struts.objectFactory.spring.autoWire J8)l ,J"
Whether Spring should autoWire or not P2vG)u
是否自动绑定Spring X):7#x@uy
#G#gc`S-,
struts.objectFactory.spring.useClassCache +&S7l%-
Whether Spring should use its class cache or not @ujwN([I
是否spring应该使用自身的cache Nvd(?+c
o8X_uKEI
struts.objectTypeDeterminer ht>%O7
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GST#b6S
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @_kF&~
m ""+$
struts.serve.static.browserCache uXc;!*
If static content served by the Struts filter should set browser caching header properties or not *47/BLys<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]In7%Qb
[mzed{p]]
struts.serve.static SMrfEmdH+
Whether the Struts filter should serve static content or not z%
bH?1^o
是否struts过滤器应该提供静态内容 jJIP $
N# }A9t
struts.tag.altSyntax +j{Cfv$do
Whether to use the alterative syntax for the tags or not =!t;e~^8]
是否可以用替代的语法替代tags S]fu
M%
~vz%I^xW
struts.ui.templateDir TVNgj.`+u!
The directory containing UI templates A,F~*LXm
UI templates的目录夹 qFWN._R
pq`uB
struts.ui.theme ,NQ!d4~D
The default UI template theme F` 7v
默认的UI template主题 g
`s|]VNt
0!,uo\`
struts.url.http.port /<) Vd
The HTTP port used by Struts URLs KRL.TLgq)
设置http端口 c:m=9>3
f- (i%
struts.url.https.port %rrA]\C'
The HTTPS port used by Struts URLs Xr
<H^X
设置https端口 l_}d Q&R
IW~wO
struts.url.includeParams `h@fW- r
The default includeParams method to generate Struts URLs wW\[#Ku
在url中产生 默认的includeParams Zp)=l Td
S46aUkW.
O[VY|.MEk
struts.velocity.configfile 0Agse)
The Velocity configuration file path ;j%I1k%A
velocity配置文件路径 b$klm6nMvm
(ODwdN7;
struts.velocity.contexts JwbZ`Z*w
List of Velocity context names P7F"#R0QB
velocity的context列表 kBZ1)?
I(^0/]'
d1/WUKmbZ
struts.velocity.manager.classname }. &ellNQ
org.apache.struts2.views.velocity.VelocityManager implementation class
U${W3Ra
org.apache.struts2.views.velocity.VelocityManager接口名 hnFpC1TO
{A/^;X{N^
struts.velocity.toolboxlocation v82wnP-~7
The location of the Velocity toolbox ;p+'?%Y}
velocity工具盒的位置 To(I<W|{
struts.xslt.nocache :\|A.#
U
Whether or not XSLT templates should not be cached 8</wQ6&|
是否XSLT模版应该被缓存 =dPokLXn