struts2的struts.properties配置文件详解 _J\zj
%K3U`6kHcd
struts.action.extension XQ[\K6X5
The URL extension to use to determine if the request is meant for a Struts action r1IvA^X
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *jc
>?)k
,2Ed^!`
struts.configuration ZGH
7_K
The org.apache.struts2.config.Configuration implementation class rMJ@oc
org.apache.struts2.config.Configuration接口名 ~.^:?yCA
m=E/um[D
struts.configuration.files :kI[Pf!z
A list of configuration files automatically loaded by Struts X4:84
struts自动加载的一个配置文件列表 jbe:"Stw
P]^8Enp
struts.configuration.xml.reload B0yGr\KJ
Whether to reload the XML configuration or not . mO8~Z
是否加载xml配置(true,false) }OcrA/
?+=,t]`!m
struts.continuations.package 0&NM=~
The package containing actions that use Rife continuations R?lTB3"
含有actions的完整连续的package名称 l[5** ?#
<astIu Au
struts.custom.i18n.resources Z)xcxSo
Location of additional localization properties files to load :
^}!"4{
加载附加的国际化属性文件(不包含.properties后缀) 9:RV5Dt
-tWxBGSa@
struts.custom.properties : I";&7C
Location of additional configuration properties files to load |b='DJz2
加载附加的配置文件的位置 bt1bTo
L=Aj+
r*mYtS
struts.devMode 4IW90"uc
Whether Struts is in development mode or not 7lF;(l^Z>}
是否为struts开发模式 l<=k#d
N4VZl[7?
struts.dispatcher.parametersWorkaround X(d:!-_m *
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic emJZ+:%
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "dndhoMq
!X"nN9k
struts.enable.DynamicMethodInvocation aDz%
%%:r
Allows one to disable dynamic method invocation from the URL +ah4 K(+3
允许动态方法调用 -ys/I,}<
#gWok'ZcR
struts.freemarker.manager.classname rLD1Cpeb,w
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @~$=96^
org.apache.struts2.views.freemarker.FreemarkerManager接口名 KMb'm+
$Nvox<d0
struts.i18n.encoding )2W7>PY
The encoding to use for localization messages -u~:Gd*l0
国际化信息内码 8%4v6No&*
:+9. v
struts.i18n.reload k
"7,-0gz
Whether the localization messages should automatically be reloaded EqD@o
是否国际化信息自动加载 "S{GjOlEDF
8TH;6-RT
struts.locale dQH8s
The default locale for the Struts application {s*1QBM$\Z
默认的国际化地区信息 ~a7@O^q4
\hlS?uD\
struts.mapper.class TGG=9a]m
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K\ pZ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 A9Ea}v9:
|iSwG=&
struts.multipart.maxSize 2XBHo (
The maximize size of a multipart request (file upload) + rN#
multipart请求信息的最大尺寸(文件上传用) \C;Yn6PK0
L*Ffic
struts.multipart.parser >W/mRv&
The org.apache.struts2.dispatcher.multipart. z/5TYv)S
MultiPartRequest parser implementation for a multipart request (file upload) *pS3xit~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %y>*9$<pXe
'dQGb-<_<
$i8oLSRV
struts.multipart.saveDir rjfWty%6pX
The directory to use for storing uploaded files mDwuJf8}
设置存储上传文件的目录夹 8EiS\$O-
P%[{ 'u
struts.objectFactory BB1_EdoG
The com.opensymphony.xwork2.ObjectFactory implementation class 2^5RQl/
com.opensymphony.xwork2.ObjectFactory接口(spring) C)qG<PW.!
60|m3|0o
struts.objectFactory.spring.autoWire NV}fcZ
Whether Spring should autoWire or not GmUm?A@B
是否自动绑定Spring kp?_ir
o"N\l{ #s
struts.objectFactory.spring.useClassCache o4rf[.z
Whether Spring should use its class cache or not bTYR=^9
是否spring应该使用自身的cache g rQ,J
bS|h~B]rd
struts.objectTypeDeterminer u[wDOw
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xw~oR|`U
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _iqaKYT$
A5}N[|z
struts.serve.static.browserCache n]l3
)u
If static content served by the Struts filter should set browser caching header properties or not ;L],i<F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y?oeP^V'u
2I=4l
struts.serve.static ms&5Bq+9
Whether the Struts filter should serve static content or not KxJDAP
是否struts过滤器应该提供静态内容 |a0@4
:
p4uObK,
struts.tag.altSyntax tC+11M
Whether to use the alterative syntax for the tags or not rP(;^8l"
是否可以用替代的语法替代tags +r"fv*g"
lYm00v6y
struts.ui.templateDir ^#h ;bX#
The directory containing UI templates Yv{$XI7
UI templates的目录夹 c;
1f$$>b
z+_d* \
struts.ui.theme !a%_A^t7
The default UI template theme JsX}PVuL
默认的UI template主题 (c3O> *M
gZz5P>^
struts.url.http.port mX@xV*
The HTTP port used by Struts URLs *L<<S=g$2
设置http端口 FYg{IKg
T}'*Gry
struts.url.https.port PC,I"l
The HTTPS port used by Struts URLs |mw3v>
设置https端口 oBPm^ob4
>T14
J'\
struts.url.includeParams
y?*Y=,"
The default includeParams method to generate Struts URLs '2p,0Bk9i
在url中产生 默认的includeParams *'@T+$3s
? a*yK8S
@C~gU@F
struts.velocity.configfile 9~r8$,e
The Velocity configuration file path ``h*A
velocity配置文件路径 \gir
pe\]}&
struts.velocity.contexts Wjd_|Kui
List of Velocity context names {|q(4(f"Iu
velocity的context列表 ln09_Lr
%:-2P
g`=Z%{z%
struts.velocity.manager.classname M"OCwBTU
org.apache.struts2.views.velocity.VelocityManager implementation class %wq;<'W
org.apache.struts2.views.velocity.VelocityManager接口名 `4|:8@,3{
^
-lWv
struts.velocity.toolboxlocation E@@XWU21;N
The location of the Velocity toolbox S]c&