struts2的struts.properties配置文件详解 tStJ2-5*t
1[px`%DR~
struts.action.extension ~9bv Wd1D
The URL extension to use to determine if the request is meant for a Struts action }9
?y'6l
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e]Puv)S>{8
-FaaFw:Z;A
struts.configuration *cPN\Iu.W
The org.apache.struts2.config.Configuration implementation class .}`V I`z*
org.apache.struts2.config.Configuration接口名 Wy!uRzbBv
oLd:3,p}
struts.configuration.files C,(j$Id
A list of configuration files automatically loaded by Struts !;jgzi?z
struts自动加载的一个配置文件列表 EFeAr@nj
N?zV*ngBS
struts.configuration.xml.reload _=6vW^s
Whether to reload the XML configuration or not z41D^}b
是否加载xml配置(true,false) 0+rW;-_(
>r~|1kQ.
struts.continuations.package [Zh2DNp
The package containing actions that use Rife continuations ps"9;4P
含有actions的完整连续的package名称 fH; |Rm
x!>d
6lgej
struts.custom.i18n.resources #U:0/4P(
Location of additional localization properties files to load |K6nOX!i
加载附加的国际化属性文件(不包含.properties后缀) 8pd&3G+
3eJ\aVI>pE
struts.custom.properties KoFv0~8Q
Location of additional configuration properties files to load M *v^N]>"G
加载附加的配置文件的位置 }tu4z+T2
s
*K:IgJ/
.a5X*M]
struts.devMode ~R)1nN|
Whether Struts is in development mode or not aE}=^%D
是否为struts开发模式 w{~" ;[@
DhHtz.6
struts.dispatcher.parametersWorkaround w8O hJv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >}mNi:6xq
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6<#Slw[
&:-GI)[o
struts.enable.DynamicMethodInvocation ]Kof sU_{
Allows one to disable dynamic method invocation from the URL aD0Q 0C+
允许动态方法调用 .x]'eq}
ixg\[5.Q+
struts.freemarker.manager.classname HhzkMJR8
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XadG\_?t`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u6]gQP">I
PKl]GegP
struts.i18n.encoding uQO(?nCi
The encoding to use for localization messages :{x!g6bK@
国际化信息内码 $#D
n 4
>xklt"*U,
struts.i18n.reload 2-QuT"Gkd
Whether the localization messages should automatically be reloaded }5QZ6i#
是否国际化信息自动加载 tWcizj;?wK
kx:c*3q.k
struts.locale NJ.rv
The default locale for the Struts application =`r ppO
默认的国际化地区信息 *sjj"^'=
`^?}s-H+
struts.mapper.class B >ms`|q=l
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )-MA!\=<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 od;Bb
9Ilfv
struts.multipart.maxSize _3s~!2
The maximize size of a multipart request (file upload) dl7Riw-J
multipart请求信息的最大尺寸(文件上传用) ,w,ENU0~f
:y4)qF
struts.multipart.parser )e@01l
The org.apache.struts2.dispatcher.multipart. 38Bnf
MultiPartRequest parser implementation for a multipart request (file upload) #9URVq,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) xgZV0!%
er&uC4Y]a
Y{+zg9L*
struts.multipart.saveDir le
"JW/BD
The directory to use for storing uploaded files EGp~Vo-
设置存储上传文件的目录夹 Fr1;)WV
2tm~QL
struts.objectFactory g(ZeFOn
The com.opensymphony.xwork2.ObjectFactory implementation class } S'I
DHla
com.opensymphony.xwork2.ObjectFactory接口(spring) E
geG,/-`
UchALR^5
struts.objectFactory.spring.autoWire ]#vvlM>/
Whether Spring should autoWire or not w`H.ey
是否自动绑定Spring *+_fP |cv
=; ~%L
struts.objectFactory.spring.useClassCache oO! 1
Whether Spring should use its class cache or not
T4%i`<i
是否spring应该使用自身的cache }qgqb
S!`4Bl
struts.objectTypeDeterminer xiOv$.@q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .0R/'!e
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 TFiuz;*|
'sT}DX(7M
struts.serve.static.browserCache >S?C {_g
If static content served by the Struts filter should set browser caching header properties or not &0;{lS[N:L
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 23B^g
pIU#c&%<9
struts.serve.static l<0[ K(
Whether the Struts filter should serve static content or not /xX,
是否struts过滤器应该提供静态内容 v*C+U$_3\1
SK2J`*
struts.tag.altSyntax ~pX(w!^
Whether to use the alterative syntax for the tags or not }J'5EAp
是否可以用替代的语法替代tags 1j${,>4tQ
u8{@PlS
struts.ui.templateDir Mipm&5R
The directory containing UI templates tk3<sr"IQ
UI templates的目录夹 "NXm\`8
9H
!B)
struts.ui.theme _{2Fx[m%
The default UI template theme ,q'gG`M
N
默认的UI template主题 <{-(\>f!9
b]tA2~e
struts.url.http.port R:pBbA7E
The HTTP port used by Struts URLs 110>p
设置http端口 &kXGWp
Oo3qiw
struts.url.https.port "c !oOaA
The HTTPS port used by Struts URLs &2<&X( )
设置https端口 1 o
(DELxE
struts.url.includeParams c4qp3B_w
The default includeParams method to generate Struts URLs R&x7