struts2的struts.properties配置文件详解 #S"=)BZ8L
GZ1>]HB>r^
struts.action.extension c09 uCito
The URL extension to use to determine if the request is meant for a Struts action o]vd xkU]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?^hC|IR$
QxK%ZaFZA
struts.configuration T|u)5ww%
The org.apache.struts2.config.Configuration implementation class @!S5FOXipZ
org.apache.struts2.config.Configuration接口名 /N$T[
*]LM2J
struts.configuration.files <rU(zm
A list of configuration files automatically loaded by Struts |Qm 7x[i
struts自动加载的一个配置文件列表 w$p v
N;htKcZ
struts.configuration.xml.reload M*x_1h5n
Whether to reload the XML configuration or not )Z62xK2
是否加载xml配置(true,false) A9"ho}<
[mm5?23g
struts.continuations.package }&=C*5JN
The package containing actions that use Rife continuations \t}!Dr+yN
含有actions的完整连续的package名称 H*Yyo?
{h2D}F
struts.custom.i18n.resources 4`i_ 4&TS
Location of additional localization properties files to load @=$;^}JS|
加载附加的国际化属性文件(不包含.properties后缀) 5n_<)Ycj
Z@1rs#
struts.custom.properties sV-9 xh)i
Location of additional configuration properties files to load )msqt!Ev
加载附加的配置文件的位置 k?_Miqr
)0NA*<Q+.
@Fo0uy\G
struts.devMode $ED<:[3N
Whether Struts is in development mode or not +Ta7b)
是否为struts开发模式 }%%| '8
1:8ZS
struts.dispatcher.parametersWorkaround rwU[dqBRhc
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $Q62
7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]]Wa.P~]O
_KKG^
u<
struts.enable.DynamicMethodInvocation SA'
zy45
Allows one to disable dynamic method invocation from the URL R#oXQaBJ
允许动态方法调用 =l
{>-`:
^)X^Pcx
struts.freemarker.manager.classname KX{ S8_
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O<fbO7.-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 =E{1QA0
@@+\
struts.i18n.encoding 5=l Ava#
The encoding to use for localization messages m+CvU?)gJ
国际化信息内码 S/8xo@vct]
x6m21DW w
struts.i18n.reload syMB~g
Whether the localization messages should automatically be reloaded J PmW0wM
是否国际化信息自动加载 gVA$P
XmLHZ,/
struts.locale Tf` ~=fg%
The default locale for the Struts application qL(Qmgd
默认的国际化地区信息 s<n5^Vxy
p5E|0p
struts.mapper.class i,,U D
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZfS-W&6Z
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {um~]
st~f}w@
struts.multipart.maxSize {~ VgXkjsC
The maximize size of a multipart request (file upload) 5X'[{'i,
multipart请求信息的最大尺寸(文件上传用) Jgb{Tl:r
BJ1txdxvS
struts.multipart.parser #TRPq>XzD
The org.apache.struts2.dispatcher.multipart. ji:JLvf]%
MultiPartRequest parser implementation for a multipart request (file upload) flnoK%wi
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5s`NR<|2L
d.sxB}_O
Sky!ZN'I
struts.multipart.saveDir S'lZ'H /
The directory to use for storing uploaded files L=?Yc*vg
设置存储上传文件的目录夹 0fwo8NgX
[T.kwQf4$
struts.objectFactory Mvu!
The com.opensymphony.xwork2.ObjectFactory implementation class uee2WGD
com.opensymphony.xwork2.ObjectFactory接口(spring) M{Wla7
NbSkauF~b
struts.objectFactory.spring.autoWire P'R!"
#
Whether Spring should autoWire or not >}Za)
是否自动绑定Spring [PdatL2
Bzw~OB{!=J
struts.objectFactory.spring.useClassCache C&D!TR!K
Whether Spring should use its class cache or not vaW,O/F
是否spring应该使用自身的cache {b}Ri&oEOH
8N'[)Jw
struts.objectTypeDeterminer \GEFhM4)
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class glm29hF
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QQj)"XJ29
+' QX`
struts.serve.static.browserCache aTxss:7]
If static content served by the Struts filter should set browser caching header properties or not Dqs{n?@n
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nZ0-
Kb
ia?{]!7$
struts.serve.static o+r?N5
Whether the Struts filter should serve static content or not VE`5bD+%e
是否struts过滤器应该提供静态内容 An{`'U(l
F2saGpGH
struts.tag.altSyntax sB"Oi|#lk
Whether to use the alterative syntax for the tags or not %4*-BCP
是否可以用替代的语法替代tags +mIO*UQi
w^6rgCl
struts.ui.templateDir Gb4k5jl
The directory containing UI templates _
fJ5z
UI templates的目录夹 -W38#_y/\
wM9HZraB<
struts.ui.theme {N42z0c
The default UI template theme JK))Cuh
默认的UI template主题 |3<tDq@+
2~h! ouleY
struts.url.http.port aAhXHsZ|26
The HTTP port used by Struts URLs N_Q)AXr)
设置http端口 |`B*\\ 1
P/6$T2k_
struts.url.https.port <=[,_P6|
The HTTPS port used by Struts URLs Wn6~x2 LaV
设置https端口 ce7$r*@!
3M\~#>
struts.url.includeParams j}t"M|`
The default includeParams method to generate Struts URLs iI\bD
在url中产生 默认的includeParams <#/r.}.x
W}{RJWr
-5B>2K F
struts.velocity.configfile BPs|qb-
The Velocity configuration file path tUU`R{=(
velocity配置文件路径 Gmi ^2?Z(
%Z_/MNI
struts.velocity.contexts 3>asl54
List of Velocity context names gCfAy=-,V
velocity的context列表 $23*:)&J4
goBl~fqy0
G8AT]
=
struts.velocity.manager.classname $1lI6 =
,
org.apache.struts2.views.velocity.VelocityManager implementation class oHh~!#u
org.apache.struts2.views.velocity.VelocityManager接口名 sT8(f=^)8F
{&7%wZ"t_
struts.velocity.toolboxlocation K
?uHAm
The location of the Velocity toolbox ,'!x9 `
velocity工具盒的位置 y#tuwzE
struts.xslt.nocache \"k[y+O],4
Whether or not XSLT templates should not be cached r:N =?X`N
是否XSLT模版应该被缓存 v<0\+}T1R