struts2的struts.properties配置文件详解 !c;BOCqa
{qb2!}FQ
struts.action.extension >.r> aH
The URL extension to use to determine if the request is meant for a Struts action x"{WLZ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O_^t u?x
_qsg2e}n
struts.configuration ':DLv{R
The org.apache.struts2.config.Configuration implementation class %)sG 34
org.apache.struts2.config.Configuration接口名 s'=w/os
xMHu:,ND
struts.configuration.files |6!L\/}M%
A list of configuration files automatically loaded by Struts tVhf1TH#
struts自动加载的一个配置文件列表 $kd9^lj#[
Q3 yW#eD
struts.configuration.xml.reload #L9F\ <K
Whether to reload the XML configuration or not ,g:\8*Y>'
是否加载xml配置(true,false) 8"C[sRhz
p
#Y2v
struts.continuations.package fm$)?E_Rp
The package containing actions that use Rife continuations }S6"$R
含有actions的完整连续的package名称 &z?:s
_!E)a
struts.custom.i18n.resources /Bp5^(s
Location of additional localization properties files to load `R,g_{Mj
加载附加的国际化属性文件(不包含.properties后缀) # GOL%2X
A_2oQ*
struts.custom.properties L<Q>:U.@\
Location of additional configuration properties files to load )GR4U8<>g
加载附加的配置文件的位置 TcOmBKps'
L<0eIw
s|IC;C|
struts.devMode Ms14]M[\
Whether Struts is in development mode or not v&Oc,W
是否为struts开发模式 2dnyIgi
'yNS(Bg=
struts.dispatcher.parametersWorkaround rLp (}^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F-PQ`@ZNW
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vY2^*3\<D
m.w.h^f$&
struts.enable.DynamicMethodInvocation U$7]*#@&
Allows one to disable dynamic method invocation from the URL ?V' zG&n@
允许动态方法调用 cA{7*=G?
:4/37R(~l8
struts.freemarker.manager.classname }N0v_Nas;v
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1)hO!%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 tPaNhm[-q7
Zk>#T:{h
struts.i18n.encoding B;c2gu
The encoding to use for localization messages C^*3nd3
国际化信息内码 lB*HLC
2JL\1=k;
struts.i18n.reload l#fwNM/F
Whether the localization messages should automatically be reloaded tFu"h1
是否国际化信息自动加载 Qz`v0"'w
6D/K=-
struts.locale -^$`5Rk
The default locale for the Struts application Cnv?0to2l
默认的国际化地区信息 ^]X\boWlI
' ?uwUBi
struts.mapper.class rObg:(z&\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qaiR329fx
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,_z"3B)]
dzs(sM=
struts.multipart.maxSize #H.DnW
The maximize size of a multipart request (file upload) {P'^X+B0*
multipart请求信息的最大尺寸(文件上传用) xP-\)d-.aN
[^0 S#,L
struts.multipart.parser pYz\GSd
The org.apache.struts2.dispatcher.multipart. N;R I
A
MultiPartRequest parser implementation for a multipart request (file upload) +{L=cWA"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S,vh
U o[\1)
ZK5
wZU
struts.multipart.saveDir 5F$~ZDu
The directory to use for storing uploaded files HUalD3
\
设置存储上传文件的目录夹 'g:.&4x_w
/q5!p0fH*
struts.objectFactory ;}}k*<
Z
The com.opensymphony.xwork2.ObjectFactory implementation class ,vB~9^~
com.opensymphony.xwork2.ObjectFactory接口(spring) qyL!>kZr@
1C+d&U
struts.objectFactory.spring.autoWire Z7dyPR
Whether Spring should autoWire or not `l0"4[?
是否自动绑定Spring xTf|u
1<;G
oC"
struts.objectFactory.spring.useClassCache +d=w%r)
Whether Spring should use its class cache or not 3GPGwzX
|
是否spring应该使用自身的cache k\Z7Dg$\D
8c%_R23
struts.objectTypeDeterminer ~_a$5Y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class cf,^7,-`"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #:s*Hy=
dU&hM<.|
struts.serve.static.browserCache X=jHH=</
If static content served by the Struts filter should set browser caching header properties or not 7x#."6>Dy
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i,!t u
11?d,6Jl
struts.serve.static #oJ%i+V
Whether the Struts filter should serve static content or not =[LUOOR*]
是否struts过滤器应该提供静态内容 }6!m Q
_~bG[lX !
struts.tag.altSyntax tL]T_]z
Whether to use the alterative syntax for the tags or not P(aN6)D
是否可以用替代的语法替代tags ;k
(M4?
@ RP?)*8}&
struts.ui.templateDir -+y3~^EYm,
The directory containing UI templates 22@w:
UI templates的目录夹 AmB*4p5b
WSbD."p<
struts.ui.theme c7A]\1 ~
The default UI template theme 9QHV%%
默认的UI template主题 y'C
DLPg0>;jl
struts.url.http.port D[dI_|59a
The HTTP port used by Struts URLs B7(bNr
设置http端口
=@!s[
,j(S'Pw
struts.url.https.port T
3<2ds
The HTTPS port used by Struts URLs ;s?,QvE{r#
设置https端口 Xa$-Sx
yOO@v6jO)
struts.url.includeParams ,c|Ai(U
The default includeParams method to generate Struts URLs 1*?L>@Wdy
在url中产生 默认的includeParams ),XDY_9K
rmeGk&*R8
v9"03=h
struts.velocity.configfile +LF`ZXe8l
The Velocity configuration file path (BGflb
velocity配置文件路径 SW7AG;c=
3;F up4!4}
struts.velocity.contexts ` >[Offhd
List of Velocity context names cUr5x8<W).
velocity的context列表 _ ( $U\FW
<xUX&J=;
NIG*
}[}P
struts.velocity.manager.classname L[tq@[(IJ
org.apache.struts2.views.velocity.VelocityManager implementation class up2wkc8
org.apache.struts2.views.velocity.VelocityManager接口名 |!L0X@>
o]<J&<WM
struts.velocity.toolboxlocation Dlg9PyQ
The location of the Velocity toolbox c~u91h?
velocity工具盒的位置 !M}ZK(
struts.xslt.nocache dH)\zCt
Whether or not XSLT templates should not be cached IHv>V9yiG
是否XSLT模版应该被缓存 k,61Va