struts2的struts.properties配置文件详解 4zf#zJw
gX(QRQ
struts.action.extension 5,Q('t#J
The URL extension to use to determine if the request is meant for a Struts action A5H[g`&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !uO|T'u0a
e:7aVOm
struts.configuration 9 oq(5BG,
The org.apache.struts2.config.Configuration implementation class cQ+,F2
org.apache.struts2.config.Configuration接口名 '!1lK
p$9N}}/c
struts.configuration.files R*yB); p
A list of configuration files automatically loaded by Struts K4RjGSaF
struts自动加载的一个配置文件列表 ;( 2uQ#Y
V;:A&
struts.configuration.xml.reload b/5~VY*T
Whether to reload the XML configuration or not > %Y#(_~a
是否加载xml配置(true,false) nQ~q-=,L
uwQ4RYz
struts.continuations.package .FMF0r>l
The package containing actions that use Rife continuations D1g1"^~g
含有actions的完整连续的package名称 uo%O\}#u9
\pPq]k
struts.custom.i18n.resources t]&n_]`{.
Location of additional localization properties files to load ^9{ 2
加载附加的国际化属性文件(不包含.properties后缀) KPO((G0&
IS=)J( 0
struts.custom.properties QM _~w\
Location of additional configuration properties files to load q?0goL
加载附加的配置文件的位置 aPb!-o{
Xif`gb6`
"R30oA#m
struts.devMode O-'T*M>
Whether Struts is in development mode or not u8,T>VNVw
是否为struts开发模式 5j}@Of1pd
3<`h/`ku
struts.dispatcher.parametersWorkaround XqwdJND
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n&V(c&C
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) dF?pEet?2
@%fkW"y:
struts.enable.DynamicMethodInvocation <'vM+Lk
Allows one to disable dynamic method invocation from the URL C3<3
允许动态方法调用 [X=eCHB?
^al
SyJ`
struts.freemarker.manager.classname :iWV:0)P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hOC,Eo
org.apache.struts2.views.freemarker.FreemarkerManager接口名 vcSS+
>qgBu_
struts.i18n.encoding 2 rBF<z7
The encoding to use for localization messages oDP|>yXC)
国际化信息内码 }`g*pp*
x
p$0J<2
struts.i18n.reload ^IId
=V=2
Whether the localization messages should automatically be reloaded .LS.Z
4@
是否国际化信息自动加载 D0]9
-h
4{Ak|
struts.locale y\)w#
The default locale for the Struts application l3MH+o
默认的国际化地区信息 ?nn,RBS-
J *B`C^i
struts.mapper.class #,9|Hr%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bQ4 }no0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =1JRu[&]8
o._^
struts.multipart.maxSize |JDJ{;o
The maximize size of a multipart request (file upload) nbRg<@
multipart请求信息的最大尺寸(文件上传用) UM]wDFn'E
DxD0iJ=W
struts.multipart.parser FG(`&S+,
The org.apache.struts2.dispatcher.multipart. d+w<y~\
q
MultiPartRequest parser implementation for a multipart request (file upload) jGWLYI=V2
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3z ry %qV=
gbh:Y}_FU
EtcamI*`
struts.multipart.saveDir ~iSW^mi
The directory to use for storing uploaded files axl?t|~I
设置存储上传文件的目录夹 "LWp/
?=G H{
%E
struts.objectFactory $k?L?R1
The com.opensymphony.xwork2.ObjectFactory implementation class >*(>%E~H
com.opensymphony.xwork2.ObjectFactory接口(spring) M]{!Nx
. =5Jpo
struts.objectFactory.spring.autoWire iUKj:q:
Whether Spring should autoWire or not h=tY 5]8
是否自动绑定Spring E}GSii%S
th<]L<BP/
struts.objectFactory.spring.useClassCache CNz[@6-cYU
Whether Spring should use its class cache or not !(~>-;A8
是否spring应该使用自身的cache 3$b(iI< "
:tgTYIF
struts.objectTypeDeterminer SM<kE<q#
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CG7LF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ",+uvJT1O
-jy"?]ve.
struts.serve.static.browserCache Z8@]e}n
If static content served by the Struts filter should set browser caching header properties or not
u0e#iX
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rb0{t[IU
tvUvd(8w
struts.serve.static }X?*o`sW
Whether the Struts filter should serve static content or not WWLVy(
是否struts过滤器应该提供静态内容 _7<U[63
d7P @_jO6
struts.tag.altSyntax ba ?k:b
Whether to use the alterative syntax for the tags or not KWUz]>Z
是否可以用替代的语法替代tags 0_EF7`T
*X #e
struts.ui.templateDir ^m=%Ctu#
The directory containing UI templates P(;c`
UI templates的目录夹 ,W-0qN&%/
Gpu?z-)
struts.ui.theme g2]-Q.
The default UI template theme E~P0}'
默认的UI template主题 $5IrM7i
QhUraZ
struts.url.http.port @FV;5M:I
The HTTP port used by Struts URLs .g~@e_;):
设置http端口 8iN As#s
o~K 2K5I
struts.url.https.port E0Djo'64
The HTTPS port used by Struts URLs $yAfs3/%)s
设置https端口 QFPx4F7(e
c
v
9
6F
struts.url.includeParams >N
J$ac
The default includeParams method to generate Struts URLs WdAGZUp
在url中产生 默认的includeParams Mvv=)?:
u^9c`
"Zk6B"o)
struts.velocity.configfile av?BpN"l
The Velocity configuration file path a:}"\>Aj
velocity配置文件路径 )'~FDw\6
~'MWtDe:Z8
struts.velocity.contexts .B13)$C
List of Velocity context names pxx(BE
velocity的context列表 r\d:fot
<3}l8Z
AF$ o>f
struts.velocity.manager.classname M<unQ1+wh
org.apache.struts2.views.velocity.VelocityManager implementation class JWL J<z
org.apache.struts2.views.velocity.VelocityManager接口名 -/%jeDKp
Ol[gck|~
struts.velocity.toolboxlocation o}A #-
The location of the Velocity toolbox DeA'D|
velocity工具盒的位置 HqBPY[;s
struts.xslt.nocache o3qv945
Whether or not XSLT templates should not be cached D3xaR
是否XSLT模版应该被缓存 j!\0Fyr