struts2的struts.properties配置文件详解 E~c>j<'-"<
[0D.+("EW
struts.action.extension >}B53.;.k
The URL extension to use to determine if the request is meant for a Struts action tzY?LX[3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0a9[}g1=#
l{QlJ>%~{;
struts.configuration BCO (,k
The org.apache.struts2.config.Configuration implementation class h.\p+Qw.
org.apache.struts2.config.Configuration接口名 a4XK.[O
MoXai0d%
struts.configuration.files jX.'G
A list of configuration files automatically loaded by Struts YZAQt*x
struts自动加载的一个配置文件列表 liBFx6\"S
Wr@q+Whq
struts.configuration.xml.reload zSjZTA/Z
Whether to reload the XML configuration or not j$<g8Bg=o
是否加载xml配置(true,false) \E6 0
{]%7-4E
struts.continuations.package -Un"z6*
The package containing actions that use Rife continuations uqVarRi$
含有actions的完整连续的package名称 CDY3+!
"pO**z$Z
struts.custom.i18n.resources O;$}j:;KF
Location of additional localization properties files to load 1)5/a5
加载附加的国际化属性文件(不包含.properties后缀) ;Fd1:"1pP
/8 yv8
struts.custom.properties *TrpW?]Y&
Location of additional configuration properties files to load J3XG?'
}
加载附加的配置文件的位置 ve\@u@K^
(Vn3g ra
|tC= j.
struts.devMode QRx9;!~b}
Whether Struts is in development mode or not 3vkzN
是否为struts开发模式 \~r_S
8?rq{&$t
struts.dispatcher.parametersWorkaround |n;5D,r0C
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C)~%(< D
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OnyAM{$g
T+PERz(
struts.enable.DynamicMethodInvocation ~>Y^?l
Allows one to disable dynamic method invocation from the URL Q3'P<"u
允许动态方法调用 q;#bFPh
-v:3#9uX)
struts.freemarker.manager.classname ,kUg"\_k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3[@:I^q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 2Sk hBb=d
|"[;0)dw^
struts.i18n.encoding VtMnLFMw
The encoding to use for localization messages $
nMx#~>a
国际化信息内码 7q:;3;"9
>}/T&S
struts.i18n.reload ?BbEQr
Whether the localization messages should automatically be reloaded );?tGX
是否国际化信息自动加载 L3\(<[
I+`>e*:@W
struts.locale P
F);KQ
The default locale for the Struts application [ {HTGz@(
默认的国际化地区信息 ;Aheeq746
\mZB*k)+
struts.mapper.class lk`|u$KPz
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )` S5>[6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 L8oqlq(
9
q^uCZnkb=
struts.multipart.maxSize NZlCn:"
The maximize size of a multipart request (file upload) (,|eE)+
multipart请求信息的最大尺寸(文件上传用) Bc`L]<
a'?LC)^
struts.multipart.parser UR(i_T&w
The org.apache.struts2.dispatcher.multipart. t0za%q!fK<
MultiPartRequest parser implementation for a multipart request (file upload) <dAxB$16sT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n'?]_z<
#GfM^sK
4hYK$!"r
struts.multipart.saveDir o}D
}Q"=A
The directory to use for storing uploaded files 4;(W0RQa
设置存储上传文件的目录夹 CtUAbR
flz7{W
struts.objectFactory t3*.Bm:^
The com.opensymphony.xwork2.ObjectFactory implementation class sLzZ}u?(
com.opensymphony.xwork2.ObjectFactory接口(spring) $@w,9J\
=$ T[
struts.objectFactory.spring.autoWire jk Aru_C
Whether Spring should autoWire or not %s ;5
是否自动绑定Spring ] VEc9?
vP_mS 4X
struts.objectFactory.spring.useClassCache |+Z-'k~Q
Whether Spring should use its class cache or not YgtW(j[
是否spring应该使用自身的cache Q'Uv5p"X
1;!dTh
struts.objectTypeDeterminer Pa=xc>m^
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L>lxkq8!Q
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [h>A<O
K,+z^{Hvh
struts.serve.static.browserCache I|2dV9y
If static content served by the Struts filter should set browser caching header properties or not
Y=H_U$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .bRtK+}F#
Q=Q&\.<
struts.serve.static -Vs;4-B{9
Whether the Struts filter should serve static content or not =>&~p\Aw
是否struts过滤器应该提供静态内容 QyrB"_dm
*|cs_,3
struts.tag.altSyntax dp2FC
Whether to use the alterative syntax for the tags or not xCyD0^KY
是否可以用替代的语法替代tags MlLM
$Y-@
dz/3=0
struts.ui.templateDir Fh&USn"
The directory containing UI templates y'<5P~W!a
UI templates的目录夹 P,#l~ \
: H]MMe
struts.ui.theme LG{50sP`
The default UI template theme 2_Zn?#G8dl
默认的UI template主题 z~i>GN_
.4Mc4'
struts.url.http.port +(`.pa z@
The HTTP port used by Struts URLs %WqUZ+yy
设置http端口 vrh2}biCR
U.=TjCW
struts.url.https.port J<9})
m
The HTTPS port used by Struts URLs #%/Jr 52<
设置https端口 mi@uX@ #
dZddoz_
struts.url.includeParams dsK*YY jH
The default includeParams method to generate Struts URLs }h|HT
在url中产生 默认的includeParams .eCUvX`$
9niffq)h
tiRi_
struts.velocity.configfile %6&c3,?U\n
The Velocity configuration file path &KV$x3
velocity配置文件路径 B- |C%~fe
c0_512
struts.velocity.contexts H2+V1J=
List of Velocity context names -k%|sqDZj
velocity的context列表 _^$F^}{&
~|oB|>
MRHRa
struts.velocity.manager.classname n<eK\w
org.apache.struts2.views.velocity.VelocityManager implementation class ^e80S^
org.apache.struts2.views.velocity.VelocityManager接口名 j#l1KO^y
7c<_j55(
struts.velocity.toolboxlocation &Gm3
The location of the Velocity toolbox K]^Jl0
velocity工具盒的位置 XAB/S8 e
struts.xslt.nocache 7{V N27Fa_
Whether or not XSLT templates should not be cached _Om5wp=:
是否XSLT模版应该被缓存 R-2Abyts2