struts2的struts.properties配置文件详解 TwFb%YM
"PzP;Br
struts.action.extension "w&/m}E,[
The URL extension to use to determine if the request is meant for a Struts action O]{*(J/t
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _|<BF
$<OhGk-
struts.configuration ug#<LO-.Rd
The org.apache.struts2.config.Configuration implementation class 2-mQt_
i
org.apache.struts2.config.Configuration接口名 #
X/Q
nxQ}&n
struts.configuration.files T3z(k
la
A list of configuration files automatically loaded by Struts {mSJUK?TKl
struts自动加载的一个配置文件列表 sRq U]i8l
G{o+R]Us
struts.configuration.xml.reload !ZrB^?sO
Whether to reload the XML configuration or not d#\W hRE
是否加载xml配置(true,false) 4seciz0?
2B` 8eb
struts.continuations.package >nry0 ;z0,
The package containing actions that use Rife continuations T//S,
含有actions的完整连续的package名称 e{C6by"j{S
uV~e|X
"9s
struts.custom.i18n.resources nwf7M#3d
Location of additional localization properties files to load =i6:puf
加载附加的国际化属性文件(不包含.properties后缀)
maDz W_3
doD>m?rig3
struts.custom.properties $Ha%Gr
Location of additional configuration properties files to load &Rp"rMeW
加载附加的配置文件的位置 kG^dqqn6
[/ohk&
yr{B5z,
struts.devMode %&<W(|U1<
Whether Struts is in development mode or not -0 0}if7
是否为struts开发模式 @ Nb%L&=P8
wPnybb{
struts.dispatcher.parametersWorkaround "^%Z'ou
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (1){A8=?o
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &1GUi{I
cOku1g8
struts.enable.DynamicMethodInvocation )#`H."Z
Allows one to disable dynamic method invocation from the URL VJ{pN ~_1
允许动态方法调用 5 =Z!hQ}
g:gB`8w?
struts.freemarker.manager.classname 6fwY$K\X
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jO)&KEh
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %^.P~s6
np6HUH
struts.i18n.encoding ~L4eZ
The encoding to use for localization messages _N'75
国际化信息内码 vv/J 5#^,\
,
Oli
struts.i18n.reload <k]qH-v4
Whether the localization messages should automatically be reloaded 8(xw?|D7
是否国际化信息自动加载 i2`0|8mw'
>o[|"oLO
struts.locale L2|aHI1'l
The default locale for the Struts application 0*7*RX
默认的国际化地区信息 }*kJ-q&0
LfX0Z=<
struts.mapper.class .ECHx Dp
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !R:y'Y%j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2u:4$x8
-<W2PY<
struts.multipart.maxSize m0( E kK
The maximize size of a multipart request (file upload) #Lka+l;L7
multipart请求信息的最大尺寸(文件上传用) dr})-R
o&-L0]i|
struts.multipart.parser T-8J
The org.apache.struts2.dispatcher.multipart. <NB41/
MultiPartRequest parser implementation for a multipart request (file upload) xm H-!Da
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \G;CQV#{9
^7u#30,}3~
(5`T+pAsV
struts.multipart.saveDir N z~"vi(t
The directory to use for storing uploaded files `WlE|
G[
设置存储上传文件的目录夹 /f3m)pT
#`/QOTnm2c
struts.objectFactory `Q%NSU?
The com.opensymphony.xwork2.ObjectFactory implementation class 3jPB#%F
com.opensymphony.xwork2.ObjectFactory接口(spring) nGa1a
T1NH eH>
struts.objectFactory.spring.autoWire E
$6ejGw-
Whether Spring should autoWire or not 1d v=xe.
是否自动绑定Spring ')o0O9/;
xP@/9SM
struts.objectFactory.spring.useClassCache r
nBOj#N
Whether Spring should use its class cache or not >XE`h9
是否spring应该使用自身的cache ,w`~K:b.
yJD>ny
struts.objectTypeDeterminer y1,5$0@G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f7+Cz>R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 r!K|E95oj9
&!1}`4$[T
struts.serve.static.browserCache ;KcFy@ 6q5
If static content served by the Struts filter should set browser caching header properties or not ?`P2'i<b
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N@1p]\
SrZ50Se
struts.serve.static 6?SFNDQ"C
Whether the Struts filter should serve static content or not g6euXI
是否struts过滤器应该提供静态内容 PqEAqP
'ZnIRE,N
struts.tag.altSyntax -:]@HD :
Whether to use the alterative syntax for the tags or not -JTG?JOd]
是否可以用替代的语法替代tags frH)_ YJ%
xzikD,FV
struts.ui.templateDir wk ikD
The directory containing UI templates <t}? $1
UI templates的目录夹 u!1/B4!'O
kwar}:`
struts.ui.theme `&g:d E(j
The default UI template theme yJ/#"z=h?
默认的UI template主题 i6>R qP!69
A&N*F "q
struts.url.http.port n,nisS
The HTTP port used by Struts URLs Yx1 D)
设置http端口 RvW.@#EH0
aZgNPw
struts.url.https.port ?,% TU&Yn
The HTTPS port used by Struts URLs 0Q1/ n2V
设置https端口 (=JueF@J
wj%wp[KA$
struts.url.includeParams j=j+Nf$
The default includeParams method to generate Struts URLs 9#@Zz4Ww
在url中产生 默认的includeParams &r@H(}$1\
!Zs,-=^D
295w.X(J
struts.velocity.configfile rJ(OAKnY
The Velocity configuration file path -,GEv%6c
velocity配置文件路径 E1W:hGI
c{>|o
struts.velocity.contexts A,c'g}:
List of Velocity context names Y:pRcO.4g
velocity的context列表 p@tp]u`7
re uYTH
D[~}uZ4\
struts.velocity.manager.classname ;$;rD0i|
org.apache.struts2.views.velocity.VelocityManager implementation class `d*b]2
org.apache.struts2.views.velocity.VelocityManager接口名 ,!>fmU`E4
6V;:+"BkJ
struts.velocity.toolboxlocation ]u=Ca#!'
The location of the Velocity toolbox j9xXKa5
velocity工具盒的位置 lzfDH=&
struts.xslt.nocache ORH93`
Whether or not XSLT templates should not be cached ZQ[~*)
是否XSLT模版应该被缓存 Wc;+2Hl[@