struts2的struts.properties配置文件详解 v{ohrpb0v
w:deQ:k
struts.action.extension ^,ISz-4
The URL extension to use to determine if the request is meant for a Struts action 5psJv|Zo]
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 BgUp~zdo
z_R^C%0k
struts.configuration /@1YlxKF
The org.apache.struts2.config.Configuration implementation class [:gg3Qzx
org.apache.struts2.config.Configuration接口名 {5X,xdzR
_4L6
struts.configuration.files 5fiWo^s}
A list of configuration files automatically loaded by Struts %bF157X5An
struts自动加载的一个配置文件列表 ercXw7{
LS9,:!$
struts.configuration.xml.reload I}|a7,8
Whether to reload the XML configuration or not *VJ ISJC
是否加载xml配置(true,false) Nj2l>[L;
\n,L600`q
struts.continuations.package 0k16f3uI
The package containing actions that use Rife continuations *<67h*|)
含有actions的完整连续的package名称 r5nHYV&7
gYrB@W;2
struts.custom.i18n.resources FNF `Z
Location of additional localization properties files to load N*&T)a
加载附加的国际化属性文件(不包含.properties后缀) \ HUDZ2 s
j[A(@w"
struts.custom.properties c?_7e9}2
Location of additional configuration properties files to load 2#^g] o-N
加载附加的配置文件的位置 `JiWS
=Hd#"9-
0KgP'oWvY
struts.devMode V?G%-+^
Whether Struts is in development mode or not E' `;
是否为struts开发模式 d^6-P
R_
X-<,zRM
struts.dispatcher.parametersWorkaround pKq[F*Lut
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4XER7c
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1?|"33\03R
oNPvks dC;
struts.enable.DynamicMethodInvocation P)f8lU^z
Allows one to disable dynamic method invocation from the URL g&F$hm
允许动态方法调用 nM.g8d K
d
([~o
struts.freemarker.manager.classname yc3/5]E&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )}N:t:rry
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .|go$}Fk
p~8 O6h@J
struts.i18n.encoding j_}:=3
The encoding to use for localization messages 0%L:jq{5
国际化信息内码 ~!5Qb{^
s6!&4=ZA
struts.i18n.reload "~ $i#
Whether the localization messages should automatically be reloaded ZpOME@9,
是否国际化信息自动加载 @SxZ>|r-|v
:* ]#n
struts.locale =gJ{75tV3
The default locale for the Struts application nyR<pnuC'
默认的国际化地区信息 fUWrR1
JmR2skoV,
struts.mapper.class %Y;^$%X%_
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d1c+Ii%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 rm3/R<
JHm Pa
struts.multipart.maxSize !<~.>5UQ
The maximize size of a multipart request (file upload) +
<E
zv
multipart请求信息的最大尺寸(文件上传用) :ZB.I(v
+8?18@obp
struts.multipart.parser 9%NsW3|
The org.apache.struts2.dispatcher.multipart. yeta)@nH
MultiPartRequest parser implementation for a multipart request (file upload) )b]wpEFl
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g.`Ntsi$wI
sBI/`dGZV
O-UA2?N@j
struts.multipart.saveDir y_n4Y[4g
The directory to use for storing uploaded files svEe@Kt`
设置存储上传文件的目录夹 dz/@]a
1DAU*^-
struts.objectFactory LB]3-FsU+
The com.opensymphony.xwork2.ObjectFactory implementation class K O\HH
com.opensymphony.xwork2.ObjectFactory接口(spring) l"dXL"h
c\rP
-"C
struts.objectFactory.spring.autoWire }UGSE2^1
Whether Spring should autoWire or not 4<UAT|L^`
是否自动绑定Spring
qCrpc=
&53,8r
struts.objectFactory.spring.useClassCache T>(X`(
Whether Spring should use its class cache or not v8 =#1YB;
是否spring应该使用自身的cache ,GVX1B?
l%mp49<
struts.objectTypeDeterminer >S }X)4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #Ox@[Z1I
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Pb T2-
F_
$X Uck[
struts.serve.static.browserCache V1d#7rP
If static content served by the Struts filter should set browser caching header properties or not ?b(wZ-/
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 s
Y1@~ v
s=jH1^
struts.serve.static ZaY|v-
Whether the Struts filter should serve static content or not <h#W*a
是否struts过滤器应该提供静态内容 )ej1)RU"
H"w;~;h
struts.tag.altSyntax ;Qt/(/
Whether to use the alterative syntax for the tags or not Oj%5FUP~[%
是否可以用替代的语法替代tags jGkDD8K [
v+g:0
C5
(
struts.ui.templateDir s92ol0`
The directory containing UI templates ZEDvY=@a
UI templates的目录夹 q+8de_"]
AHuIA{AdUR
struts.ui.theme [+b8
!'|&
The default UI template theme 19O
默认的UI template主题 ;/4x.t#b
F`eE*&
struts.url.http.port pO)EYla9
The HTTP port used by Struts URLs i; ]0>g4
设置http端口 cjGN=|`u
*u|1Z%XO
struts.url.https.port 5
Slz^@n
The HTTPS port used by Struts URLs x5\D u63
设置https端口 @.k^ 8hc
M'R
] ''
struts.url.includeParams ~QUNR?h
The default includeParams method to generate Struts URLs l{^s4
在url中产生 默认的includeParams L{IMZ+IB2|
6l4=
^b5+A6?
struts.velocity.configfile Io
IhQ
The Velocity configuration file path G^h:#T
velocity配置文件路径 g^|R;s{
(m Yi
struts.velocity.contexts *rxYal4ad
List of Velocity context names g.62XZF@
velocity的context列表 qk^/&j
|/xA5_-N
E6xdPjoWy
struts.velocity.manager.classname hfbu+w):
org.apache.struts2.views.velocity.VelocityManager implementation class {0,6-dd5
org.apache.struts2.views.velocity.VelocityManager接口名 sx7zRw
>X
T3=h7a %=
struts.velocity.toolboxlocation [x,
`)Fk
The location of the Velocity toolbox -:r<sv$
velocity工具盒的位置 fH9"sBiO
struts.xslt.nocache Ex]Ku
Whether or not XSLT templates should not be cached xuqG)HthRS
是否XSLT模版应该被缓存 4/*@cW