struts2的struts.properties配置文件详解 f3[gAY
1c8J yp
struts.action.extension V^As@P8,'(
The URL extension to use to determine if the request is meant for a Struts action 5O%Q*\(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NDWpV
v&;q4b4
struts.configuration :]v%6i.
The org.apache.struts2.config.Configuration implementation class sjvlnnO
org.apache.struts2.config.Configuration接口名 NVAt-u0LB
yL7D;<!S&
struts.configuration.files u`O
xY
A list of configuration files automatically loaded by Struts Ux2(Oph
struts自动加载的一个配置文件列表 #;#
V1
4
>at#Zc
struts.configuration.xml.reload /ZUKt
Whether to reload the XML configuration or not 9,sj,A1
是否加载xml配置(true,false) ?YOH9%_cs
Lo5itW
struts.continuations.package !-_0I:m
The package containing actions that use Rife continuations rzsb(
含有actions的完整连续的package名称 [kM)K'-
vT#zc)j
struts.custom.i18n.resources QX1QYwcm G
Location of additional localization properties files to load ~k'KS
7c
加载附加的国际化属性文件(不包含.properties后缀) ]v{f!r=}
Gt3V}"B3\
struts.custom.properties DpI)qg#>V
Location of additional configuration properties files to load m-dyvW+
加载附加的配置文件的位置 AK]{^Hvz
0&mOu #l
E LZCrh6*
struts.devMode TL-sxED,,D
Whether Struts is in development mode or not (sHqzWh
是否为struts开发模式 y0k*iS
e
i<@6f'Kir
struts.dispatcher.parametersWorkaround WwG78b-OA
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ri =>evx
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q\cH+n)C
s<Px au+A
struts.enable.DynamicMethodInvocation =iO K($
Allows one to disable dynamic method invocation from the URL [*GIR0
允许动态方法调用 .$pW?C 3e
iZ} w>1
struts.freemarker.manager.classname |2z?8lx
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xb1 i{d
org.apache.struts2.views.freemarker.FreemarkerManager接口名 >~8;H x].d
;[V_w/-u
struts.i18n.encoding _w0t+=&
The encoding to use for localization messages CZe0kH^:{
国际化信息内码 RY3ANEu+
jT}3Zn
struts.i18n.reload A[`c2v-hF
Whether the localization messages should automatically be reloaded QV,X> !Nz
是否国际化信息自动加载 \x P$m|Y3
SR7$m<0t*
struts.locale 0*^ J;QGE
The default locale for the Struts application Cgq/#2BM
默认的国际化地区信息 C8 9c2
PY-
1 oP
struts.mapper.class =
_X#JP79
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q\|72NWS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `?r]OVe{y
S{'/=Px+
struts.multipart.maxSize ErIAS6HS'
The maximize size of a multipart request (file upload) |h$*z9bsf
multipart请求信息的最大尺寸(文件上传用) KE! aa&g
`@1y|j:m
struts.multipart.parser PLD6Ug
The org.apache.struts2.dispatcher.multipart. QWz5iM
MultiPartRequest parser implementation for a multipart request (file upload) a$H*C(wL
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pESlBQ7{I
&/R`\(hEA
- e0C
Bp
struts.multipart.saveDir /I&Hq7SW`
The directory to use for storing uploaded files Yt*2/jw^
设置存储上传文件的目录夹 ,WSK
'
K=T]@ix$
struts.objectFactory &~gqEl6RF
The com.opensymphony.xwork2.ObjectFactory implementation class BB@I|)9O(
com.opensymphony.xwork2.ObjectFactory接口(spring)
WJ":BK{NM
golr,+LSo
struts.objectFactory.spring.autoWire {@, } M
Whether Spring should autoWire or not ^wN x5t
是否自动绑定Spring #2l6'gWE0
Fb#.Gg9b>
struts.objectFactory.spring.useClassCache hiO:VA
Whether Spring should use its class cache or not A`_(L|~
是否spring应该使用自身的cache kzU;24"K
xEdCGwgp#
struts.objectTypeDeterminer `7_=2C
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =.NZ{G
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Au3>=x`
x}o]R
struts.serve.static.browserCache l}odW
If static content served by the Struts filter should set browser caching header properties or not t9T3e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k.=67L
]AkHNgW
struts.serve.static ]4~-
z3=y
Whether the Struts filter should serve static content or not 9QE|p
是否struts过滤器应该提供静态内容 #vh1QV!Ho
2c:H0O
0o
struts.tag.altSyntax Dlz||==
Whether to use the alterative syntax for the tags or not :aHD'K
是否可以用替代的语法替代tags 6QS[mWU
!9|)v7}
struts.ui.templateDir $Gt1T[:QUX
The directory containing UI templates D>"U0*h
UI templates的目录夹 *I,3,zO
`~|8eKFq!
struts.ui.theme pgT XyAP{
The default UI template theme .
+_IpygQ
默认的UI template主题 GtI]6t
j$r .&,m
struts.url.http.port u=^0n2ez
The HTTP port used by Struts URLs ER,,K._?B
设置http端口 +W|MAJtg
l*]9
struts.url.https.port /LMb~Hy,
The HTTPS port used by Struts URLs k<W n
设置https端口 0=Jf93D5
2_Me
4
struts.url.includeParams ^ei[#I
The default includeParams method to generate Struts URLs $__e7
在url中产生 默认的includeParams qZRx,^gd
04-phEA2Q
K^z-G=|N
struts.velocity.configfile iw1((&^)"
The Velocity configuration file path pl62mp!
velocity配置文件路径 T{=.mW^ x
tMGkm8y-A
struts.velocity.contexts s'%KKC
List of Velocity context names ,Nl]rmI
velocity的context列表 aIaydu+ \
!R,9Pg*Ey
J]uYXsC
struts.velocity.manager.classname 9D74/3b*
org.apache.struts2.views.velocity.VelocityManager implementation class ~:7AHK2
org.apache.struts2.views.velocity.VelocityManager接口名
PRmZ3
%-"?
struts.velocity.toolboxlocation AMqu}G
The location of the Velocity toolbox : sIZ+3
velocity工具盒的位置 3$f%{~3
struts.xslt.nocache INwc@XB
Whether or not XSLT templates should not be cached cyUNJw
是否XSLT模版应该被缓存 $4.mRS97g