struts2的struts.properties配置文件详解 nSsVONHfa
Ol9U^
struts.action.extension [ar:zlV8
The URL extension to use to determine if the request is meant for a Struts action 8_>\A=
E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =b32E^z,
{d}-SoxH
struts.configuration :tdx:
The org.apache.struts2.config.Configuration implementation class 52m^jT Sx
org.apache.struts2.config.Configuration接口名 v Q+}rHf`[
yNc>s/
struts.configuration.files OnH>g"
A list of configuration files automatically loaded by Struts Y:^ =jV7
struts自动加载的一个配置文件列表 Jl Q%+$
dVVeH\o
struts.configuration.xml.reload %2BFbaE
Whether to reload the XML configuration or not IG`~^-}7lR
是否加载xml配置(true,false) pW:h\}%`n
r {)d?Ho=
struts.continuations.package |C'w] QYm
The package containing actions that use Rife continuations qt/syF&s
含有actions的完整连续的package名称 )oTEB#J
|{PQ0DS
struts.custom.i18n.resources tt[P{mMQ
Location of additional localization properties files to load ?*}76u
加载附加的国际化属性文件(不包含.properties后缀) 2-llT
Ou2H~3^PL
struts.custom.properties $DA0lY\
Location of additional configuration properties files to load ;07!^#:L=Q
加载附加的配置文件的位置 v7Knu]
$@x3<}X;
KblOP{I
struts.devMode 68FxM#xR
Whether Struts is in development mode or not Z<jRZH*L
是否为struts开发模式 ;zs*Zd7h M
Ez?vJDd
struts.dispatcher.parametersWorkaround PC\Xm,,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XYod>[.x
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `Kym{og
YtW#MG$f
struts.enable.DynamicMethodInvocation ~(aq3ngo.
Allows one to disable dynamic method invocation from the URL OOl{
允许动态方法调用 F1M@$S,
E>4#j
PK
struts.freemarker.manager.classname G]P4[#5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (ZShh y8g
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7S]
h:q%%
rO]C`bg
struts.i18n.encoding YD.3FTNGC
The encoding to use for localization messages ujz
%0Mq;
国际化信息内码 4c2P%X(
C
~|DF-t
V
struts.i18n.reload #cdLg-v
Whether the localization messages should automatically be reloaded Td;e\s/]
是否国际化信息自动加载 7IK<9i4O
yqejd_cd
struts.locale `yQHPN0/
The default locale for the Struts application > 7;JZuVo
默认的国际化地区信息 /@3+zpaw X
&51/Pm2O
struts.mapper.class /2FX"I[0V%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /;OJ=x3i
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]VwAHT&je
\W=
struts.multipart.maxSize IC}zgvcW
The maximize size of a multipart request (file upload) xR_]^Get
multipart请求信息的最大尺寸(文件上传用) 3M%EK2 ,
,1~Zqprn
struts.multipart.parser WZm^:,
The org.apache.struts2.dispatcher.multipart. T&R`s+7
MultiPartRequest parser implementation for a multipart request (file upload) 8OBvC\%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Bs# #3{ylu
6,@M0CX
@%#(Hse
struts.multipart.saveDir !?l 23(d
The directory to use for storing uploaded files cU{LyZp
设置存储上传文件的目录夹 nn=JM7e\9
+uT=Wb \
struts.objectFactory Gi<f/xQk>
The com.opensymphony.xwork2.ObjectFactory implementation class *kKGsy
com.opensymphony.xwork2.ObjectFactory接口(spring) spl*[ d
qh2.N}lW
struts.objectFactory.spring.autoWire il#rdJ1@t
Whether Spring should autoWire or not [")0{LSA=
是否自动绑定Spring ?-i|f_`
R(zsn;
struts.objectFactory.spring.useClassCache I7uYsjh@u
Whether Spring should use its class cache or not BKDWd]KEf
是否spring应该使用自身的cache 8p5'}Lq
x _2]G'
struts.objectTypeDeterminer Etl7V
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Fe= 4^.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3R{-\ZMd
1B1d>V$*
struts.serve.static.browserCache "q(&<+D@
If static content served by the Struts filter should set browser caching header properties or not JHQ8o5bEQp
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 iF%q6R
zu^ AkMc
struts.serve.static K[ \z'9Q
Whether the Struts filter should serve static content or not CD[7h
是否struts过滤器应该提供静态内容 t
=*K?'ly
P\M+ZA ;
struts.tag.altSyntax NNfCJ|
Whether to use the alterative syntax for the tags or not N!m%~},s//
是否可以用替代的语法替代tags \;?\@vo<
Olno9_'
struts.ui.templateDir o?b%L
The directory containing UI templates Qb|dp~K.M
UI templates的目录夹 !e7vc[N
TtvS|09p;
struts.ui.theme 9:Y:Vx
The default UI template theme 1z`,*eD7
默认的UI template主题 o}%fs
*
^s?wnEo;j
struts.url.http.port JxvwquI
The HTTP port used by Struts URLs uVk8KMYU
设置http端口 n;=A'g|Q
srSTQ\l4
struts.url.https.port B@=Yj_s
The HTTPS port used by Struts URLs 9F-k:hD |
设置https端口 u qyf3bK
~"wD4Ue
struts.url.includeParams Q?tV:jogY
The default includeParams method to generate Struts URLs p']AXJ`Z
在url中产生 默认的includeParams FjydEV
kzmt'/ L8
XMdc n,
struts.velocity.configfile vr vzV
The Velocity configuration file path Stc\P]%d
velocity配置文件路径 m3WV<Cbz
P$QjDu-
struts.velocity.contexts ~3%3{aa
List of Velocity context names t,+S~Cj|
velocity的context列表 R#`itIYh
|")x1'M
6+FON$8
struts.velocity.manager.classname k|_2aQ02
org.apache.struts2.views.velocity.VelocityManager implementation class Om^/tp\
org.apache.struts2.views.velocity.VelocityManager接口名 K$
&wO.
toWmm(7v
struts.velocity.toolboxlocation s6D-?G*u%8
The location of the Velocity toolbox m7"f6zSo(
velocity工具盒的位置 5;{Bdvcv
struts.xslt.nocache y(dS1.5F
Whether or not XSLT templates should not be cached ;1dz?'%V
是否XSLT模版应该被缓存 % n{W