struts2的struts.properties配置文件详解 X%
X
&<
d'2q~
struts.action.extension YOQ>A*@4
The URL extension to use to determine if the request is meant for a Struts action /7hC
/!@
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?k+>~k{}a
OtZc;c
struts.configuration nP#|JRn=
The org.apache.struts2.config.Configuration implementation class @y(<4kLz
org.apache.struts2.config.Configuration接口名 Mh8s @g
N~+ e\K6
struts.configuration.files o((!3H{D
A list of configuration files automatically loaded by Struts KYR64[1
struts自动加载的一个配置文件列表 =>X"
Z Z9D6+R
struts.configuration.xml.reload BMYvxSsm
Whether to reload the XML configuration or not UB,:won
是否加载xml配置(true,false) oP_}C[
T[ltOQw?Y
struts.continuations.package Zk>#T:{h
The package containing actions that use Rife continuations .A
apO}{
含有actions的完整连续的package名称 lB*HLC
<CGABlZ
struts.custom.i18n.resources tFu"h1
Location of additional localization properties files to load ^~7ouA
加载附加的国际化属性文件(不包含.properties后缀) -^$`5Rk
Eh&-b6:
struts.custom.properties
>8.o
Location of additional configuration properties files to load >o )v
加载附加的配置文件的位置 [(*?
)<[)7`
4x|\xg(
l
struts.devMode N;R I
A
Whether Struts is in development mode or not 1h#e-Oyff
是否为struts开发模式 ^0HgE;4
*u ]aWx
struts.dispatcher.parametersWorkaround "wnN
0 p
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OQiyAyX
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) D.*o^{w|
.qS(-7<
struts.enable.DynamicMethodInvocation "ifv1KZ#
Allows one to disable dynamic method invocation from the URL SGP)A(,k9
允许动态方法调用 >>%E?'9A
`l0"4[?
struts.freemarker.manager.classname y&6 pc
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +d=w%r)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 PnZY%+[I
8c%_R23
struts.i18n.encoding 7'.]fs:
The encoding to use for localization messages #:s*Hy=
国际化信息内码 *AJYSa,z
7x#."6>Dy
struts.i18n.reload X.eocy
Whether the localization messages should automatically be reloaded #oJ%i+V
是否国际化信息自动加载 dfT
_~bG[lX !
struts.locale "Z)zKg
The default locale for the Struts application >E9 k5
默认的国际化地区信息 e[Jh7r>'
22@w:
struts.mapper.class rIeOli:<
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g17 fge6%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 nQ#NW8*Fs
5#~E[dr
struts.multipart.maxSize =0mn6b9-=
The maximize size of a multipart request (file upload) ={\9-JJhE
multipart请求信息的最大尺寸(文件上传用) 65l9dM2
b<j*;n.
struts.multipart.parser Y2$xlqQd"
The org.apache.struts2.dispatcher.multipart. ,"5][RsOn
MultiPartRequest parser implementation for a multipart request (file upload) /YHnt-}v,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1!;4I@W(I)
La$?/\Dv)
+NTC!/
struts.multipart.saveDir xwojjiV
The directory to use for storing uploaded files soh9Oedml-
设置存储上传文件的目录夹 ]h'*L`
kL"Y>@H
struts.objectFactory pkc*toW
The com.opensymphony.xwork2.ObjectFactory implementation class K"8!
com.opensymphony.xwork2.ObjectFactory接口(spring) 10CRgrZ
~z'Y(qG
struts.objectFactory.spring.autoWire 5%"sv+iO
Whether Spring should autoWire or not gP`CQ0t
是否自动绑定Spring 6|QIzs<Z-X
b1EY6'R2
struts.objectFactory.spring.useClassCache K_%gda|l+
Whether Spring should use its class cache or not oB+Ek~{z]
是否spring应该使用自身的cache K{0 gkORF
Bi7&yS5V
struts.objectTypeDeterminer Bz?
(?fyd
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q-KBQc
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C?g<P0h
e17]{6y
struts.serve.static.browserCache 8aTo
TA7JA
If static content served by the Struts filter should set browser caching header properties or not v G~JK[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _|7bpt9
o,'Fz?[T%
struts.serve.static 2FQTu*p&B
Whether the Struts filter should serve static content or not g/gaPc*86
是否struts过滤器应该提供静态内容 a}[rk*QmZ
zT ")!Df>'
struts.tag.altSyntax _Zus4&'
Whether to use the alterative syntax for the tags or not W4=A.2[q
是否可以用替代的语法替代tags :XB^IyO-A
(#nB90E{*
struts.ui.templateDir W!JEl|]
The directory containing UI templates Lc0=5]D
UI templates的目录夹 vw
:&c.zd
|}Z2YDwO/
struts.ui.theme cG{
The default UI template theme ,,;vG6^a
默认的UI template主题 *hh iIiog+
*9(E0"
struts.url.http.port 8zQN[[#n
The HTTP port used by Struts URLs @4$la'XSx
设置http端口 E+J +fi
Wm/0Pi
struts.url.https.port w{ Pl
The HTTPS port used by Struts URLs c|X}[
设置https端口 V^_U=Ed@M
6ipQx/IQ
struts.url.includeParams ,;n[_f
The default includeParams method to generate Struts URLs w`[`:H_z
在url中产生 默认的includeParams B^C5?
vJe c+a
4c<\_\\ck
struts.velocity.configfile 'ql<R0g
The Velocity configuration file path u56F;y
velocity配置文件路径 ie7P^:T|+
)1f.=QZN^;
struts.velocity.contexts S2EV[K8#
List of Velocity context names l0eh}d
velocity的context列表 k=9k4l
Rg3g:TV9c
ynJ)6n7a
struts.velocity.manager.classname 9[h8Dy
org.apache.struts2.views.velocity.VelocityManager implementation class 6u xF<
org.apache.struts2.views.velocity.VelocityManager接口名 xW58B
SD jJ?K
struts.velocity.toolboxlocation ~|{_Go{
Q
The location of the Velocity toolbox |{La@X
velocity工具盒的位置 gps.
struts.xslt.nocache # ELYPp]6
Whether or not XSLT templates should not be cached %-
Ga^[
是否XSLT模版应该被缓存 ps33&