struts2的struts.properties配置文件详解 XRn+6fn|
G 'CYvV
struts.action.extension }S9uh-j6l
The URL extension to use to determine if the request is meant for a Struts action h=_h,?_
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _2eL3xXha.
*B+YG^Yu^
struts.configuration X'5+)dj
The org.apache.struts2.config.Configuration implementation class wtQ (R4
org.apache.struts2.config.Configuration接口名 yjucR
Fl
9-?kamA
struts.configuration.files y9Q"3LLic`
A list of configuration files automatically loaded by Struts 9|hPl-.
.W
struts自动加载的一个配置文件列表 F:-6Htmj
;W!hl<``d*
struts.configuration.xml.reload !Op18hP$
Whether to reload the XML configuration or not gC/-7/}
是否加载xml配置(true,false) fG /wU$B
eS"sd^;R
struts.continuations.package _1?Fyu&<5
The package containing actions that use Rife continuations nHB`<B
含有actions的完整连续的package名称 yXA]E.K!
Xqas[:)7+
struts.custom.i18n.resources LiD-su
D
Location of additional localization properties files to load (ZEDDV2
加载附加的国际化属性文件(不包含.properties后缀) D"n
3If%
dUpOg{I.x
struts.custom.properties B'D4]EB
Location of additional configuration properties files to load \8SHX
加载附加的配置文件的位置 4?e7s.9N
d?(eL(W
H @8 ;6D
struts.devMode o#F0 3
Whether Struts is in development mode or not /J'dG%
是否为struts开发模式 A\<WnG>xjP
*!+?%e{;b
struts.dispatcher.parametersWorkaround 0 }aw9g
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _:l<4u!
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f%Bm x{Ttq
;?:X_C
struts.enable.DynamicMethodInvocation \6v*c;ZF
Allows one to disable dynamic method invocation from the URL E- rXYNfy
允许动态方法调用 (`Q_^Bfyl
zgHF-KEV
struts.freemarker.manager.classname zf^F.wW
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x^]1m%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7ip(-0
?28aEX_w
struts.i18n.encoding 4S#q06=Xe
The encoding to use for localization messages !Pb39[f
国际化信息内码 'D;'Pr]
dKTUW<C
struts.i18n.reload p uLQ_MNV
Whether the localization messages should automatically be reloaded as| MB
(
是否国际化信息自动加载 eEkbD"Q
RJZ4fl
struts.locale %O3 r>o=
The default locale for the Struts application D*#r
V
P
默认的国际化地区信息 '5"`H>[
%j?<v@y
struts.mapper.class a=3{UEi'o
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +']S
org.apache.struts2.dispatcher.mapper.ActionMapper接口 !U!}*clYL
zos#B30
struts.multipart.maxSize @VcSK`
The maximize size of a multipart request (file upload) T5di#%: s
multipart请求信息的最大尺寸(文件上传用) 2*1s(Jro
~2*8pb 4
struts.multipart.parser L1E\^)
The org.apache.struts2.dispatcher.multipart. s"\o6r
,
MultiPartRequest parser implementation for a multipart request (file upload) S}cm.,/w
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o\YF_235
nANoy6z:
gRdg3qvU
struts.multipart.saveDir 5zH?1Z~*
The directory to use for storing uploaded files O~AOZ^a:2
设置存储上传文件的目录夹 hkL[hD
B]YY[i
struts.objectFactory $?u ^hMU=
The com.opensymphony.xwork2.ObjectFactory implementation class i
bwnK?ZA
com.opensymphony.xwork2.ObjectFactory接口(spring) Ka\%kB>*`
SggS8$a`
struts.objectFactory.spring.autoWire fX2PteA0qX
Whether Spring should autoWire or not S?_ ;$Cn
是否自动绑定Spring 3QrYH
@7zx
X pd^^
struts.objectFactory.spring.useClassCache ii@O&g
Whether Spring should use its class cache or not DOm5 azO!>
是否spring应该使用自身的cache B[0XzV]Z
%%w]-`^h,
struts.objectTypeDeterminer 3q.O^`y FU
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L_YVe(dT
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >2l;KVm%
T+[N-"N
struts.serve.static.browserCache j@b4)t
If static content served by the Struts filter should set browser caching header properties or not *:}NS8hP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZrFC#wJb
8?r
,ylUj
struts.serve.static x1kb]0s<-
Whether the Struts filter should serve static content or not DN@T4!
是否struts过滤器应该提供静态内容 $Y4;Xe=
)5j%."
struts.tag.altSyntax mSzBNvci
Whether to use the alterative syntax for the tags or not f9g#pyH4
是否可以用替代的语法替代tags $Q|t^(
QpPJ99B|
struts.ui.templateDir p|M 8ww
The directory containing UI templates dSb|hA}@
UI templates的目录夹 [$Ld>`3
}I'g@Pw9[
struts.ui.theme (SLAq$gvd
The default UI template theme ~o+HAc`=v
默认的UI template主题 lc=C
DT@6Q.
struts.url.http.port \@4_l?M
The HTTP port used by Struts URLs 5"5D(
设置http端口 ( {H5k''
Rt<8&.m4
struts.url.https.port t "J"G@1)
The HTTPS port used by Struts URLs zZ|Si
设置https端口 1;[\xqJ
o~F @1
struts.url.includeParams q@p-)+D;
The default includeParams method to generate Struts URLs !\H!9FR
在url中产生 默认的includeParams _e=R[
cRX0i;zag
oO|zRK1;/
struts.velocity.configfile lV-7bZ
The Velocity configuration file path )dJaF#6j
velocity配置文件路径 RvYH(!pQ
~: f9,
struts.velocity.contexts 9psX"*s
List of Velocity context names ` =!&9o
velocity的context列表 z$E+xZ
pI
|;
'@ M
struts.velocity.manager.classname >yn%.Uoh@
org.apache.struts2.views.velocity.VelocityManager implementation class |Q^ZI
org.apache.struts2.views.velocity.VelocityManager接口名 OZ1+` 4 v
RV|: mI
struts.velocity.toolboxlocation s!09Pxc
The location of the Velocity toolbox pAYH"Q6~)I
velocity工具盒的位置 0sRby!
struts.xslt.nocache oQ 5g0(J~
Whether or not XSLT templates should not be cached iZQwo3"8r
是否XSLT模版应该被缓存 ](vshgp2