struts2的struts.properties配置文件详解 x {Rj2~KC
[8b{Ybaz
struts.action.extension s2tNQtq0W
The URL extension to use to determine if the request is meant for a Struts action HS.eK#:N
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (6)|v S
Rs'mk6+
struts.configuration t,~feW,
The org.apache.struts2.config.Configuration implementation class Ch=jt*0
org.apache.struts2.config.Configuration接口名 +nYF9z2
3cH^
,F
struts.configuration.files 5uM`4xkj
A list of configuration files automatically loaded by Struts vQ5rhRG)E
struts自动加载的一个配置文件列表 e{Mkwi+j
5 yL"=3&+
struts.configuration.xml.reload t,5AoK/NL9
Whether to reload the XML configuration or not `j6O
是否加载xml配置(true,false) k
c L
+
V' sq'XB
struts.continuations.package M\08 7k
The package containing actions that use Rife continuations SR4 mbQ:
含有actions的完整连续的package名称 j3o?B
_bCIVf`
struts.custom.i18n.resources ) C#>@W
Location of additional localization properties files to load @Y%i`}T%(
加载附加的国际化属性文件(不包含.properties后缀) p13y`sU=
^Y"|2 :
struts.custom.properties oPxh+|0?
Location of additional configuration properties files to load I_`$$-|
加载附加的配置文件的位置 2N&S__
q' t"
/7R0w
struts.devMode 9 b&HqkXX
Whether Struts is in development mode or not PmUq~YZ7
是否为struts开发模式 e=i9l
dY?>:ce
struts.dispatcher.parametersWorkaround 1mv8[^pF
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /p{$HkVw
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \NL*$SnxP
q] '2'"k
struts.enable.DynamicMethodInvocation !imjfkG
Allows one to disable dynamic method invocation from the URL |x ir93 |
允许动态方法调用 9+'*
ATD4%|a9h
struts.freemarker.manager.classname opReAU'I
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g|{Ru
org.apache.struts2.views.freemarker.FreemarkerManager接口名 .V{y9e+
NE?tfj
struts.i18n.encoding fc^d3wH0L
The encoding to use for localization messages hIo^/_K
国际化信息内码 J)^Kls\>t
g0s*4E
struts.i18n.reload NV18~5#</
Whether the localization messages should automatically be reloaded xf3/J{n3
是否国际化信息自动加载 &A&2z l %#
\lpvRZ\L&g
struts.locale 9!Bz)dJ3
The default locale for the Struts application LII4sf]
默认的国际化地区信息 JF9r[%
U;]h/3P
struts.mapper.class fp$U%uj
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2()/l9.O'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y-v6M3$
^B'N\[
struts.multipart.maxSize $btk48a 7
The maximize size of a multipart request (file upload) ^Zq3K
multipart请求信息的最大尺寸(文件上传用) LHusy;<E[
$*+`;PG-
struts.multipart.parser pE]s>Ta
The org.apache.struts2.dispatcher.multipart. (+9^)No
MultiPartRequest parser implementation for a multipart request (file upload) o[k,{`M0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HA;G{[X
j>O!|V
NY%=6><t!
struts.multipart.saveDir u:}yE^8 @
The directory to use for storing uploaded files
rUBc5@|
设置存储上传文件的目录夹 (p? B=
>'{'v[qR[G
struts.objectFactory b59NMGn
The com.opensymphony.xwork2.ObjectFactory implementation class 4^K<RSYs
com.opensymphony.xwork2.ObjectFactory接口(spring) jY$3
_vOSOnU
struts.objectFactory.spring.autoWire Vdb X4^V
Whether Spring should autoWire or not ~J1UzUxX2
是否自动绑定Spring K;~I;G
u[LsH
struts.objectFactory.spring.useClassCache tzG.)Uqs
Whether Spring should use its class cache or not &BRi& &f
是否spring应该使用自身的cache ?[hkh8|
90
pt'Jg
struts.objectTypeDeterminer ~=c[?:
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N'M+Z=!
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
+`~kt4W
6F?U:N#<
struts.serve.static.browserCache j7=x&)qbx
If static content served by the Struts filter should set browser caching header properties or not x|A{|oFC
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6iJ\7
'n7Ld6%1
struts.serve.static MOu=
Whether the Struts filter should serve static content or not uVLKR PY
是否struts过滤器应该提供静态内容 LVNJlRK
)uH#+IU
struts.tag.altSyntax Q|nGY:98
Whether to use the alterative syntax for the tags or not hv9k9i7@l
是否可以用替代的语法替代tags f26hB;n
JrwR:_+|
struts.ui.templateDir y(=$z/
The directory containing UI templates E3 aj
UI templates的目录夹 m 3"|$0C~
??? ;H
struts.ui.theme +IbQVU~/
The default UI template theme ivP#qM1*;
默认的UI template主题 j#
!U6T
oTxE]a,
struts.url.http.port e'5sT#T9 l
The HTTP port used by Struts URLs \t%rIr
设置http端口 5VK.Zs\
6 9EdMuf
struts.url.https.port )\fLS d
The HTTPS port used by Struts URLs P~ODd(
设置https端口 ,(Nr_K
qBcwM=R3P
struts.url.includeParams 0tp3mYd
The default includeParams method to generate Struts URLs +jGSD@32>
在url中产生 默认的includeParams ])$Rw$`w
%j2ZQ/z
uxD$dd?
struts.velocity.configfile .a]9 rQQ&_
The Velocity configuration file path L
[=JHW
velocity配置文件路径 I@o42% w2
<P1x3
struts.velocity.contexts {|/y/xYgy'
List of Velocity context names @hj5j;NHK
velocity的context列表 0m&W: c
{K >}eO:K
yDe#,|-p
struts.velocity.manager.classname *BAR`+;U
org.apache.struts2.views.velocity.VelocityManager implementation class )XoIb[s"
org.apache.struts2.views.velocity.VelocityManager接口名 xPorlX)zW
f|'8~C5I@>
struts.velocity.toolboxlocation @0U={qX
The location of the Velocity toolbox h5VZ-v_j
velocity工具盒的位置 >):^Zs
struts.xslt.nocache ^*_|26
Whether or not XSLT templates should not be cached 3.<E{E!F
是否XSLT模版应该被缓存 ctu`FQ