struts2的struts.properties配置文件详解 "C19b:4H
-
'W++tH=
struts.action.extension I}6\Sv=
The URL extension to use to determine if the request is meant for a Struts action t&CJ%XP
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PuT@}tw
lq&wXi
struts.configuration YWe"zz
The org.apache.struts2.config.Configuration implementation class GlT7b/JCG
org.apache.struts2.config.Configuration接口名 Uo>]sNP~
2hkRd>)&5
struts.configuration.files 5>j)kx=J9
A list of configuration files automatically loaded by Struts 6qaQ[XTxf
struts自动加载的一个配置文件列表 TAF
PawH
h`k"A7M
struts.configuration.xml.reload /[)qEl2]K
Whether to reload the XML configuration or not 6&l+0dq
是否加载xml配置(true,false) rIhl.5Y
i2(1ki/|O
struts.continuations.package k_q0Q;6w!l
The package containing actions that use Rife continuations `gb5"`EZ
含有actions的完整连续的package名称 FPI;Jx6W'
^[XYFQ TL
struts.custom.i18n.resources #Av.iAs
Location of additional localization properties files to load ;@Z#b8aM}
加载附加的国际化属性文件(不包含.properties后缀) ?zVL;gVWA
f[~L?B;_L
struts.custom.properties M8Z2Pg\0
Location of additional configuration properties files to load "WK{ >T
加载附加的配置文件的位置 o=?C&f{
[uls8
"^/j
u1PaHgi$
struts.devMode c|62jY"$-2
Whether Struts is in development mode or not l0cA6b
是否为struts开发模式 ~-m "
\z7SkZt,GT
struts.dispatcher.parametersWorkaround rT5Ycm@
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9Z'8!$LYg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q51Uf_\/
p)3U7"q
struts.enable.DynamicMethodInvocation @u%_1
Allows one to disable dynamic method invocation from the URL EC8b=B<DE
允许动态方法调用 5qoSEI-m
ANSFdc
struts.freemarker.manager.classname F>[,zN
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :WL'cJ9a
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #x3ujJ
FE!lok
struts.i18n.encoding sHl>$Qevz
The encoding to use for localization messages 3?Pn6J{O
国际化信息内码 '07P&g-
1u(.T0j7f
struts.i18n.reload a5!Fv54
Whether the localization messages should automatically be reloaded $3uKw!z
是否国际化信息自动加载 MFm"G
z`FCs,?K
struts.locale B0WJ/)rK<
The default locale for the Struts application ez!C?
默认的国际化地区信息 8o0%@5M
09kt[
struts.mapper.class h!:~f-@j4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]U7KLUY>:
org.apache.struts2.dispatcher.mapper.ActionMapper接口 q)vplV1A
sx51X^d
struts.multipart.maxSize "=za??\K}
The maximize size of a multipart request (file upload) iVTGF<
multipart请求信息的最大尺寸(文件上传用) )}'U`'q
| j a-
struts.multipart.parser i?:_:"^x
The org.apache.struts2.dispatcher.multipart. [[Y0
MultiPartRequest parser implementation for a multipart request (file upload) JPWOPB'H
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~JDnKo
`zt_7MD
Vy,^)]
struts.multipart.saveDir ;~u{56
The directory to use for storing uploaded files pBP.x#|
设置存储上传文件的目录夹 FEW_bP/4
z2hc.29t
struts.objectFactory
\$OF1i@
The com.opensymphony.xwork2.ObjectFactory implementation class @b~fIW_3>
com.opensymphony.xwork2.ObjectFactory接口(spring) 9Q-*@6G
(N=5.7"T
struts.objectFactory.spring.autoWire { e5/+W
Whether Spring should autoWire or not tP%{P"g3^
是否自动绑定Spring -cm$[,b6
g{9+O7q
struts.objectFactory.spring.useClassCache -,{-bi
Whether Spring should use its class cache or not ]B]*/
是否spring应该使用自身的cache ]$\|ktY!
j$Je6zq0x
struts.objectTypeDeterminer ,SiY;(b=\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U*P. :BvG
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *(>}Y
dG71*)<)t
struts.serve.static.browserCache }sFm9j7yR
If static content served by the Struts filter should set browser caching header properties or not Iu*^xn
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C2w2252T
5W@jfh)
struts.serve.static v[n7"
Whether the Struts filter should serve static content or not D.6,VY H
是否struts过滤器应该提供静态内容 -+em!g'
'EfR|7m
struts.tag.altSyntax 4r0b)Y&I
Whether to use the alterative syntax for the tags or not Yl$SW;@
是否可以用替代的语法替代tags g@Qgxsyk>
b(I2m
struts.ui.templateDir PeE/iZ.
The directory containing UI templates 2kUxD8BcN
UI templates的目录夹 iTg; 7~1pY
@b3#X@e}
struts.ui.theme }Lw>I94e
The default UI template theme c9nH}/I_
默认的UI template主题 >xn}N6Rj2~
ulJX1I=|p
struts.url.http.port n%\
/J
The HTTP port used by Struts URLs 2{.QjYw^
设置http端口 \S)2
yj(vkifEB
struts.url.https.port ^@_m "^C
The HTTPS port used by Struts URLs +/;*|
设置https端口 zn@N'R/
(x$9~;<S*d
struts.url.includeParams `3'0I /d"z
The default includeParams method to generate Struts URLs Vax^8 -
在url中产生 默认的includeParams ZB[Qs
s{4 \xAS>
:aIN9;
struts.velocity.configfile <x),,a=X
The Velocity configuration file path :g\rQazxO
velocity配置文件路径 LR,7,DH$9'
')$NfarQ.
struts.velocity.contexts lw(e3j
List of Velocity context names ^v@4|E$
velocity的context列表 F("#^$
[|3>MZ2/
56Z\-=KAU
struts.velocity.manager.classname a3>zoN
org.apache.struts2.views.velocity.VelocityManager implementation class @i3bgx>_o
org.apache.struts2.views.velocity.VelocityManager接口名 9r2IuS0
io3yLIy,
struts.velocity.toolboxlocation *+b6B_u]
The location of the Velocity toolbox <p?&udqD
velocity工具盒的位置 X}6#II
struts.xslt.nocache *$M'`vj:
Whether or not XSLT templates should not be cached [!VOw@uz
是否XSLT模版应该被缓存 U#o'H @