struts2的struts.properties配置文件详解 G"5Nj3vd
PxfeU2^{0
struts.action.extension SL hki)|
The URL extension to use to determine if the request is meant for a Struts action y$r9Y!?s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l(v$+
l#\z3"b
struts.configuration KQJn\#>
The org.apache.struts2.config.Configuration implementation class Jk}L+Xvv
org.apache.struts2.config.Configuration接口名 P qagep d
+h9UV
struts.configuration.files ?LV-W
A list of configuration files automatically loaded by Struts =mi:<q
struts自动加载的一个配置文件列表 V'Z&>6Z
68J 9T^84
struts.configuration.xml.reload J2oWssw"
Whether to reload the XML configuration or not dY4k9p8
是否加载xml配置(true,false) iBtjd`V*
[`hE^chd
struts.continuations.package {#w A!>.
The package containing actions that use Rife continuations 6m-:F.k1(
含有actions的完整连续的package名称 rt 3f7 s*
f- k|w%R@
struts.custom.i18n.resources { /F rs*AF
Location of additional localization properties files to load Mf;|z0UX
加载附加的国际化属性文件(不包含.properties后缀) Uaus>Frx.T
=YXe1$ $
struts.custom.properties j*eUF-J1
Location of additional configuration properties files to load ]8xc?*i8
加载附加的配置文件的位置 c4ZuW_&:
T<TcV9vM
_X,[]+ziu%
struts.devMode /slm
]'
Whether Struts is in development mode or not *gM,x4 Y
是否为struts开发模式 EI=Naq
V>FT~k_"
struts.dispatcher.parametersWorkaround d4y9AE@k
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FUyB"-<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s.R-<Y3
|P,zGy
struts.enable.DynamicMethodInvocation (
K6~Tj
Allows one to disable dynamic method invocation from the URL `?zg3GD_
允许动态方法调用 Sc4obcw%
LC,*H0
struts.freemarker.manager.classname !cEbzb
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L(WL,xnBy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 W.#}qK"
q
G%P>Ag
struts.i18n.encoding Hhe{ +W@~
The encoding to use for localization messages P+)qE6\
国际化信息内码 74@lo-/LY
heE}_,$|
struts.i18n.reload ia%z+:G
Whether the localization messages should automatically be reloaded @uI?
是否国际化信息自动加载 ADv^eJJ|
DS#cm3
struts.locale a|DsHZ^6^
The default locale for the Struts application Q^z=w![z
默认的国际化地区信息 mR{CVU
Y7<zm}=(/
struts.mapper.class Vq3gceo'0A
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ==QWwPpA
org.apache.struts2.dispatcher.mapper.ActionMapper接口 hpbwZ
(C8 U
struts.multipart.maxSize doP$N3Zm
The maximize size of a multipart request (file upload) v ! 7s
M
multipart请求信息的最大尺寸(文件上传用) _GVE^yW~z
U@Z>/ q
struts.multipart.parser nNt*} k
The org.apache.struts2.dispatcher.multipart. yfmp$GO:
MultiPartRequest parser implementation for a multipart request (file upload) o&(wg(Rv
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8YuJ8KC
-PNi^
K_
y[:
~CL
struts.multipart.saveDir v8ba~
The directory to use for storing uploaded files 21r==
H$
设置存储上传文件的目录夹 T vrk^!
(GCG/8s
struts.objectFactory Iz
DG&c
The com.opensymphony.xwork2.ObjectFactory implementation class 8zhBA9Y#~
com.opensymphony.xwork2.ObjectFactory接口(spring) y }\r#"Z`
x^A7'ad0
struts.objectFactory.spring.autoWire ""co6qo#>
Whether Spring should autoWire or not sX+`wc
是否自动绑定Spring T4mv%zzS
q@(1Yivk
struts.objectFactory.spring.useClassCache z{ptm7
Whether Spring should use its class cache or not 7;&(}
是否spring应该使用自身的cache y|$R`P
ev9;Ld
struts.objectTypeDeterminer "\e:h|
.G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *HR+a#o
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m#tpbFAsc
>lrhHU
struts.serve.static.browserCache GL1'Zo
If static content served by the Struts filter should set browser caching header properties or not JPEIT
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3KSpB;HX
(a[.vw^g
struts.serve.static &5?G-mn
Whether the Struts filter should serve static content or not PgMbMH
是否struts过滤器应该提供静态内容 v?L
[ `7%sn]$
struts.tag.altSyntax (8.{+8o
Whether to use the alterative syntax for the tags or not j~bAbOX12
是否可以用替代的语法替代tags iOX Z]Xj5
m`z7fi7u
struts.ui.templateDir /
s,tY74'5
The directory containing UI templates e@E17l-
UI templates的目录夹 #ZJMlJ:q`"
Vtr3G.P^
struts.ui.theme Ly;I,)w
The default UI template theme tJNIr5o
默认的UI template主题 zh\$t]d<I
4o<*PPA1
struts.url.http.port %}P4kEY
The HTTP port used by Struts URLs CE uWw:)
设置http端口 (89Ji'dc
C5|db{=\.*
struts.url.https.port <47k@Ym
The HTTPS port used by Struts URLs 7h%4]
设置https端口 &iNwvA%9D
gV8"VZg2
struts.url.includeParams hoenQ6N^:
The default includeParams method to generate Struts URLs #uSK#>H_!
在url中产生 默认的includeParams .wmnnvtl,
wd[eJcQ ,
afHaB/t{R
struts.velocity.configfile ks*Y9D*=
The Velocity configuration file path q*,Q5
velocity配置文件路径 uRE*%d>
)P?IqSEA%
struts.velocity.contexts re^Hc(8M
List of Velocity context names >c4/?YV
velocity的context列表 v?%LQKO
yhpz5[AuO
rEdY>\'
struts.velocity.manager.classname b7HffO O
org.apache.struts2.views.velocity.VelocityManager implementation class !4WEk
org.apache.struts2.views.velocity.VelocityManager接口名 T dk
,&8
5{K}?*3hJ
struts.velocity.toolboxlocation *FK`&(B+}
The location of the Velocity toolbox 0w %[
velocity工具盒的位置 j(eFoZz,
struts.xslt.nocache DVlJ*A
Whether or not XSLT templates should not be cached &fwS{n;U
是否XSLT模版应该被缓存 glE^t6)