struts2的struts.properties配置文件详解 | ql!@M(p
PMkwY{.u
struts.action.extension zgVplp
The URL extension to use to determine if the request is meant for a Struts action Og-Mnx3
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uodO^5"-
1gH5#_?
struts.configuration [NaU\;w\
The org.apache.struts2.config.Configuration implementation class V}@c5)(j
org.apache.struts2.config.Configuration接口名 bCA3w%,kM
]:]2f9y
struts.configuration.files )mwY]
!
A list of configuration files automatically loaded by Struts nef-xxXC^I
struts自动加载的一个配置文件列表 2yeq2v
!YAkHrF`[0
struts.configuration.xml.reload H${Ym BG
Whether to reload the XML configuration or not s7df<dBC
是否加载xml配置(true,false) h'T\gF E%
UDuKG\_J<y
struts.continuations.package WDgp(Av!
The package containing actions that use Rife continuations nE::9Yh8z
含有actions的完整连续的package名称
'6
w|z^
zCPjuS/~
Q
struts.custom.i18n.resources 1NJ*EzJ~?
Location of additional localization properties files to load ~x>IN1Vci
加载附加的国际化属性文件(不包含.properties后缀) 0fNWI
KGK8;Q,O
struts.custom.properties 8v(Xr}q,r
Location of additional configuration properties files to load (;Lz`r'
加载附加的配置文件的位置 ux{OgFfi
:UFf6T?
w_A-:S
5C
struts.devMode o)1wF
X
Whether Struts is in development mode or not lywcT! <
是否为struts开发模式 1\zI#"b ^
Zj`eR\7~
struts.dispatcher.parametersWorkaround 1mA)=hu
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ig$5Ui
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .[K{;^>
9H P)@66
struts.enable.DynamicMethodInvocation Oi
l>bv8
Allows one to disable dynamic method invocation from the URL 1Kwl_jf
允许动态方法调用 ilFM+x@
R Af+%h*
struts.freemarker.manager.classname zse!t
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S,Tm=} wj
org.apache.struts2.views.freemarker.FreemarkerManager接口名 I|iI
,l/9
15 nc
struts.i18n.encoding qxd{c8
The encoding to use for localization messages ^_2Ki
国际化信息内码 \gIdg:"02
US>
m1KsX
struts.i18n.reload Uc7X)
Whether the localization messages should automatically be reloaded x1A^QIuxO
是否国际化信息自动加载 z[OW%(vrm
H]@Zp"7
struts.locale ^{Syg;F=
The default locale for the Struts application XXe7w3x{
默认的国际化地区信息 (
B50~it
$OjsaE%
struts.mapper.class i.K}(bo;b
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nJ2l$J<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 a$9UUH-|
h3O5DP6~
struts.multipart.maxSize UPJgTN*
The maximize size of a multipart request (file upload) YXD1B`23
multipart请求信息的最大尺寸(文件上传用) Eb{TKz?
KHF5Nt
struts.multipart.parser <<n8 P5pXt
The org.apache.struts2.dispatcher.multipart. F!a YK2
MultiPartRequest parser implementation for a multipart request (file upload) ~{+J~5!;<H
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TD\QX2m
Lg9ktRKK
xx/DD%IZ
struts.multipart.saveDir T
0^U
]C
The directory to use for storing uploaded files U0)(k}Q)
设置存储上传文件的目录夹 Qy4AuMU2
Z/Mp=273
struts.objectFactory Za=<euc7
The com.opensymphony.xwork2.ObjectFactory implementation class :Z1_;`>CT
com.opensymphony.xwork2.ObjectFactory接口(spring) QKHm OVh]
NK"y@)%0
struts.objectFactory.spring.autoWire I`5MAvP
Whether Spring should autoWire or not ]G|@F
:
是否自动绑定Spring "q]v2t
u45e>F=
struts.objectFactory.spring.useClassCache V|b?H6Q
Whether Spring should use its class cache or not zRf]SZ(tO
是否spring应该使用自身的cache YK"({Z>U
v
SWqOv$
struts.objectTypeDeterminer {/B) YR
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s'LG3YV-<
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hoU&'P8
Rzb663d
struts.serve.static.browserCache lG jdDqi
If static content served by the Struts filter should set browser caching header properties or not TXrC5AJx
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ](8XC_-U'
Uv%"45&7
struts.serve.static p8F|]6Z
Whether the Struts filter should serve static content or not NPf,9c;
是否struts过滤器应该提供静态内容 }m0Lr:vq<r
M5P63=1+
struts.tag.altSyntax FIG5]u
Whether to use the alterative syntax for the tags or not ?]paAP;4
是否可以用替代的语法替代tags Kz^aW
3c-ve$8u~
struts.ui.templateDir I94;1(Cs%
The directory containing UI templates F}.Af=<Q
UI templates的目录夹 39k
P)cD
#uey1I@"9
struts.ui.theme urtcSq&H'
The default UI template theme CWC*bkd5a
默认的UI template主题 UbMcXH8=F
7&HP2r
struts.url.http.port #*Mk@XrV
The HTTP port used by Struts URLs y{jv-&!xB
设置http端口 )03.6Pvs
j-A
S {w
struts.url.https.port b*p,s9k7
The HTTPS port used by Struts URLs av`b8cGg
设置https端口 zb;2xTH+
4tq>Lx^5U
struts.url.includeParams $xloB
The default includeParams method to generate Struts URLs <`MHra8
在url中产生 默认的includeParams >6<g5ps.n
KP:O]520
U*6-Y%7
struts.velocity.configfile e=2;z
The Velocity configuration file path Ulktd^A\
velocity配置文件路径 75^-93
jhg!K.A
struts.velocity.contexts A;Zg:
List of Velocity context names =8tduB
velocity的context列表 W^yF5
!;R{-
OgOu$.
struts.velocity.manager.classname ~t#'X8.)
org.apache.struts2.views.velocity.VelocityManager implementation class VfZ/SByh7p
org.apache.struts2.views.velocity.VelocityManager接口名 2\s-4H|
q
yn%w'
struts.velocity.toolboxlocation o'H$g%
The location of the Velocity toolbox FWD9!M K
velocity工具盒的位置 )hQ`l d7B
struts.xslt.nocache QQrvT,]
Whether or not XSLT templates should not be cached WP}__1!%u
是否XSLT模版应该被缓存 4Y-9W2s