struts2的struts.properties配置文件详解
ylS6D
BSJS4+,E
struts.action.extension Dfc%
jWbA
The URL extension to use to determine if the request is meant for a Struts action 2+C:Em0yI
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;4GGXT++L
f4F%\ "
struts.configuration 19pFNg'kA
The org.apache.struts2.config.Configuration implementation class .5s^a.e'O
org.apache.struts2.config.Configuration接口名 D`'Cnt/
qK2jJ3)>
struts.configuration.files Hi/[
A list of configuration files automatically loaded by Struts G]EI!-y
struts自动加载的一个配置文件列表 0S'@(p[A
~Cg7
struts.configuration.xml.reload L$+_
Whether to reload the XML configuration or not ;O{bF8U
是否加载xml配置(true,false) h+Yd
\k
:xbj&
l
struts.continuations.package =YfzB!ld
The package containing actions that use Rife continuations j(K)CHH
含有actions的完整连续的package名称 (\r^0>H
/0fHkj/J=B
struts.custom.i18n.resources L%<]gJtrO
Location of additional localization properties files to load ZJF+./vN
加载附加的国际化属性文件(不包含.properties后缀) HvKdV`bz
~{-Ka>A
struts.custom.properties ])%UZM6
Location of additional configuration properties files to load h| `R[
加载附加的配置文件的位置 0E,QOF{o
=PNkzFUo
l?V#;
struts.devMode A"s?;hv\fS
Whether Struts is in development mode or not j {2 0
是否为struts开发模式 B.;@i;7L
3^-R_
struts.dispatcher.parametersWorkaround ~gOZ\jm}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HY?#r]Ryt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ocMTTVo
v0=v1G*rvJ
struts.enable.DynamicMethodInvocation c#1kg@q@
Allows one to disable dynamic method invocation from the URL (!J;g|58
允许动态方法调用 ^8]7
:F#^Q%-IS
struts.freemarker.manager.classname 7#oq|5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7/k7V)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?z6K/'?
|cp_V
struts.i18n.encoding a#[gNT~[
The encoding to use for localization messages BafNFPc
国际化信息内码 }|N88PN
"!7Hu7
struts.i18n.reload V"2 G
Whether the localization messages should automatically be reloaded +RR6gAma}<
是否国际化信息自动加载 :RJo#ape
72J=_d>+
struts.locale Qy}pn=#Q
The default locale for the Struts application Bt5 P][<
默认的国际化地区信息 WPlf8* -fQ
/vi Ic
%=
struts.mapper.class ~Cw7.NA{3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Kng=v~)N'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 < 3*q) VT
S')DAx
struts.multipart.maxSize hA1B C3
The maximize size of a multipart request (file upload) Z]bG"K3l
multipart请求信息的最大尺寸(文件上传用) {<gX~./]c
e{Vn{.i,5
struts.multipart.parser ,F`1VpTd8
The org.apache.struts2.dispatcher.multipart.
Soe2Gq
MultiPartRequest parser implementation for a multipart request (file upload) f7!48,(fB
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &V SZ
Kb;Pd!Q
wgolgof
struts.multipart.saveDir r&+C%
The directory to use for storing uploaded files 9(}d7y
设置存储上传文件的目录夹 M8 \/[R\
v@8SMOe%
struts.objectFactory 8'bZR]
The com.opensymphony.xwork2.ObjectFactory implementation class 9IrCu?n9b
com.opensymphony.xwork2.ObjectFactory接口(spring) Mqk|H~l5c
M"{*))O\-c
struts.objectFactory.spring.autoWire tq@)J_7|
Whether Spring should autoWire or not e Y^zs0
是否自动绑定Spring -%P}LaC<
<exyd6iI
struts.objectFactory.spring.useClassCache >SziRm>Y7
Whether Spring should use its class cache or not 9=/4}!.
是否spring应该使用自身的cache \ Ucv<S
cXf/
struts.objectTypeDeterminer c&wiTvRV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Nge@8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C?]eFKS."
#.fJ
M:"tG
struts.serve.static.browserCache _s5FYb#
If static content served by the Struts filter should set browser caching header properties or not D)l\zs%ie
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vlZmmQeJm
R+e)TR7+
struts.serve.static Dd/]?4
Whether the Struts filter should serve static content or not 9n_RkW5g
是否struts过滤器应该提供静态内容 =A{'57yP
*)I^+zN
struts.tag.altSyntax >+.GBf<E
Whether to use the alterative syntax for the tags or not iS<1C`%>
是否可以用替代的语法替代tags UWS 91GN@
m-;8O /
struts.ui.templateDir }Y!s:w#
The directory containing UI templates ?MmQ'1N
UI templates的目录夹 )p> p3b g
u>agVB4\F
struts.ui.theme w'$>E4\
The default UI template theme +ug/%Iay{k
默认的UI template主题 Ygkf}n
_y>drvg
struts.url.http.port $F X$nY
The HTTP port used by Struts URLs gGBRfq>
设置http端口 aK|
5!$sQ@#}D
struts.url.https.port hu"-dT;4]
The HTTPS port used by Struts URLs -b8SaLak
设置https端口 VYh/URU>
$3&XM
struts.url.includeParams s"w^E\>6
The default includeParams method to generate Struts URLs GE=S.P;
在url中产生 默认的includeParams u8|CeA
I?%q`GyP5
}aXS MxCd
struts.velocity.configfile ,WnZ^R/n
The Velocity configuration file path '/9MN;_
velocity配置文件路径 wxj}k7_(`A
;pOV; q3j
struts.velocity.contexts pr4y*!|Y$
List of Velocity context names 0raFb,6l
velocity的context列表 4!xRA ''
G973n
*14:^neoI
struts.velocity.manager.classname -O=xgvh"
org.apache.struts2.views.velocity.VelocityManager implementation class UGgo;e
org.apache.struts2.views.velocity.VelocityManager接口名 Z,O-P9jC
fz|_c*&64
struts.velocity.toolboxlocation fGs\R]
The location of the Velocity toolbox sMUpkU-
velocity工具盒的位置 +_S0
struts.xslt.nocache c~OPH
0,
Whether or not XSLT templates should not be cached /k RCCs8t}
是否XSLT模版应该被缓存 n6Uf>5