struts2的struts.properties配置文件详解 9F807G\4Qt
=v<w29P(g
struts.action.extension |<c9ZS+
The URL extension to use to determine if the request is meant for a Struts action b23A&1X
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n 0=]C%wr
&|XgWZS5
struts.configuration dCoP
qKy
The org.apache.struts2.config.Configuration implementation class 9Rk(q4.OP
org.apache.struts2.config.Configuration接口名 >.qFhO\1so
iLnW5yy
struts.configuration.files 4<($ZN8
A list of configuration files automatically loaded by Struts +S{m!j%B
struts自动加载的一个配置文件列表 zls^JTE
[]A9j?_w
struts.configuration.xml.reload ]ltCJq
Whether to reload the XML configuration or not :=hL}(~]
是否加载xml配置(true,false) 4C`RxQJM
"zq'nV=
struts.continuations.package )3CM9P'0
The package containing actions that use Rife continuations b;VIR,2
含有actions的完整连续的package名称 ''9]`B,:a0
G%s O{k7
struts.custom.i18n.resources edMCj
Location of additional localization properties files to load GUu8 N
加载附加的国际化属性文件(不包含.properties后缀) \)dp
oSrA4g
struts.custom.properties ,?yjsJd.
Location of additional configuration properties files to load f4p*!e
加载附加的配置文件的位置 0Ye/
0hoMf=bb$
d`=
~8`
struts.devMode 1vo3aF
Whether Struts is in development mode or not (n k g
是否为struts开发模式 |>(Vo@
9\Gk)0
struts.dispatcher.parametersWorkaround h^(U:M=A
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T)e2IXGN
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fc~fjtqwvz
(/uN+
struts.enable.DynamicMethodInvocation H}r]j\
Allows one to disable dynamic method invocation from the URL zCJ"O9G<V
允许动态方法调用 &Z~_BT
9C \}bT
struts.freemarker.manager.classname ]lA}5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q%G[tXw
org.apache.struts2.views.freemarker.FreemarkerManager接口名 B5 /8LEWw
C+/EPPi
struts.i18n.encoding Y!j/,FU
The encoding to use for localization messages +(DzE
H |
国际化信息内码 ,u|>%@h
z/91v#}.
struts.i18n.reload 6H0kY/quL|
Whether the localization messages should automatically be reloaded zmQQ/7K
是否国际化信息自动加载 8(n>99VVK
'ij+MU1
struts.locale }$<v
The default locale for the Struts application Z><+4
'
默认的国际化地区信息 C5(XZscq
x9F* $G
struts.mapper.class Vl$RMW@Ds
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P\dfxR;8%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 BW;@Gq@N
#q:j~4)h
struts.multipart.maxSize
)F hbN@3
The maximize size of a multipart request (file upload) VJ#ys_W
multipart请求信息的最大尺寸(文件上传用) tfHr'Qy BC
<q'?[aKvR
struts.multipart.parser
zr ez*
The org.apache.struts2.dispatcher.multipart. ;L:UYhDbUx
MultiPartRequest parser implementation for a multipart request (file upload) o Tvg%bX
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z@UH[>^gj
@wD#+Oz
O)^F z:
struts.multipart.saveDir kR1
12J9P
The directory to use for storing uploaded files ]foS.D,
设置存储上传文件的目录夹 ,sj(g/hg
c
k[uvH
struts.objectFactory )PR`irw
The com.opensymphony.xwork2.ObjectFactory implementation class <,O|fY%
com.opensymphony.xwork2.ObjectFactory接口(spring) yUcU-pQ
4%}iKoT
struts.objectFactory.spring.autoWire G-D}J2r=F
Whether Spring should autoWire or not Ox
,Rk
是否自动绑定Spring [.l,#-vp
Y|mtQE?c
struts.objectFactory.spring.useClassCache 0;a1 0b
Whether Spring should use its class cache or not !JdZ0l
是否spring应该使用自身的cache 0Bgj.?l
a:P+HU:
struts.objectTypeDeterminer %d:cC:`
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x%)oL:ue
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UK'8cz9
R,.qQF\*
struts.serve.static.browserCache yuq o ^i
If static content served by the Struts filter should set browser caching header properties or not Y, Lpv|
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0XljFQ
y+^KVEw
struts.serve.static %a8e_
Whether the Struts filter should serve static content or not 0{d)f1
是否struts过滤器应该提供静态内容 &9gI?b8
KY2z)#/
struts.tag.altSyntax kb$Yc)+R4
Whether to use the alterative syntax for the tags or not <bJ|WS|
是否可以用替代的语法替代tags "WY5Pzsi:
A~{vja0?
struts.ui.templateDir vx$DKQK@l\
The directory containing UI templates yEB#*}K?
UI templates的目录夹 E}zGY2Xx
I7h v'3u
struts.ui.theme EFU)0IAL[
The default UI template theme ENA"T-p
默认的UI template主题 j7Zv"Vq@
h+_:zWU
struts.url.http.port `}ZtK574
The HTTP port used by Struts URLs P7X3>5<;q
设置http端口 Z9MU%*N
H9;IA>
struts.url.https.port uQ
]ZMc
The HTTPS port used by Struts URLs <QgpePyoN
设置https端口 1.,KN:qe
asQ^33g z
struts.url.includeParams wk?i\vm
The default includeParams method to generate Struts URLs ',Z]w;D!G
在url中产生 默认的includeParams Z @DDuVr
5l,Lp'k
`)8SIx
struts.velocity.configfile |BtFT
The Velocity configuration file path F1}d@^K
7d
velocity配置文件路径 o]]tH
m+dQBsz\
struts.velocity.contexts g^:`h
VV
List of Velocity context names oG hMO
velocity的context列表 s,mt%^x[
5%K|dYv^^
!Qsjn
struts.velocity.manager.classname 3:w_49~:~
org.apache.struts2.views.velocity.VelocityManager implementation class |A|K);
org.apache.struts2.views.velocity.VelocityManager接口名 )yz)Fw|&
Bs '=YK$
struts.velocity.toolboxlocation ]2&RN@
The location of the Velocity toolbox tJ7tZ~Ak
velocity工具盒的位置 Z" l].\=
F
struts.xslt.nocache 4j,6t|T
Whether or not XSLT templates should not be cached :v45Ls4J
是否XSLT模版应该被缓存 vEE\{1