struts2的struts.properties配置文件详解 9Od|R"aS|
Xw'Y
&!z
struts.action.extension 9O{b8=\}
The URL extension to use to determine if the request is meant for a Struts action V9\y*6#Y,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D/`b~Yl
CBu$8]9=
struts.configuration @-% .+
The org.apache.struts2.config.Configuration implementation class e_h`x+\:
org.apache.struts2.config.Configuration接口名 E]&tgZO
KB`">zq$u
struts.configuration.files 8(@Y@`/
A list of configuration files automatically loaded by Struts '-2|GX_o
struts自动加载的一个配置文件列表 Cj10?BNV)
8h{;*Wr-
struts.configuration.xml.reload %7SGQE#W_~
Whether to reload the XML configuration or not s $?u'}G3
是否加载xml配置(true,false) )J(@e4;Rv
Y![//tg
struts.continuations.package 3FQXp
The package containing actions that use Rife continuations N
6t `45
含有actions的完整连续的package名称 m^%Xl@V:c-
z#Cgd-^7.#
struts.custom.i18n.resources _h1:{hF
Location of additional localization properties files to load JfVGs;_,
加载附加的国际化属性文件(不包含.properties后缀) 0 >:RFCo
ApotRr$)
struts.custom.properties ( jtkY_
Location of additional configuration properties files to load dMDSyd<(
加载附加的配置文件的位置 Q3 9;bz
w<me(!-'
Y{c+/n3d
struts.devMode ]%<0V,G
q
Whether Struts is in development mode or not @D2KDV3'
是否为struts开发模式 )#0Llx!
wpepi8w,
struts.dispatcher.parametersWorkaround $E35W=~)
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;Ebpf J
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &^JYIRn1\
ibxtrt=
struts.enable.DynamicMethodInvocation NVG`XL
Allows one to disable dynamic method invocation from the URL IEQ6J}L
允许动态方法调用 12 S[m~L%
&Tn7
struts.freemarker.manager.classname 40Z/;,wp{
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class - *_"ZgE
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /e50&]2w
Jo9!:2?
struts.i18n.encoding jKhj 7dR
The encoding to use for localization messages E|BiK
国际化信息内码 eSA%:Is.
/GU%{nT
struts.i18n.reload H\RuYCn2G
Whether the localization messages should automatically be reloaded F^}n7h=qk
是否国际化信息自动加载 $-R9J6NN
z!
DD'8r>
struts.locale
j.vBld
The default locale for the Struts application w*qmC<D$A
默认的国际化地区信息 I3D#wXW
//H3{^{
struts.mapper.class ba"a!#wA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nyr)d%I{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 8+U':xR
Oo`b#!L
struts.multipart.maxSize ealh>Y
The maximize size of a multipart request (file upload) [0-zJy|,
multipart请求信息的最大尺寸(文件上传用) Jm{~H%
R:FyCT_,
struts.multipart.parser *l\vqgv.Z
The org.apache.struts2.dispatcher.multipart. zP;1mN
MultiPartRequest parser implementation for a multipart request (file upload) x|IG'R1:Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bg0 aLU)[
& wG3RR|
-Drm4sTpDb
struts.multipart.saveDir lL6qK&;
The directory to use for storing uploaded files J"O#w BM9
设置存储上传文件的目录夹 j,CMcP7A -
Mb[4G>-v=
struts.objectFactory PdD|3B&
The com.opensymphony.xwork2.ObjectFactory implementation class yi9c+w)b
com.opensymphony.xwork2.ObjectFactory接口(spring) 6P:H`
;3k6_ub
struts.objectFactory.spring.autoWire G9uWn%5r
Whether Spring should autoWire or not KqT~MPl
是否自动绑定Spring n\D3EP<s
D:Y`{ {
struts.objectFactory.spring.useClassCache l5d>
YTK+5
Whether Spring should use its class cache or not ,wlSNb@'
是否spring应该使用自身的cache TAn.5
wH9t
w=H4#a?fc
struts.objectTypeDeterminer SsF
5+=A
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $/uNV1]o
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t?j2Rw3f`I
hhvP*a_J
struts.serve.static.browserCache -!p-nk@9|
If static content served by the Struts filter should set browser caching header properties or not ,9;d"ce
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -?Aa RwZ,
*cn#W]AE
struts.serve.static v^_<K4N`
Whether the Struts filter should serve static content or not 5 cE!'3Y
是否struts过滤器应该提供静态内容 )iG+pP@.@
b1{XGK'
struts.tag.altSyntax fMFlY%@t
Whether to use the alterative syntax for the tags or not yYvv;E
是否可以用替代的语法替代tags sP NAG
>
AV
R3b
struts.ui.templateDir jn;b{*Lf
The directory containing UI templates Y)L\*+
>"[
UI templates的目录夹 5bzYTK&-
WsCzC_'j.
struts.ui.theme ^2PQ75V@.
The default UI template theme lC|{{?m
默认的UI template主题 +/Lf4??JV
fKY1=3
struts.url.http.port ~-w
The HTTP port used by Struts URLs <#9zc'ED:
设置http端口 /@bLc1"
~Zd n#z\
struts.url.https.port r,4V SyZF\
The HTTPS port used by Struts URLs C4P7,
设置https端口 (d C<N3
jdY v*/^
struts.url.includeParams f-tV8
The default includeParams method to generate Struts URLs 6)eU &5z1?
在url中产生 默认的includeParams =w.#j-jR
g loo].z
h;KI2k_^
struts.velocity.configfile {&c%VVZb:Z
The Velocity configuration file path ~;;_POm
velocity配置文件路径 O:a$ U:
wzMWuA4vX
struts.velocity.contexts xIo7f
List of Velocity context names VrokEK*qbY
velocity的context列表 }m<)$.x|P
dMwVgc:
[vaG{4m
struts.velocity.manager.classname ^IGTGY]s
org.apache.struts2.views.velocity.VelocityManager implementation class >P=xzg79
org.apache.struts2.views.velocity.VelocityManager接口名 TJB0O]@3
'Sc3~lm(dH
struts.velocity.toolboxlocation GSW{h[Op
The location of the Velocity toolbox '}5}wCLA
velocity工具盒的位置 ~^"cq
S(
struts.xslt.nocache w
I@
lO\
Whether or not XSLT templates should not be cached [21tT/
是否XSLT模版应该被缓存 ~::gLm+f