struts2的struts.properties配置文件详解 ,n{R,]y\
.;F%k,!v
struts.action.extension `ztp u
~?
The URL extension to use to determine if the request is meant for a Struts action X2T_}{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ra;:
\NZ@>on
struts.configuration ;Wgkf_3
The org.apache.struts2.config.Configuration implementation class :.=#U
org.apache.struts2.config.Configuration接口名 vM?,#:5
L"RE[" m
struts.configuration.files GXi)3I%
A list of configuration files automatically loaded by Struts L 8J] X7
struts自动加载的一个配置文件列表 l?A~^4(5a/
WCY5F
struts.configuration.xml.reload b,x$wP+
Whether to reload the XML configuration or not (ys<{Y-;
是否加载xml配置(true,false) }Te+Rv7{E
cx[[K.
struts.continuations.package N6Dv1_c,
The package containing actions that use Rife continuations (%'`t(<
含有actions的完整连续的package名称 yU>ucuF
v}\Fbe
struts.custom.i18n.resources 1{Ik.O)
Location of additional localization properties files to load 5Y 7 %Z
加载附加的国际化属性文件(不包含.properties后缀) 0ybMI+*
MoXai0d%
struts.custom.properties JkI|Ojmm/
Location of additional configuration properties files to load drvz
[
9;
加载附加的配置文件的位置 kzVK%[/
5S[:;o
Y.q$"lm7k
struts.devMode XZ2 ji_D
Whether Struts is in development mode or not
3L-$+j~u
是否为struts开发模式 c_t7<
=3nA5'UZ
struts.dispatcher.parametersWorkaround +i[@+`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]F"P3':
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~R\ $Z
9rIv-&7'm
struts.enable.DynamicMethodInvocation RBHU5]5
Allows one to disable dynamic method invocation from the URL oBs5xH7@-
允许动态方法调用 4b+_|kYb
|n;5D,r0C
struts.freemarker.manager.classname ]f5vk
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ']d(m?
org.apache.struts2.views.freemarker.FreemarkerManager接口名 a]J>2A@-I
ol~ tfS
struts.i18n.encoding W.59Al'
The encoding to use for localization messages m{&lU@uL
国际化信息内码 #=72/[
R2Lq??XA=
struts.i18n.reload pU<GI@gU
Whether the localization messages should automatically be reloaded );?tGX
是否国际化信息自动加载 P~V ^Efz{
_Ea1;dJmq
struts.locale t.
HwX9
The default locale for the Struts application D&=+PAX
默认的国际化地区信息 %TO&
JE# H&]
struts.mapper.class O|+$9#,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
'*EKi
org.apache.struts2.dispatcher.mapper.ActionMapper接口 '+GY6Ecg
:2+z_+k}<
struts.multipart.maxSize 7+Nl)d:CJ
The maximize size of a multipart request (file upload) 6B Hdc
multipart请求信息的最大尺寸(文件上传用) >jnx2$
C>F5=&
struts.multipart.parser I}|E_U1Qj
The org.apache.struts2.dispatcher.multipart. 9ph>4u(R
MultiPartRequest parser implementation for a multipart request (file upload) (4IP&^j:\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;kZJnN"y
Q(R-8"
?X\uzu
struts.multipart.saveDir n]nJ$u1u
The directory to use for storing uploaded files )TBm?VMe
设置存储上传文件的目录夹 =`2jnvx
+Y2D @K?)
struts.objectFactory : GFK
|
The com.opensymphony.xwork2.ObjectFactory implementation class I]42R;Sc
com.opensymphony.xwork2.ObjectFactory接口(spring) q"WfKz!U
D( y
c
struts.objectFactory.spring.autoWire #TV #*
Whether Spring should autoWire or not o=PW)37>
是否自动绑定Spring AG#Mj(az!
1;!dTh
struts.objectFactory.spring.useClassCache 4QYStDFe
Whether Spring should use its class cache or not vbtjPse
是否spring应该使用自身的cache eT?vZH[N
`uqe[u;`6
struts.objectTypeDeterminer k^#*x2b
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4^9qs%&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >wR)p\UEb
iG"1~/U
struts.serve.static.browserCache E_P,>f
If static content served by the Struts filter should set browser caching header properties or not Pj*]%V
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |h&okR+_,
A;e"_$yt8
struts.serve.static d7uS[tKqg
Whether the Struts filter should serve static content or not uH7!)LE#
是否struts过滤器应该提供静态内容 hM&VMa [
y'<5P~W!a
struts.tag.altSyntax &V%faa1
Whether to use the alterative syntax for the tags or not B`vC>
是否可以用替代的语法替代tags 3ly]DTbz
\Hq=_}]F
struts.ui.templateDir p
S|
The directory containing UI templates kX*.BZI}C
UI templates的目录夹 \K lY8\c[
qWXw*d1]
struts.ui.theme =tX"aCW~
The default UI template theme }0>\%C
默认的UI template主题 ]<9o>#3
B- |C%~fe
struts.url.http.port DD6K[\
The HTTP port used by Struts URLs YllW2g:
设置http端口 76u\#{5
zQB1C
struts.url.https.port j#l1KO^y
The HTTPS port used by Struts URLs >#`{(^
设置https端口 E};1
H
<!*O[0s
struts.url.includeParams L9l]0C37e
The default includeParams method to generate Struts URLs A>)W6|m|
在url中产生 默认的includeParams [L
3g0v,7,Zv
6rlM\k@!
struts.velocity.configfile yATXN>]l
The Velocity configuration file path X1Kze
velocity配置文件路径 5X9*K
MEtKFC|p
struts.velocity.contexts |9)y<}c5oM
List of Velocity context names 5X^`qUSv
velocity的context列表 0{stIgB$
aOEW$%
l 1BAW$
struts.velocity.manager.classname qIO)<5\[%d
org.apache.struts2.views.velocity.VelocityManager implementation class wFJ*2W:
org.apache.struts2.views.velocity.VelocityManager接口名 x139Ckn
#BIY[{!
struts.velocity.toolboxlocation NRs%q}lX
The location of the Velocity toolbox "Fxw"I
<
velocity工具盒的位置 xfqU
atC
struts.xslt.nocache zB6&),[,v
Whether or not XSLT templates should not be cached 9"dZ4{\!
是否XSLT模版应该被缓存 //#]CsFiP