struts2的struts.properties配置文件详解 @=?#nB&
:Vrj[i-{
struts.action.extension ynn>d
The URL extension to use to determine if the request is meant for a Struts action POQ4&ChA
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~PX#' Jr
K7ZRj\(CJv
struts.configuration v807)JwS
The org.apache.struts2.config.Configuration implementation class dF^`6-K1
org.apache.struts2.config.Configuration接口名 g{Hb3id9
acI%fYw5p`
struts.configuration.files CtHsi8m
A list of configuration files automatically loaded by Struts 2U3WH.o
struts自动加载的一个配置文件列表 D.YT u$T
-yMD9b
struts.configuration.xml.reload t?FPmbjv
Whether to reload the XML configuration or not 0BN=>]V~j7
是否加载xml配置(true,false) Bam 4%G5
k^%F4d3z@C
struts.continuations.package eK/rsr
The package containing actions that use Rife continuations 'kekJ.wJ;
含有actions的完整连续的package名称 8*sP
Sr-!-eC
struts.custom.i18n.resources h@{CMe
Location of additional localization properties files to load [ak[ZXC,
加载附加的国际化属性文件(不包含.properties后缀) m, SWG[~
(wp?tMN5#
struts.custom.properties bKQ-PM&I/t
Location of additional configuration properties files to load mW#p&{
加载附加的配置文件的位置 `<?((l%;R
F D.L{
Lmc"qFzK
struts.devMode lmx'w
Whether Struts is in development mode or not O*1la/~m
是否为struts开发模式 u:>*~$f
t7/a5x
struts.dispatcher.parametersWorkaround ~t^'4"K*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y<)q;fI7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4K! @9+Mz
cC$E"m
struts.enable.DynamicMethodInvocation `3vt.b
Allows one to disable dynamic method invocation from the URL R-5e9vyS
允许动态方法调用 /&RS+By(i
XtIY8wsP
struts.freemarker.manager.classname ^oZD44$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (oB9$Zz!t
org.apache.struts2.views.freemarker.FreemarkerManager接口名 $B@K
#.<(/D+
struts.i18n.encoding AeEF/*
The encoding to use for localization messages Es+BV+x[.c
国际化信息内码 M!iYj+nrP
(ChL$!x
struts.i18n.reload r%II`
i
Whether the localization messages should automatically be reloaded CQ#%v%
是否国际化信息自动加载 Q46sPMH+_
M9wj
};vy
struts.locale
MU~nvs;:
The default locale for the Struts application FhMl+Ou
默认的国际化地区信息 I@YX-@&7
PxgLt2dXa
struts.mapper.class 0^3@>>^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~'/_q4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5OX5\#Ux
lHSuT2)x;
struts.multipart.maxSize fg8U*7
The maximize size of a multipart request (file upload) si|b>R&Z
multipart请求信息的最大尺寸(文件上传用) g/ x\#W
S)*!jI
struts.multipart.parser |I=\+P}s
The org.apache.struts2.dispatcher.multipart. &;oWmmvz{
MultiPartRequest parser implementation for a multipart request (file upload) 4vf,RjB-5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <{Ir',;
}aa ~@K<A
n*i1QC
struts.multipart.saveDir ' Y.s}Duj
The directory to use for storing uploaded files QP4`r#,
设置存储上传文件的目录夹 IF.6sJg:
F anA~
struts.objectFactory <@:LONe<
The com.opensymphony.xwork2.ObjectFactory implementation class BW%"]J
com.opensymphony.xwork2.ObjectFactory接口(spring) m_r_4BP
#:M)a?E/%
struts.objectFactory.spring.autoWire 1|%C66f^
Whether Spring should autoWire or not &B>YiA
是否自动绑定Spring UP |#WegO
HtGGcO'bqg
struts.objectFactory.spring.useClassCache yX;v
Whether Spring should use its class cache or not s~Od(,K
是否spring应该使用自身的cache 7I<] ;j
F#$[jh$
struts.objectTypeDeterminer r2
o-/$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N;d@)h(N!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s1NRUV2E
:1\QM'O
struts.serve.static.browserCache =H2.1 :'
If static content served by the Struts filter should set browser caching header properties or not E cW$'>^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cakb.Q
C~a-R#
struts.serve.static \%N |
X
Whether the Struts filter should serve static content or not rWMG_eP:
是否struts过滤器应该提供静态内容 PEX(*GS
c`h/x>fa
struts.tag.altSyntax o%\pI%
Whether to use the alterative syntax for the tags or not (3+:/,{'$
是否可以用替代的语法替代tags @}@J$ g
I!sB$=n
struts.ui.templateDir -g]g
The directory containing UI templates &GH,is
UI templates的目录夹 #v`J]I)$
~#jD/
struts.ui.theme =e$6o 2!'}
The default UI template theme eb>YvC
默认的UI template主题 e(m#elX
= A;B-_c
struts.url.http.port zg83->[
The HTTP port used by Struts URLs pg'3j3JW$
设置http端口 yp:_W@
l4s_9
struts.url.https.port tJ,x>s?Y
The HTTPS port used by Struts URLs K@zzseQ}=
设置https端口 pC'GKk 8
QcDWVM'v
struts.url.includeParams T5+iX`#M
The default includeParams method to generate Struts URLs S<V__Sv
在url中产生 默认的includeParams P ME
?{%&
0cm+:
^#VyI F3q
struts.velocity.configfile ^?)o,djY&
The Velocity configuration file path }$ZcC_
velocity配置文件路径 r&t)%R@q
>-{)wk;1&
struts.velocity.contexts Z:PsQ~M
List of Velocity context names )m Uc
!TP
velocity的context列表 dT9!gNvQ
RjS&^uaP
n(#159pZ
struts.velocity.manager.classname 4^0L2BVcv
org.apache.struts2.views.velocity.VelocityManager implementation class N{<=s]I%x
org.apache.struts2.views.velocity.VelocityManager接口名 s]=s|
d8? }69:h
struts.velocity.toolboxlocation 1&@s2ee4
The location of the Velocity toolbox 6KD
velocity工具盒的位置 `2@t) :
struts.xslt.nocache o(I[_oUy\
Whether or not XSLT templates should not be cached P]@m0f
是否XSLT模版应该被缓存 [fU2$(mT+