struts2的struts.properties配置文件详解 2 lj'"nm
+z9Q-d%O
struts.action.extension Q4+gAS9
The URL extension to use to determine if the request is meant for a Struts action d/[;
`ZD+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }s(N6 a&(
~\Hc,5G
struts.configuration EdlTdn@A
The org.apache.struts2.config.Configuration implementation class <kGU,@6PF
org.apache.struts2.config.Configuration接口名 3QG7C{
%kS(LlL+6
struts.configuration.files +89*)pk
A list of configuration files automatically loaded by Struts 1guJG_;z
struts自动加载的一个配置文件列表 | N[<x@
g/P+ZXJ
struts.configuration.xml.reload -(
Whether to reload the XML configuration or not bYEy<7)x
是否加载xml配置(true,false) ,1 [q^-9
'}fzX2Q#
struts.continuations.package )n2 re?S
The package containing actions that use Rife continuations %Z):>'
含有actions的完整连续的package名称 | # 47O
\QYFAa
struts.custom.i18n.resources +kzo*zW$L
Location of additional localization properties files to load j@SQ~AS
加载附加的国际化属性文件(不包含.properties后缀) $npT[~U5
-_1>C\h"
struts.custom.properties 8=NM|i
Location of additional configuration properties files to load gj*+\3KO@a
加载附加的配置文件的位置 1JztFix
aX5
z&r:{
.(^ ,z&
struts.devMode f33 l$pOp
Whether Struts is in development mode or not -'t)=YJ
是否为struts开发模式 "Y~:|?(@-
(oEC6F
struts.dispatcher.parametersWorkaround IOqwCD[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hw=
Ft4L
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3HcQ(+Z
nlW +.a[
struts.enable.DynamicMethodInvocation Zc
W:6po>
Allows one to disable dynamic method invocation from the URL j2QmxTa!
允许动态方法调用 /SrCElabP
1Cv-
struts.freemarker.manager.classname ?u "
4@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7f0lQ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 K`u(/kz/<
`HZ;NRr
struts.i18n.encoding |}(`kW
The encoding to use for localization messages k'Sp.
国际化信息内码 |wH5sjT
0{,Z{&E
struts.i18n.reload dep=&
Whether the localization messages should automatically be reloaded EfCx`3~EX
是否国际化信息自动加载 Hn5|B 3vN
A
Q'J9
struts.locale (9Ux{@$o[
The default locale for the Struts application u>kN1k Q8
默认的国际化地区信息 YoBPLS`K
{q`jDDM
struts.mapper.class +yk24
`>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class g*03{l#P
org.apache.struts2.dispatcher.mapper.ActionMapper接口 6L"%e!be6
Z0Vl+
struts.multipart.maxSize |mGFts}0o'
The maximize size of a multipart request (file upload) ,
udTvI
multipart请求信息的最大尺寸(文件上传用) }bdmomV
2O.i\cH
struts.multipart.parser ]6TATPIr
The org.apache.struts2.dispatcher.multipart. ms*(9l.hOK
MultiPartRequest parser implementation for a multipart request (file upload) _kU:Z
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o<COm9)i
0K`#>}W#X
amOnqH-(
struts.multipart.saveDir :,'wVS8"]
The directory to use for storing uploaded files BG6B :
设置存储上传文件的目录夹 OY;*zk
Gd-'Z_ b
struts.objectFactory ~Y|*`C_)
The com.opensymphony.xwork2.ObjectFactory implementation class @mw5~ +
com.opensymphony.xwork2.ObjectFactory接口(spring) DU5c=rxW
[AYOYENp-
struts.objectFactory.spring.autoWire k1{K*O$e
Whether Spring should autoWire or not [lWQ'DZ
是否自动绑定Spring lDYyqG4
i rU 6D
struts.objectFactory.spring.useClassCache Y
}$/e
Whether Spring should use its class cache or not +nXK-g;)'
是否spring应该使用自身的cache =&ks)MH-
;<Ar=?
struts.objectTypeDeterminer Jk7|{W\OA
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {`LU+
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Sjvdirr
`$,GzS (
struts.serve.static.browserCache y9q8i(E0
If static content served by the Struts filter should set browser caching header properties or not LBM ^9W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nbm&wa[
1FlX'[vh
struts.serve.static U+:m4a
Whether the Struts filter should serve static content or not ]xRM&=)<
是否struts过滤器应该提供静态内容 \m(VdE
K{|p~B
struts.tag.altSyntax &cxRD
Whether to use the alterative syntax for the tags or not Y9uC&/_C
是否可以用替代的语法替代tags Pv_Jm
9N@W\DT
struts.ui.templateDir tzZ`2pSh
The directory containing UI templates &O9 |#YUq
UI templates的目录夹 )Im#dVQs=
bM {s
T"
struts.ui.theme *=]&&<
The default UI template theme ^(vs.U^U<
默认的UI template主题 mRL"nC
B@&4i?yJ
struts.url.http.port CG0
M
The HTTP port used by Struts URLs DI:]GED"=
设置http端口 NdMb)l)m
nuk*.Su
struts.url.https.port =Xi07_8Ic<
The HTTPS port used by Struts URLs 3Dng1}
设置https端口 :~2vJzp@?
';3{T:I
struts.url.includeParams "P7nNa
The default includeParams method to generate Struts URLs ;<&*rnH
在url中产生 默认的includeParams ar__ Pf6r
Jm xH"7hTE
uJzG|$;
struts.velocity.configfile
^
DaBz\
The Velocity configuration file path ^hc!FD
velocity配置文件路径 OGK}EI
,]9P{k]O
struts.velocity.contexts 9oYgl1}d
List of Velocity context names * @ 3Ag(
velocity的context列表 w,#>G07D
em,u(#)&
"i y
struts.velocity.manager.classname %zG;Q@
org.apache.struts2.views.velocity.VelocityManager implementation class vB.E3 r=
org.apache.struts2.views.velocity.VelocityManager接口名 K^1o DP
2bJQTk _S
struts.velocity.toolboxlocation tScPa,(
The location of the Velocity toolbox rp3V3]EE
velocity工具盒的位置 "W6uV!
struts.xslt.nocache OLyf8&AU@
Whether or not XSLT templates should not be cached gG0!C))8
是否XSLT模版应该被缓存 BXtCSfY$