struts2的struts.properties配置文件详解 h3BDHz,
fZNWJo# `.
struts.action.extension %VsIg
The URL extension to use to determine if the request is meant for a Struts action NA-)7i*>J
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {[Z}<#n)
I?~iEO\nh
struts.configuration /xh/M@G3
The org.apache.struts2.config.Configuration implementation class aS)Gj?Odf
org.apache.struts2.config.Configuration接口名 NB#-W4NA
syB.Z-Cpd
struts.configuration.files 3?Tk[m1b
A list of configuration files automatically loaded by Struts Dqg~g|(Q<
struts自动加载的一个配置文件列表 G\ m`{jv
X0&[cyP!
struts.configuration.xml.reload D%,AdR"m
Whether to reload the XML configuration or not fKQq]&~
H
是否加载xml配置(true,false) Q3P*&6wA
>u/ T`$
struts.continuations.package ;RW024
The package containing actions that use Rife continuations N~0~1
WQn
含有actions的完整连续的package名称 N[j*Q 8X_
a%NSL6
struts.custom.i18n.resources pe@j`Sm:Ej
Location of additional localization properties files to load 9LK<u $C
加载附加的国际化属性文件(不包含.properties后缀) ["}Yp
[
m#|[%
struts.custom.properties vq;_x
Location of additional configuration properties files to load ^wTod\y
加载附加的配置文件的位置 xu(N'l.7&
)|Xi:Zd5>
]O 8hkGa
struts.devMode Ce-D^9kC
Whether Struts is in development mode or not E@N& Y1t
是否为struts开发模式 ]J)3y+;P
P8\bi"iiN
struts.dispatcher.parametersWorkaround p0b MgP
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5* 3T+OK
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5rPK7Jh`B
s!eB8lkcT
struts.enable.DynamicMethodInvocation 9%6W_0>
Allows one to disable dynamic method invocation from the URL %5rC`9^
允许动态方法调用
bMDj+i
_X"G(
struts.freemarker.manager.classname Y2 QX9RN
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 04}" n
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )D>= \Me
*wNO3tP't
struts.i18n.encoding Di>B:=
The encoding to use for localization messages x-Ug(/!^
国际化信息内码 Kjfpq!NYE
iW$f1=i
struts.i18n.reload PH6NU&H
Whether the localization messages should automatically be reloaded au~}s |#
是否国际化信息自动加载
r]lPXj(`
4!)=!sL;
struts.locale gkRbb
The default locale for the Struts application J%SuiT$L&Y
默认的国际化地区信息 qEy]Rc%
;rjd?r
struts.mapper.class ]^c]* O[8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'pQ\BH
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wD|I^y;
=lG/A[66
struts.multipart.maxSize =*Ru2
The maximize size of a multipart request (file upload) 9}*<8%PSt,
multipart请求信息的最大尺寸(文件上传用) @teNT"
X|wg7>kh*`
struts.multipart.parser JVawWw0q
The org.apache.struts2.dispatcher.multipart. :0'2m@x~
MultiPartRequest parser implementation for a multipart request (file upload) )"4v0dv
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *p=a-s5-
2Pz)vnV"
NU{`eM
struts.multipart.saveDir N "Mw1R4
The directory to use for storing uploaded files T]0H&Oov
设置存储上传文件的目录夹 qG?svt
W1;u%>Uh
struts.objectFactory c
D0-g=&
The com.opensymphony.xwork2.ObjectFactory implementation class ne-;gTP;
com.opensymphony.xwork2.ObjectFactory接口(spring) 8 bpYop7
L
7f,!xh$
struts.objectFactory.spring.autoWire 2SHS!6:Rl
Whether Spring should autoWire or not 5ON\Ve_H
是否自动绑定Spring e3!0<A[X
at5>h
struts.objectFactory.spring.useClassCache Lj#K^c Ee
Whether Spring should use its class cache or not /hksESiU
是否spring应该使用自身的cache _zF*S]9
X
Pt^SlX^MM
struts.objectTypeDeterminer zEN3Nn.8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class w(-h!d51+
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
1Bhd-
q[Ed6FM$~
struts.serve.static.browserCache c3]X#Qa#m$
If static content served by the Struts filter should set browser caching header properties or not 7ElU5I<S
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2ms@CQy(00
zc#$hIi
struts.serve.static DSX.84
Whether the Struts filter should serve static content or not 6l,oL'$}P1
是否struts过滤器应该提供静态内容
##_Jz 5P
@?E|]H!S]
struts.tag.altSyntax lS!uL9t.
Whether to use the alterative syntax for the tags or not %{*)-_M
是否可以用替代的语法替代tags 4Ow0g-{
IqrT@jgN-
struts.ui.templateDir z [9f
The directory containing UI templates '#Pg:v_
UI templates的目录夹 /.>8e%)
{M&Vh]
struts.ui.theme "2
"gTS
The default UI template theme ;(I')[R"
默认的UI template主题 ,UE>@;]
m&!4*D
struts.url.http.port h
qT6]*
The HTTP port used by Struts URLs ).D+/D/"2
设置http端口 :y%CP8
io{\+%;b~
struts.url.https.port [:*Jn}
The HTTPS port used by Struts URLs 3d81]!n
设置https端口 6xq/
jSc!"Trl]
struts.url.includeParams ecIZ+G)k
The default includeParams method to generate Struts URLs JT(6Uf
在url中产生 默认的includeParams }X?M6;$)
wcW8"J'AH
(eEs0
struts.velocity.configfile T\3aT
The Velocity configuration file path 5N.-m;s
velocity配置文件路径 O4lHR6M2
vn"+x_
struts.velocity.contexts p^>_VE[S
List of Velocity context names m?)REE
velocity的context列表 x_VD9
yNc"E
14Y<-OO:
k
struts.velocity.manager.classname @B#\3WNt
org.apache.struts2.views.velocity.VelocityManager implementation class '"Z\8;5i
org.apache.struts2.views.velocity.VelocityManager接口名 t'{IE!_
"`q:
struts.velocity.toolboxlocation g+1&l iV
The location of the Velocity toolbox ~>-MVp
velocity工具盒的位置 r=74'g
struts.xslt.nocache Md[M}d8
Whether or not XSLT templates should not be cached F(}~~EtPHo
是否XSLT模版应该被缓存 ;:DDz