struts2的struts.properties配置文件详解 7m:|u*ij2~
[ WV@ w
struts.action.extension +M'aWlPg,
The URL extension to use to determine if the request is meant for a Struts action .tRr?*V|l
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Ot`LZ"H:
F qeV3N
struts.configuration Zc'|!pT _
The org.apache.struts2.config.Configuration implementation class /m`}f]u
org.apache.struts2.config.Configuration接口名 *jM_ wwG
\3Dk5cSDk+
struts.configuration.files gA~20LSt
A list of configuration files automatically loaded by Struts K(nS$x1G
struts自动加载的一个配置文件列表 C4QeDvpI
DX}B0B
struts.configuration.xml.reload TGU:(J'^
Whether to reload the XML configuration or not 4\LZD{
是否加载xml配置(true,false) rv9B}%e
#NvQmz?J?
struts.continuations.package kSbO[)p
The package containing actions that use Rife continuations Jd5\&ma
含有actions的完整连续的package名称 k"xGA*B|
D]IBB>F
struts.custom.i18n.resources &5\^f?'b7
Location of additional localization properties files to load M1oPOC\0.
加载附加的国际化属性文件(不包含.properties后缀) $hkq>i \
5D,.^a1 A
struts.custom.properties |KL')&"
Location of additional configuration properties files to load XE_ir
Et
加载附加的配置文件的位置 ?y~TC qV
@#RuSc
Rn`ld@=p[
struts.devMode gNShOu
Whether Struts is in development mode or not S4cpQq.
是否为struts开发模式 M|\^UF2e
o#qH2)tb
struts.dispatcher.parametersWorkaround Y3-gUX*w0
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 25 CZmsg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x_*%*H
Kv(z4 z
struts.enable.DynamicMethodInvocation *~p(GC
Allows one to disable dynamic method invocation from the URL :e*DTVv8
允许动态方法调用 8b|OXWl
n( g)UNx
struts.freemarker.manager.classname T~BA)![
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [SVhtrx|%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )4l>XlQ&
V=pMq?Nr
struts.i18n.encoding TG}d3ZU
!
The encoding to use for localization messages %$@1FlqX;
国际化信息内码 j'K38@M:MN
F{<5aLaYti
struts.i18n.reload !p9)CjQ "
Whether the localization messages should automatically be reloaded I>PZYh'.T
是否国际化信息自动加载 kv6Cp0uFg
5?WYsj"
struts.locale *G9sy_
The default locale for the Struts application LL&ud_Y
默认的国际化地区信息 7A5p["?Z
/<);=&[
struts.mapper.class QK)){cK
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y$X(S\W
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (n,u|}8Y
vY6oVjM
struts.multipart.maxSize v??TJ^1
The maximize size of a multipart request (file upload) ,LDm8
multipart请求信息的最大尺寸(文件上传用) x H-X|N
f-Jbs`(+
struts.multipart.parser ohUdGO[/
The org.apache.struts2.dispatcher.multipart. :ygWNK[6D
MultiPartRequest parser implementation for a multipart request (file upload) A{# Nwd>
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "(v%1tGk
VYZU eh
r9#
\13-
struts.multipart.saveDir bLzs?eos
The directory to use for storing uploaded files Mi+H#xx16
设置存储上传文件的目录夹 +#2)kg 9_
~ 3^='o
struts.objectFactory Z$p0&~
The com.opensymphony.xwork2.ObjectFactory implementation class 98RKCc9h
com.opensymphony.xwork2.ObjectFactory接口(spring) ~@T<gA9V
IOL L1ar
struts.objectFactory.spring.autoWire Q8T`wd$D#
Whether Spring should autoWire or not 3iRA$C-p
是否自动绑定Spring J'b<z.OW
> _ <'D
struts.objectFactory.spring.useClassCache @@@=}!<H=
Whether Spring should use its class cache or not ;}qhc l+
是否spring应该使用自身的cache `lO(s%HC
}Ov
^GYnn
struts.objectTypeDeterminer >-.e A vD
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?+~cA^-3T
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O}Hf62"
fH\X
struts.serve.static.browserCache <A>)[u
If static content served by the Struts filter should set browser caching header properties or not 8"%RCE
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -'`TL$
K_~h*Yc
struts.serve.static <[Q3rJ
Whether the Struts filter should serve static content or not *)<B0SjT
是否struts过滤器应该提供静态内容 S4N(cn&
('O}&F1
struts.tag.altSyntax ZrO!L_/
Whether to use the alterative syntax for the tags or not +x=)/; :
是否可以用替代的语法替代tags ?^i1_v7 Bi
0V$k7H$Z
struts.ui.templateDir 4[yIOs
The directory containing UI templates ?WUF!Jk
UI templates的目录夹 DZ$`
4;C[
W#'c5:m
4
struts.ui.theme 08s_v=cF
The default UI template theme lx |5?P
默认的UI template主题 mj&57D\fq
0p(L'
struts.url.http.port hB9Ee@
The HTTP port used by Struts URLs .pPm~2]z
设置http端口 p8}(kHUp(
QSw<%pcJE@
struts.url.https.port H#i{?RM@l
The HTTPS port used by Struts URLs !}f1`/
设置https端口 )@gZ;`n
7j$Pt8$
struts.url.includeParams #>[a{<;Kn
The default includeParams method to generate Struts URLs :kMHRm@{
在url中产生 默认的includeParams xYfD()w<I
+JRF0T
+k\Uf*wh
struts.velocity.configfile }|\d+V2On
The Velocity configuration file path /PzcvN
velocity配置文件路径 31WC=ur5
i;z{zVR
struts.velocity.contexts ^T5X)Nu{=C
List of Velocity context names h6_(?|:-(
velocity的context列表 69m
;XdkKz
m8R9{LC
JL=U,Mr6
struts.velocity.manager.classname H
3@Z.D
org.apache.struts2.views.velocity.VelocityManager implementation class tZyo`[La
org.apache.struts2.views.velocity.VelocityManager接口名 0'5/K ,
0 (U#)
struts.velocity.toolboxlocation ({s6eqMhDd
The location of the Velocity toolbox S4UM|`
velocity工具盒的位置 t5B7I59
struts.xslt.nocache g{IF_ 1
Whether or not XSLT templates should not be cached NVKC'==0
是否XSLT模版应该被缓存 @"-</x3o