struts2的struts.properties配置文件详解 M7^PWC
O Ul+es
struts.action.extension 4j|]=58
The URL extension to use to determine if the request is meant for a Struts action xRpL\4cs
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EgM.wQHR]
$'btfo4H
struts.configuration ks<gSCB
The org.apache.struts2.config.Configuration implementation class ,LKY?=T$z
org.apache.struts2.config.Configuration接口名 A^
$9[_
Rcs7 'q5
struts.configuration.files o[q
Kf
A list of configuration files automatically loaded by Struts ,uqSq
struts自动加载的一个配置文件列表 dFD0l?0N
nF0$
struts.configuration.xml.reload wcUf?`21,
Whether to reload the XML configuration or not ke_Dd?
是否加载xml配置(true,false) |B<+Y<)f^
oNY;z-QK
struts.continuations.package mwVH>3{j
The package containing actions that use Rife continuations tX$%*Uy
含有actions的完整连续的package名称 s`GwRH<#
:$."x
'
struts.custom.i18n.resources 0M(\xO
Location of additional localization properties files to load u:tLO3VfJ
加载附加的国际化属性文件(不包含.properties后缀) |0:<Z(
/*!K4)$-*2
struts.custom.properties +:pjQ1LsJ
Location of additional configuration properties files to load = zW}vm }
加载附加的配置文件的位置 gfG Mu0FjB
]u
4
Q4\EI=4P]
struts.devMode Z12-Vps
Whether Struts is in development mode or not /{
Lo0
是否为struts开发模式 jR`q y<
Eh&*"&fHR
struts.dispatcher.parametersWorkaround 7y.$'<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic RhIRCN9
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) | YmQO#''
wR
+C>
struts.enable.DynamicMethodInvocation W- 5Z"m1I
Allows one to disable dynamic method invocation from the URL ,<s'/8Ik
允许动态方法调用 ]+\;pb}bq
1^^<6e
struts.freemarker.manager.classname "_t2R &A
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]8FSs/4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )!J0e-T-8O
oG~a`9N%C
struts.i18n.encoding oe`t ? (U
The encoding to use for localization messages |LA@guN
国际化信息内码 k2DT+}u7G
.si!`?K%[
struts.i18n.reload p+#$S4V
Whether the localization messages should automatically be reloaded >5-z"f
是否国际化信息自动加载 },G6IuH%
Hh`x>{,|S
struts.locale 78&(>8@m
The default locale for the Struts application 'oSs5lW
默认的国际化地区信息 9nF;$HB
cnJ(Fv_F$
struts.mapper.class I?c "\Fe
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `Mx&,;x
org.apache.struts2.dispatcher.mapper.ActionMapper接口 VsEMF i=
X:Z4QqT
struts.multipart.maxSize uj#bK
7
The maximize size of a multipart request (file upload) yop,%Fe
multipart请求信息的最大尺寸(文件上传用)
'Vq_/g!?1
-DD2
struts.multipart.parser JwEQR
The org.apache.struts2.dispatcher.multipart. s/#L?[YH
MultiPartRequest parser implementation for a multipart request (file upload) MNd8#01q`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A'Q=DoE
_0^f
;s{k32e
struts.multipart.saveDir 5n,?&+*L
The directory to use for storing uploaded files
/6)6
设置存储上传文件的目录夹 Sh&n
DdF"
vzDoF0Ts*p
struts.objectFactory 17IT:T,'
The com.opensymphony.xwork2.ObjectFactory implementation class (
-^-
com.opensymphony.xwork2.ObjectFactory接口(spring) n?uVq6c
UC&f
struts.objectFactory.spring.autoWire e$!01Y$HI
Whether Spring should autoWire or not e<F>u#d
是否自动绑定Spring ErZYPl
rBNl%+ sB
struts.objectFactory.spring.useClassCache c*F'x-TH
Whether Spring should use its class cache or not !<`}mE!:
是否spring应该使用自身的cache ~J #^L*
jm~(OLg
struts.objectTypeDeterminer NlLgXn!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q]PeS~PjF\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;yd[QT<I<
lM0`yh
struts.serve.static.browserCache ~:h-m\=8Y
If static content served by the Struts filter should set browser caching header properties or not C|"BMam
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2@!Ou $W
T\}?
struts.serve.static P|M#S9^]
Whether the Struts filter should serve static content or not E<=h6Ha
是否struts过滤器应该提供静态内容 f(=3'wQ
Um4$. BKD
struts.tag.altSyntax o]Ln:k l
Whether to use the alterative syntax for the tags or not Fh)`A5#
是否可以用替代的语法替代tags 8M9LY9C
<\0+*`">g
struts.ui.templateDir H~fX>6>
The directory containing UI templates f9`F~6$
UI templates的目录夹 R
2.y=P8N
#~ikR.-+Eq
struts.ui.theme v-^7oai
The default UI template theme ^5BLuN6
默认的UI template主题 :i{$p00
G
M{sn{
struts.url.http.port I,rs&m?/m
The HTTP port used by Struts URLs 4[q'1N6-
设置http端口 X9:4oMux7
;0R|#9oX_
struts.url.https.port FPg5!O%
The HTTPS port used by Struts URLs fDq`.ZW)s
设置https端口 pUTC~|j%:
+A3Q$1F
struts.url.includeParams ^
W/,Z`
The default includeParams method to generate Struts URLs I\8f`l
在url中产生 默认的includeParams y7&8P8R
u<}PcI.
F0&BEJBkU
struts.velocity.configfile Yh^~4S?
The Velocity configuration file path f76bEe/B9
velocity配置文件路径 6Vq]AQx
CO+[iJ,4C+
struts.velocity.contexts {9 PeBc
List of Velocity context names OfSy _#aEK
velocity的context列表 *{/L7])gm
J}c`\4gD
n_8wYiBs(
struts.velocity.manager.classname Stq
[[S5P
org.apache.struts2.views.velocity.VelocityManager implementation class OJ2O?Te8
org.apache.struts2.views.velocity.VelocityManager接口名 )_7OHV *3
'Fe1]B"Y
struts.velocity.toolboxlocation zVSbEcr,C~
The location of the Velocity toolbox oH[4<K>
velocity工具盒的位置 uU7s4oJ|
struts.xslt.nocache ao@"j}c
Whether or not XSLT templates should not be cached @A-*XJNS":
是否XSLT模版应该被缓存 :tc]@0+