struts2的struts.properties配置文件详解 7Ck;LF}>0
t*qA.xc6
struts.action.extension vhL&az
The URL extension to use to determine if the request is meant for a Struts action ^F" *;8$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G0Wd"AV+
zl:
u@!'
struts.configuration \B}W(^\wg;
The org.apache.struts2.config.Configuration implementation class c<DYk f
org.apache.struts2.config.Configuration接口名 Ra{B8)Q
k oHY
AF
struts.configuration.files @\"*Z&]8z0
A list of configuration files automatically loaded by Struts c hd${
j
struts自动加载的一个配置文件列表 _O!D*=I
>}4]51s
struts.configuration.xml.reload Q}=RG//0*
Whether to reload the XML configuration or not %M`|0g}!
是否加载xml配置(true,false) {?!hUi+
dX$])b_Uw
struts.continuations.package p +T&9
The package containing actions that use Rife continuations D~?kvyJ
含有actions的完整连续的package名称 %I.{umU
)K?GAj]Pq
struts.custom.i18n.resources ! 4oIx`
Location of additional localization properties files to load 5t<]|-i!
加载附加的国际化属性文件(不包含.properties后缀) #>- rKv.A
dt \O7Rjw8
struts.custom.properties <oXsn.'\
Location of additional configuration properties files to load =d5!O~}r>
加载附加的配置文件的位置 W^Rb~b^?
J.nVEqLZ
H]-W$V
struts.devMode /7lkbL
Whether Struts is in development mode or not iit`'}+U
是否为struts开发模式 =TP>Y"
[e}]K:
struts.dispatcher.parametersWorkaround 4O`h%`M
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mCE})S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Dq?2mXOqD
7q^/.:wlf
struts.enable.DynamicMethodInvocation Z~c7r n
Allows one to disable dynamic method invocation from the URL Bjo&
允许动态方法调用 0ay!tS
dN
=#V11j
struts.freemarker.manager.classname -$0S#/)Z
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (mD]}{>
org.apache.struts2.views.freemarker.FreemarkerManager接口名 SW; bE
xw-q)u
struts.i18n.encoding &*yve}su
The encoding to use for localization messages s Y6'y'a95
国际化信息内码 5rWRE-
=
]@xXVf/
struts.i18n.reload )/ZSb1!
Whether the localization messages should automatically be reloaded V")Q4h{
是否国际化信息自动加载 F0JFx$AoD
]OrFW4tiE
struts.locale IY19G U9
The default locale for the Struts application Kulg84<AwM
默认的国际化地区信息 ~>C >LH>8
*Qf}4a0
struts.mapper.class 7wqwDE
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7_3O]e[8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "J.jmR;
P
X0#X=$
struts.multipart.maxSize b5|p#&YK~
The maximize size of a multipart request (file upload) amSyGQ2
multipart请求信息的最大尺寸(文件上传用) O.E0LCABC
JdRs=#X
struts.multipart.parser >'jM8=o*Ax
The org.apache.struts2.dispatcher.multipart. /iN\)y#u1
MultiPartRequest parser implementation for a multipart request (file upload) *nc4X9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yTn@p(J
b910Z?B^L
C5M-MZaS
struts.multipart.saveDir H<xC%/8
The directory to use for storing uploaded files -,;Ep'
设置存储上传文件的目录夹 <^\r9Qxl
\nHlI=!P
struts.objectFactory :A'!u r=\
The com.opensymphony.xwork2.ObjectFactory implementation class <S}qcjG
com.opensymphony.xwork2.ObjectFactory接口(spring) kW~F*
?c2TT
Q
struts.objectFactory.spring.autoWire B1M/5cr.
Whether Spring should autoWire or not FSmi.7
是否自动绑定Spring Za6oYM_z
Hj\~sR$L-
struts.objectFactory.spring.useClassCache aOHCr>po,
Whether Spring should use its class cache or not ,$]q2aL
是否spring应该使用自身的cache N 93E;B
_tk5?9Ykn
struts.objectTypeDeterminer oB\Xl)A<
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nAg(lNOWN
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zoJ;5a.3B
UIl_&|
struts.serve.static.browserCache TUaK:*x*
If static content served by the Struts filter should set browser caching header properties or not [:QMnJ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .+Ej%|l%
-^b^ 6=#
struts.serve.static r+\z0_'
w6
Whether the Struts filter should serve static content or not %p9bl ,x
是否struts过滤器应该提供静态内容 gJ&!w8v.
, _$"6
struts.tag.altSyntax x/7G0K2\}
Whether to use the alterative syntax for the tags or not 3+-(;>>\
是否可以用替代的语法替代tags c-.>C)
wuzz%9;@B
struts.ui.templateDir XNUqZ-M:
The directory containing UI templates $dP)8_Z2
UI templates的目录夹 j;v%4G
[hL1PWKs
struts.ui.theme `X='g96C1
The default UI template theme tD]&et
默认的UI template主题 \V>%yl{8
2eU[*x
struts.url.http.port AD\<}/3U
The HTTP port used by Struts URLs L:M9|/
设置http端口 .A\ \v6@
tFaE cP
struts.url.https.port @?m8/t9.
The HTTPS port used by Struts URLs mr!I}I7x&x
设置https端口 \.c
)^QQ
Hg`{9v
struts.url.includeParams V]]qu:Mh8
The default includeParams method to generate Struts URLs |T_Pz&-
在url中产生 默认的includeParams b8.%? _?
YfwJBzD
0s|LK
struts.velocity.configfile Qs9 U&*L
The Velocity configuration file path rk/
c
velocity配置文件路径 EYxRw
dz|*n'd
struts.velocity.contexts pq3 A%|
List of Velocity context names wzPw;xuG
velocity的context列表 pRvs;klf
;8iL,^.A
~n^G<iXLp
struts.velocity.manager.classname io{H$ x(
org.apache.struts2.views.velocity.VelocityManager implementation class ;_/q>DR>,3
org.apache.struts2.views.velocity.VelocityManager接口名 8 %j{4$
{z /^X<T
struts.velocity.toolboxlocation 9.zQ<