struts2的struts.properties配置文件详解 XQ=% a5w
I\TSVJk^Xi
struts.action.extension
)P7ep
The URL extension to use to determine if the request is meant for a Struts action (nO2+@!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )Lz
=[e
HWV A5E[`Y
struts.configuration J&j5@
The org.apache.struts2.config.Configuration implementation class 6hj[/O)E
org.apache.struts2.config.Configuration接口名 B:X%k/{
`xx.,;S
struts.configuration.files xxs
+=.2
A list of configuration files automatically loaded by Struts 4 xqzdR_
struts自动加载的一个配置文件列表 ftpPrtaP
VWzQXo
struts.configuration.xml.reload {XIpHr
Whether to reload the XML configuration or not &Y^4>y%
是否加载xml配置(true,false) 8KJ`+"<=@
?GH/W#{o)
struts.continuations.package 6fw7\u
The package containing actions that use Rife continuations E
G+/2o+W
含有actions的完整连续的package名称 \ n2MP
5/Qu5/
struts.custom.i18n.resources eyh}O
Location of additional localization properties files to load l 7uTk5
加载附加的国际化属性文件(不包含.properties后缀) JkN*hm?
C&Qt*V#,
struts.custom.properties ll0y@@Iy
Location of additional configuration properties files to load ^~N:lW#=
加载附加的配置文件的位置 lv?`+tU2_
[R1|=kGU
c$,1j%[)
struts.devMode ?,x\46]>_K
Whether Struts is in development mode or not Yr"Of*VNH
是否为struts开发模式 Q3%]
OIj.K@Kr
struts.dispatcher.parametersWorkaround UF^[?M =
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y=|p}>.}
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7[P-;8)tq
J:"@S%gy%
struts.enable.DynamicMethodInvocation /&|p7
Allows one to disable dynamic method invocation from the URL 7_PY%4T"
允许动态方法调用 k62s|VeU
aV7VbC
struts.freemarker.manager.classname @;Jv/N6@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class st* sv}
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u=Ik&^v
Wq
s<"|'~<n
struts.i18n.encoding h2x9LPLBxT
The encoding to use for localization messages PX/Y?DP
国际化信息内码 C_>XtcU
J*b Je"8
struts.i18n.reload c_ncx|dUs
Whether the localization messages should automatically be reloaded l'q%bi=f
是否国际化信息自动加载 9#7W+9
@Ol(:{<
struts.locale z/"*-+j
The default locale for the Struts application O>+=cg
默认的国际化地区信息 Pb;c:HeI/
0ZwXuq
struts.mapper.class OnE%D|Tq=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
+kd1q
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5PZ!ZO&
8#JX#<HEo
struts.multipart.maxSize sM MtU@<x
The maximize size of a multipart request (file upload) &*"*b\
multipart请求信息的最大尺寸(文件上传用) XQn1B3k+
^CLQs;zXE
struts.multipart.parser O<Q8%Az
The org.apache.struts2.dispatcher.multipart.
;AJQ2
MultiPartRequest parser implementation for a multipart request (file upload) XX/s@C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <-?C\c~G@
1xEOYM)
wHs1ge (
struts.multipart.saveDir ;6``t+]q
The directory to use for storing uploaded files 1|4,jm $
设置存储上传文件的目录夹 @kh<b<a4
xE@/8h
struts.objectFactory }NyQ<,+mq&
The com.opensymphony.xwork2.ObjectFactory implementation class TMMJ5\t2
com.opensymphony.xwork2.ObjectFactory接口(spring) 0D 2I)E72o
5z0VMt
struts.objectFactory.spring.autoWire `WXlq#:K
Whether Spring should autoWire or not nyi!D
是否自动绑定Spring F^bY]\-5
z
mip
struts.objectFactory.spring.useClassCache ?110} [jw
Whether Spring should use its class cache or not ciODTq?
是否spring应该使用自身的cache 2%fIe
e^\e;>Dh>
struts.objectTypeDeterminer WqF,\y%W*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \t=0rFV)t
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ="YGR:
Dj96t5R
struts.serve.static.browserCache nI]EfHU
If static content served by the Struts filter should set browser caching header properties or not an"~n`g
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T8A(W
wxvi)|)
struts.serve.static 9r]|P}yuS
Whether the Struts filter should serve static content or not =XR6rR8
是否struts过滤器应该提供静态内容 ]7Vg9&1`
A_9^S!
struts.tag.altSyntax P!|Z%H
Whether to use the alterative syntax for the tags or not J;obh.}u"{
是否可以用替代的语法替代tags u5A?; a
q5R|
^uf
struts.ui.templateDir IANSpWea?
The directory containing UI templates jj[6 oNKE1
UI templates的目录夹 q_.fVn:!
vO1; ;
struts.ui.theme RJ3oI+gI
The default UI template theme _F%`7j
默认的UI template主题 @M"gEeI9
0h@FHw2d
struts.url.http.port 7tcadXk0
The HTTP port used by Struts URLs k B>F(^
设置http端口 kh0cJE\_^
AVpg
struts.url.https.port Z71m(//*}
The HTTPS port used by Struts URLs (*$bTI/~
设置https端口 u)0I$Tc"
Gc|)4c
struts.url.includeParams 3{3@>8{w
The default includeParams method to generate Struts URLs S\TXx79PhC
在url中产生 默认的includeParams !CYC7HeF
3^y(@XFt
>lRZvf-i
struts.velocity.configfile 0ae8Xm3J@R
The Velocity configuration file path R
p&J!hlA
velocity配置文件路径 W91yj:
5^ Qa8yA>7
struts.velocity.contexts YqX$a~
List of Velocity context names Q6Gw!!Z5EA
velocity的context列表 sApix=Lr
G|g^yaq>
!?>V^#c
struts.velocity.manager.classname bT.q@oU
org.apache.struts2.views.velocity.VelocityManager implementation class +&
r!%j7
org.apache.struts2.views.velocity.VelocityManager接口名 _nbr%PD,
Z4VFfGCTL
struts.velocity.toolboxlocation 3%Y:+%VE
The location of the Velocity toolbox OH\^j1x9I
velocity工具盒的位置 P"vrYom
struts.xslt.nocache 4KH492Nq9
Whether or not XSLT templates should not be cached F[jE#M=k
是否XSLT模版应该被缓存 LCHMh6