struts2的struts.properties配置文件详解 i*mZi4URN
>C*?17\
struts.action.extension ]
P:NnKgK
The URL extension to use to determine if the request is meant for a Struts action J3]qg.B%z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Td["l!-fe
+ 1E?He:iQ
struts.configuration $gj+v+%N
The org.apache.struts2.config.Configuration implementation class EqNz L*E
org.apache.struts2.config.Configuration接口名 ]Ct`4pA
yv6Zo0s<J
struts.configuration.files mq|A8>g
A list of configuration files automatically loaded by Struts BK`Q)[
struts自动加载的一个配置文件列表 0~PXa(!^K
_mIa8K;
struts.configuration.xml.reload Uxj<x`<1x
Whether to reload the XML configuration or not %J/fg<W1
是否加载xml配置(true,false) "z{_hp{T^
M~d+HE
struts.continuations.package a2(D!_dZR
The package containing actions that use Rife continuations knNhN=hG+
含有actions的完整连续的package名称 T:w2
L@g Q L
struts.custom.i18n.resources 35]j;8N:
Location of additional localization properties files to load 2XETQ; 9
加载附加的国际化属性文件(不包含.properties后缀) w /Bn2bD
$ uz1
struts.custom.properties +l[Z2mW
Location of additional configuration properties files to load i5L+8kx4
加载附加的配置文件的位置 _G-b L;
kz$6}&uk
Ti9:'I
struts.devMode ZTgAZ5_cz
Whether Struts is in development mode or not Allt]P>
是否为struts开发模式 MHpL$g=5_
%~~z9 6(
struts.dispatcher.parametersWorkaround *<|~=*Ddf
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^cKv JSY
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pAUfG^v
+[X.-,yW
struts.enable.DynamicMethodInvocation 2m)kyQ
Allows one to disable dynamic method invocation from the URL Y1yvI
允许动态方法调用 36x5 q 1
.dg 4gr\D
struts.freemarker.manager.classname k@cZ"jYA
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yP<:iCY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 QXIbFv
)DklOEO
struts.i18n.encoding X1
0"G~0
The encoding to use for localization messages )$lSG}WD
国际化信息内码 &dwI8@&
~q'w),bE"Q
struts.i18n.reload Sug~FV?k$e
Whether the localization messages should automatically be reloaded 8zWBXV
是否国际化信息自动加载 (:j+[3Ht
+_-)0[+p
struts.locale BW;=i.
The default locale for the Struts application f<s'prF
默认的国际化地区信息 iaaH9X
%
YP
.%CD(K
struts.mapper.class VAF:Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R.T?ZF
org.apache.struts2.dispatcher.mapper.ActionMapper接口 NXWIE4T>*^
)=,9`+Zta
struts.multipart.maxSize Qn'r+X5t
The maximize size of a multipart request (file upload) 3
4A&LBwC
multipart请求信息的最大尺寸(文件上传用) FgHB1x4;
ZhJ|ZvJ
struts.multipart.parser a?U%l 9F
The org.apache.struts2.dispatcher.multipart. V5hlG =V
MultiPartRequest parser implementation for a multipart request (file upload) >r4Y\"/j
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8Jib|#!
XCqfAcNQ
=xlYQ}-(a
struts.multipart.saveDir gR_b~^
The directory to use for storing uploaded files S8W_$=4
设置存储上传文件的目录夹 DoCQFSL
?O.6 r"
struts.objectFactory mn6p s6OB
The com.opensymphony.xwork2.ObjectFactory implementation class v @I^:I
com.opensymphony.xwork2.ObjectFactory接口(spring) ,G!_ SZ
,<
)/45
struts.objectFactory.spring.autoWire <=y58O]x
Whether Spring should autoWire or not 0-&sJ
是否自动绑定Spring
5Ky9P z
e G*s1uQl
struts.objectFactory.spring.useClassCache #(7RX}
Whether Spring should use its class cache or not ]Xkc0E1
是否spring应该使用自身的cache aP6%OI
G7kFo6Cb
struts.objectTypeDeterminer %;B(_ht<-w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -SC2Zgi)A
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1 [~|
x1hs19s
struts.serve.static.browserCache QF.wtMGF&
If static content served by the Struts filter should set browser caching header properties or not Z+"E*
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5x1jLPl'
3/SqXu
struts.serve.static wJ]$'c3
Whether the Struts filter should serve static content or not %.atWX`b
是否struts过滤器应该提供静态内容 )/N Xh'
xdTzG4
struts.tag.altSyntax Velbq
Whether to use the alterative syntax for the tags or not ,n,7.m.D
是否可以用替代的语法替代tags ;uWIl
m(7_ZiL=
struts.ui.templateDir ~V$5 m j
The directory containing UI templates dv4r\ R^
UI templates的目录夹 (m =u;L"o
ow>[#.ua
struts.ui.theme tB(X`A.|
The default UI template theme Zkb,v!l
默认的UI template主题 4S{l>/I
)V+Dqh,-g
struts.url.http.port :EldP,s#x%
The HTTP port used by Struts URLs GF.g'wYc)Y
设置http端口 ;xkf?|
cdU
>iB,
struts.url.https.port fY+ .#V
The HTTPS port used by Struts URLs I}Gl*@K&O
设置https端口 )*L?PT
cX=b q_
struts.url.includeParams 1
FIiX
The default includeParams method to generate Struts URLs {*]=qSz
在url中产生 默认的includeParams <812V8<!
T?}=k{C]
=L; n8~{@y
struts.velocity.configfile q&Ua(I
The Velocity configuration file path J`D<
velocity配置文件路径 V:"\(Y
va*>q-QCr
struts.velocity.contexts cF<DUr)Ve
List of Velocity context names 7QL) }b.H
velocity的context列表 >5@ 0lYhH
I8pxo7(-
E6&uZr
struts.velocity.manager.classname r Xk
org.apache.struts2.views.velocity.VelocityManager implementation class s].Cx4VQ
org.apache.struts2.views.velocity.VelocityManager接口名 93p9?4;n-
[.#$hOsNR
struts.velocity.toolboxlocation 'w$we6f
The location of the Velocity toolbox apWrcaj
velocity工具盒的位置 @Oc}\Rg
struts.xslt.nocache N|#x9mE
Whether or not XSLT templates should not be cached V9 t:JY
是否XSLT模版应该被缓存 ojs/yjvx