struts2的struts.properties配置文件详解 /1ZRjf^
3B#qQ#
struts.action.extension 9frLYJz"
The URL extension to use to determine if the request is meant for a Struts action R7u &`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o.IJ4'}aN
SoX\S|}%6[
struts.configuration +6tj
w 6
The org.apache.struts2.config.Configuration implementation class
,83%18b
org.apache.struts2.config.Configuration接口名 %fB]N
U^iNOMs?
struts.configuration.files P%MYr"<$E
A list of configuration files automatically loaded by Struts IzPnbnS}
struts自动加载的一个配置文件列表 cKt=_4Lf
34S0W]V
struts.configuration.xml.reload xwK{}==U
Whether to reload the XML configuration or not &`+tWL6L
是否加载xml配置(true,false) +?r,Nn
lezX-5Z
struts.continuations.package E(]39B"i
The package containing actions that use Rife continuations .!|\Y!]^r
含有actions的完整连续的package名称 KQGdV{VFs
@I_!q*
struts.custom.i18n.resources /BEE.`6yI5
Location of additional localization properties files to load
i+r h&,
加载附加的国际化属性文件(不包含.properties后缀) o~<ith$A*
x_Y03__/
struts.custom.properties (55k70>i3
Location of additional configuration properties files to load H,8HGL[l
加载附加的配置文件的位置 EjxzX1:
j{ QzD^t
H!N`hEEj>
struts.devMode Lg6;FbY?
Whether Struts is in development mode or not .8[*`%K>
是否为struts开发模式 p1}umDb%
FFC"rG
struts.dispatcher.parametersWorkaround nh"8on]M~
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '0ks`a4q
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q`= ,&;T>
D1G9^7:^E
struts.enable.DynamicMethodInvocation =(]yl_
Allows one to disable dynamic method invocation from the URL ,u.G6"<
允许动态方法调用 +"P!es\q
|azdFf6A:[
struts.freemarker.manager.classname -!Ov{GHr0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nC6 ;:uM
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~;)H |R5kV
J_-K"T|f
struts.i18n.encoding 7&O0
The encoding to use for localization messages 5`>%{ o
国际化信息内码 {wK|C<K
n,Gvgf
struts.i18n.reload 5EX
Ghc'
Whether the localization messages should automatically be reloaded AQ)DiH
是否国际化信息自动加载 PS:"mP7n
'lWgHmE
struts.locale pB;8yz=
The default locale for the Struts application hBRcI0R
默认的国际化地区信息 tX.fbL@T
u%24%
Q
struts.mapper.class
>{1 i8 b@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @h
E7F}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 VRQD
o=)["V
struts.multipart.maxSize @3v[L<S{
The maximize size of a multipart request (file upload) bAwFC2jO[
multipart请求信息的最大尺寸(文件上传用) 7*>(C*q=
W*WSjuFr2
struts.multipart.parser \Y$@$)
The org.apache.struts2.dispatcher.multipart. P. Gmj;
MultiPartRequest parser implementation for a multipart request (file upload) OhW o
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
%G>
2qDyb]9
L43]0k
struts.multipart.saveDir 6}JW- sA
The directory to use for storing uploaded files rp_Aw
设置存储上传文件的目录夹 VlFhfOR6t
iPK:gK3Q
struts.objectFactory b{(= C
3
The com.opensymphony.xwork2.ObjectFactory implementation class L
IN$Y
com.opensymphony.xwork2.ObjectFactory接口(spring) W8N__
%(ms74R+
struts.objectFactory.spring.autoWire %T,cR>lw
Whether Spring should autoWire or not Xmv^O
是否自动绑定Spring Z@gEJ^"yA"
|0$7{nQ
struts.objectFactory.spring.useClassCache z|v/hUrD
Whether Spring should use its class cache or not !n`Y^
是否spring应该使用自身的cache >p>B-m
2B[I-
K s
struts.objectTypeDeterminer <G /a-Z
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H]PEE!C;xC
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 LPS]TG\
;t\C!A6
struts.serve.static.browserCache HImQ.y!B
If static content served by the Struts filter should set browser caching header properties or not 5NN`tv
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rd,5&X$
=q<t,U P8
struts.serve.static +qee8QH
Whether the Struts filter should serve static content or not I9hZ&ed16
是否struts过滤器应该提供静态内容 `s~[q
aB2t /ua
struts.tag.altSyntax N'=b8J-fF
Whether to use the alterative syntax for the tags or not <4RP:2#
是否可以用替代的语法替代tags {8w,{p`
[zr2\(
struts.ui.templateDir e6
a]XO^
The directory containing UI templates p&W{g$D>
UI templates的目录夹 VdF<#(X+
}q=uI`
struts.ui.theme B;r` 1
G
The default UI template theme :nn(Ndlz9
默认的UI template主题 ?xYoCn}Z
"q3W&@
struts.url.http.port !xz{X ?
The HTTP port used by Struts URLs fB`7f
$[
设置http端口 \KkAU 6
%]fi;Z
struts.url.https.port -b'a-?
The HTTPS port used by Struts URLs Mo0pN\A}h
设置https端口 Hi#f
Qji
;)'
struts.url.includeParams ^8{:RiN6e~
The default includeParams method to generate Struts URLs qTrb)95
在url中产生 默认的includeParams 1LonYAHF
YHfk; FI
BOWR}n!g
struts.velocity.configfile S%2q X"8
The Velocity configuration file path ,]Q
i/m
velocity配置文件路径 M}qrF~
a:}&v^v
struts.velocity.contexts < SvjvV
List of Velocity context names /r Z`e'}
velocity的context列表 (cdtUE8
BiCC72oig
QRAw#
struts.velocity.manager.classname z P=3B%$
org.apache.struts2.views.velocity.VelocityManager implementation class B|.8+Q
org.apache.struts2.views.velocity.VelocityManager接口名 CyV(+KBe_
e2vLUlL8
struts.velocity.toolboxlocation #/2W RN1L
The location of the Velocity toolbox g"|Z1iy|9
velocity工具盒的位置 z3(:a'
struts.xslt.nocache P=PVOt@
b
Whether or not XSLT templates should not be cached w5R?9"d@
是否XSLT模版应该被缓存 t+%tN^87: