struts2的struts.properties配置文件详解 [OOQ0c~
A2L"&dl
struts.action.extension ?5B?P:=kl
The URL extension to use to determine if the request is meant for a Struts action <VstnJo`Z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~&<vAgy,
Crj7n/mp]s
struts.configuration ]gnEo.R
The org.apache.struts2.config.Configuration implementation class = vF!
org.apache.struts2.config.Configuration接口名 0Ba]Zo Z
f>Ua 7!b
struts.configuration.files .]4MtG
A list of configuration files automatically loaded by Struts 9a+Y )?z
struts自动加载的一个配置文件列表 Hq gg*4#
0uM&F[.x@g
struts.configuration.xml.reload -\B*reC
Whether to reload the XML configuration or not b|E ZD3y
是否加载xml配置(true,false) -~(d_
HEc.3
struts.continuations.package J9XH8Grk-
The package containing actions that use Rife continuations T+RC#&>
含有actions的完整连续的package名称 [r Nd7-j <
t~4Cf])
struts.custom.i18n.resources aY.cx1"
Location of additional localization properties files to load w8$>
2
加载附加的国际化属性文件(不包含.properties后缀) `bV&n!Y_
p{ZyC
struts.custom.properties @T L|\T
Location of additional configuration properties files to load .w{Y3,dd>
加载附加的配置文件的位置 X}x\n\Z
%#&njP
KTot40osj
struts.devMode YuIF}mUr"
Whether Struts is in development mode or not >)diXe}j
是否为struts开发模式 +03/A`PKrB
6;s[dw5T
struts.dispatcher.parametersWorkaround |w#~v%w
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QT!>izgcU
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +C,/BuG
R:Ih#2R
struts.enable.DynamicMethodInvocation F1-C8V2H
Allows one to disable dynamic method invocation from the URL {SXSQ '=
允许动态方法调用 ^\`a-l^
!J@!2S9
struts.freemarker.manager.classname b]xoXC6@ t
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KkpbZ7\@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 #M'V%^x P
zv;xxAX
struts.i18n.encoding #+U1QOsz
The encoding to use for localization messages 1$C?+H
国际化信息内码 zv/dj04>
?fC9)s
struts.i18n.reload d8 Jf3Mo
Whether the localization messages should automatically be reloaded (.Ak*
是否国际化信息自动加载 CDuA2e
L$);50E
struts.locale |`o1B;lc
The default locale for the Struts application w8 UUeF
默认的国际化地区信息 0&Ftx%6%
3< 6h~ek)
struts.mapper.class /|}yf/^9X
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !m-`~3P#l,
org.apache.struts2.dispatcher.mapper.ActionMapper接口 .GNyADQp
$-t@=N@vO?
struts.multipart.maxSize /hVwrt(
The maximize size of a multipart request (file upload) jC}HNiM78
multipart请求信息的最大尺寸(文件上传用) E 11C@%
+Q);t,
struts.multipart.parser (5th
The org.apache.struts2.dispatcher.multipart. ='qVwM['
MultiPartRequest parser implementation for a multipart request (file upload) Hsv)]
%p
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]63!
Wc
IDos4nM27]
tk h
*su
struts.multipart.saveDir q I~*G3
The directory to use for storing uploaded files
$X/'BCb
设置存储上传文件的目录夹 Jn|i!
.b<W*4{j0H
struts.objectFactory :wg=H
The com.opensymphony.xwork2.ObjectFactory implementation class 0#uB[N
com.opensymphony.xwork2.ObjectFactory接口(spring) Qhc;Zl
J#i7'9g
struts.objectFactory.spring.autoWire _Ds,91<muQ
Whether Spring should autoWire or not y`7<c5zD
是否自动绑定Spring 6dz^%Ub
Ac|dmu
struts.objectFactory.spring.useClassCache %t!S 7UD
Whether Spring should use its class cache or not "sDs[Lcq
是否spring应该使用自身的cache \~Z%}$ =
'yA/sZ
struts.objectTypeDeterminer V'Kied+
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ZPb30M0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 q^zG+FN
-D=Sj@G
struts.serve.static.browserCache MVvBd3
If static content served by the Struts filter should set browser caching header properties or not j}
^3v #
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f#GMJ mCQs
hjFht+j1
struts.serve.static 7D:rq 8$\
Whether the Struts filter should serve static content or not 0pEM0M
是否struts过滤器应该提供静态内容 (&v|,.c^)1
nIfAG^?|*
struts.tag.altSyntax F|5Au>t
Whether to use the alterative syntax for the tags or not S|LY U!IWZ
是否可以用替代的语法替代tags $^?VyHXvY
_JNYvngm
struts.ui.templateDir r`EjD}2d
The directory containing UI templates F?H=2mzKbz
UI templates的目录夹 &zEBfr
U\j g X
struts.ui.theme u1#(~[.
The default UI template theme <? !'
默认的UI template主题 jg{2Sxf!c
i(cKg&+ktd
struts.url.http.port wJq$yqos{
The HTTP port used by Struts URLs Tt{z_gU6
设置http端口 !|u?z%
|?g-8":H8P
struts.url.https.port 2@2d
|
The HTTPS port used by Struts URLs D g0rVV6c
设置https端口 ['pO=ho
0hGmOUO
struts.url.includeParams MOCcp s*
The default includeParams method to generate Struts URLs 0wV9Trp
在url中产生 默认的includeParams g%[:wjV;
/w5*R5B{
Qb/:E}h]$
struts.velocity.configfile hf2bM
`d
The Velocity configuration file path Avi_]h&
velocity配置文件路径 _<sN54
H7;,Kr
struts.velocity.contexts Y2.zT6i
List of Velocity context names eXK3W2XF
velocity的context列表 Z^as ?k(iM
il!B={
L)F4)VL
struts.velocity.manager.classname H2#o
X
org.apache.struts2.views.velocity.VelocityManager implementation class u)o-H!a
org.apache.struts2.views.velocity.VelocityManager接口名 KZZ Y9
lA/-fUA
struts.velocity.toolboxlocation vBF9!6X .
The location of the Velocity toolbox e_KfnPY
velocity工具盒的位置 T7.SjR6X>
struts.xslt.nocache ug ;Xoh5w
Whether or not XSLT templates should not be cached 0^uUt-
是否XSLT模版应该被缓存 ~:f..|JM