struts2的struts.properties配置文件详解 /-{C,+cB
K@RE-K6{
struts.action.extension %oee x1`=
The URL extension to use to determine if the request is meant for a Struts action yF [|dB
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @k|V4
aa-{,X"MF
struts.configuration ryC7O'j_P
The org.apache.struts2.config.Configuration implementation class b6]MJ0do
org.apache.struts2.config.Configuration接口名 3dl#:Si
cs-wqxTX[$
struts.configuration.files ?W27
h
A list of configuration files automatically loaded by Struts /s/\5-U7q
struts自动加载的一个配置文件列表 |H .
kWSei3
struts.configuration.xml.reload o0Z~9iF&
Whether to reload the XML configuration or not ep ,"@,,
是否加载xml配置(true,false) C>MEgGP
>.xgo6
struts.continuations.package $;J:kd;<
The package containing actions that use Rife continuations '5f6
M^}|2
含有actions的完整连续的package名称 7o99@K,
N=vb*3ECg
struts.custom.i18n.resources _nn\O3TB
Location of additional localization properties files to load U8>M`e"D
加载附加的国际化属性文件(不包含.properties后缀) 'joc8o sS
s7 789pR
struts.custom.properties *XCgl*% *
Location of additional configuration properties files to load h1_9Xp~N
加载附加的配置文件的位置 8kRqF?rbj
|/YwMBi
"p"M9P'
struts.devMode e`7dRnx&0
Whether Struts is in development mode or not *WQl#JAr
是否为struts开发模式 K/;*.u`:
J#/L}h;qH
struts.dispatcher.parametersWorkaround ##\
<mFE
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Xc}~_.]
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FD1Z}v!5IJ
=O.%)|
struts.enable.DynamicMethodInvocation H\PY\O&cP
Allows one to disable dynamic method invocation from the URL m4m,-}KNi
允许动态方法调用 J
,s9,("
iVUkM3
struts.freemarker.manager.classname &{R]v/{p]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SK]"JSY`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 f|r+qe
4nz$Ja)
struts.i18n.encoding {F'~1qf
The encoding to use for localization messages 1y{@fg~..
国际化信息内码 y@'~fI!E4
ir?Y>
struts.i18n.reload =qNZ7>Qw
Whether the localization messages should automatically be reloaded bCSgdK
是否国际化信息自动加载 &F 3'tf?
+lNAog
struts.locale 4iPxtVT
The default locale for the Struts application X }""=
S<
默认的国际化地区信息 w vnuE<o8
CKuf'h#
struts.mapper.class 37U2Tb!y'
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qt.Y6s:r_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gP^p7aYwn
D8O&`!mf
struts.multipart.maxSize |bM?Q$>~
The maximize size of a multipart request (file upload) Cvgk67C=$
multipart请求信息的最大尺寸(文件上传用) .B? J@,
~USU\dni
struts.multipart.parser 9^zA(
The org.apache.struts2.dispatcher.multipart. oScKL#Hu
MultiPartRequest parser implementation for a multipart request (file upload) r.vezsH
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *ak"}s
@&F\ M}
T!ik"YZ@i
struts.multipart.saveDir 'VQ
mK#
The directory to use for storing uploaded files 0{k*SCN#
设置存储上传文件的目录夹 qJZ:\u8oO
bkSI1m3
struts.objectFactory LvcGh
The com.opensymphony.xwork2.ObjectFactory implementation class Mv 1V
Vk
com.opensymphony.xwork2.ObjectFactory接口(spring) ln*_mM/Q%
BIn7<.&
struts.objectFactory.spring.autoWire ;XDGlv%
Whether Spring should autoWire or not R]xXG0
是否自动绑定Spring *B0
7-
L>X39R~
struts.objectFactory.spring.useClassCache VUbg{Rb)
Whether Spring should use its class cache or not
An2Wj
是否spring应该使用自身的cache 6?uo6 I
Z&MfE0F/B
struts.objectTypeDeterminer <],~V\m
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {{+woL'C
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;p] f5R^
>VE!3' /'
struts.serve.static.browserCache J12hjzk6@
If static content served by the Struts filter should set browser caching header properties or not UPr8Q^wm
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g>&b&X&Y_
QP={b+8
struts.serve.static 7jtDhsVz
Whether the Struts filter should serve static content or not /)LI1\o
是否struts过滤器应该提供静态内容 r)/nx@x
IuOY.c2.u
struts.tag.altSyntax qs
0'}>
Whether to use the alterative syntax for the tags or not m{VC1BkZ
是否可以用替代的语法替代tags 9i`sSi8
iL\eMa
struts.ui.templateDir <`Q*I
Y
The directory containing UI templates n^+rxG6L
UI templates的目录夹 j{ :>"6
_N2tf/C&=
struts.ui.theme /2jw]ekQ'
The default UI template theme Y?b4* me
默认的UI template主题 0<4Swj3s7
m!H7;S-(
struts.url.http.port #>[5NQ;$'
The HTTP port used by Struts URLs p(`?y:.3
设置http端口 2[e^mm&.
YjTA+1}
struts.url.https.port n+94./Mh
The HTTPS port used by Struts URLs MET"s.v
设置https端口 G&f~A;'7k
go[(N6hN
struts.url.includeParams r_?i l]l
The default includeParams method to generate Struts URLs f83Tl~
在url中产生 默认的includeParams 0X:
:<N@
Vt;!FZ
N8K @ch3=P
struts.velocity.configfile 50VH>b_
The Velocity configuration file path *E1 v
velocity配置文件路径 J[7|Ul1
<
{I"`(
struts.velocity.contexts 9 ! 6\8
List of Velocity context names mO~A}/je
velocity的context列表 6d%'>^`(o-
"<LVA2v;
|8<P%:*N
struts.velocity.manager.classname Ej7>ywlW
org.apache.struts2.views.velocity.VelocityManager implementation class tc4"huG
org.apache.struts2.views.velocity.VelocityManager接口名 TLC&@o
:
#5a'Z+
struts.velocity.toolboxlocation l;'#!hC)
The location of the Velocity toolbox Btu=MUS
velocity工具盒的位置 d%C:%d
struts.xslt.nocache dXvp-oi
Whether or not XSLT templates should not be cached kIlK"=
是否XSLT模版应该被缓存 ;+W9EbY2