struts2的struts.properties配置文件详解 q$7/X;A
~'VVCtA
struts.action.extension gPcOm
b
The URL extension to use to determine if the request is meant for a Struts action gVI T6"/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^a?g~G
X]c>clk,
struts.configuration ~*hCTqHvN
The org.apache.struts2.config.Configuration implementation class v(~EO(n.
org.apache.struts2.config.Configuration接口名 rp,Us#>6
C"R}_C|r)*
struts.configuration.files 'H-hp
A list of configuration files automatically loaded by Struts YYF.0G}
struts自动加载的一个配置文件列表 3T~DeqAyw
c!]Q0ib6
struts.configuration.xml.reload >6Ody<JPHP
Whether to reload the XML configuration or not q_z ;kCHM
是否加载xml配置(true,false) (CrP6]=
BY>]6SrP
struts.continuations.package hUe\sv!x?
The package containing actions that use Rife continuations L3Ivm:
含有actions的完整连续的package名称 vY);7
3v>w$6
struts.custom.i18n.resources ih(A l<IS
Location of additional localization properties files to load =F/ EzS
加载附加的国际化属性文件(不包含.properties后缀) /5y _ <
l`rO)7
struts.custom.properties .s\_H,
Location of additional configuration properties files to load q+{yv
加载附加的配置文件的位置 KskPFXxP
3*#$:waGd
~WKWx.ul
struts.devMode hp$1c
Whether Struts is in development mode or not p
Cgm!t?/
是否为struts开发模式 ZDx1v_xr
g5lK&-yu]
struts.dispatcher.parametersWorkaround l._g[qa
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'tJxADK
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BMItHn].
=kjD ]+l
struts.enable.DynamicMethodInvocation : $N43_Wb
Allows one to disable dynamic method invocation from the URL N*SUA4bnuM
允许动态方法调用 D*t[5,~j
58t~? 2E
struts.freemarker.manager.classname gdkHaLL"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TUq
,
org.apache.struts2.views.freemarker.FreemarkerManager接口名 e,
}{$HStZ
d#|%h]
6
struts.i18n.encoding G6p R?K+
The encoding to use for localization messages V)]lca
国际化信息内码 CPcB17!
z[l_<`J$9
struts.i18n.reload ]T._TZ"
Whether the localization messages should automatically be reloaded &neB$m3y
是否国际化信息自动加载 E&>;a!0b]
9F7}1cH7g@
struts.locale T@mYHKu
The default locale for the Struts application NL &![;
默认的国际化地区信息 %lGT|XrY
t(1gJZs>kX
struts.mapper.class 00pe4^U
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x\ 8gb#8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 th}&|Y)T2
W/.Wp|C}K3
struts.multipart.maxSize =yZ6 $ hK
The maximize size of a multipart request (file upload) y=zs6HaS
multipart请求信息的最大尺寸(文件上传用) C:z7R" yj
.p%V]Ka
struts.multipart.parser O)c3Lm-w
The org.apache.struts2.dispatcher.multipart. X0 ]Se(
MultiPartRequest parser implementation for a multipart request (file upload) WF-^pfRq~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Kh{_BdN
r=# v@]zB
`$ pJ2S
struts.multipart.saveDir @ 1FWBH~
The directory to use for storing uploaded files jQ['f\R
设置存储上传文件的目录夹 VVqpzDoXG
(@Eb+8Zd
struts.objectFactory 6kO+E5;X
The com.opensymphony.xwork2.ObjectFactory implementation class vdd>\r)v
com.opensymphony.xwork2.ObjectFactory接口(spring) [a7S?%>Bh
j43i:c;F
struts.objectFactory.spring.autoWire <7o@7r'0
Whether Spring should autoWire or not WS"v"J%
是否自动绑定Spring ,{d=<j_
\6!s";=hQ
struts.objectFactory.spring.useClassCache Ict+|<f
Whether Spring should use its class cache or not F41g Mg
是否spring应该使用自身的cache 4%7Oaf>9
8#IEE|1
struts.objectTypeDeterminer 0yxwsBLy
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Yu:($//w
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o(D6
n<Ki.;-ZE
struts.serve.static.browserCache rB_ESNx
If static content served by the Struts filter should set browser caching header properties or not Y#FSU#a$<
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Hk?E0.
TIxlLOs
struts.serve.static |;R-q8
Whether the Struts filter should serve static content or not lHO.pN`2
是否struts过滤器应该提供静态内容 jV' tcFr4
tD])&0"(
struts.tag.altSyntax - XB[2h
Whether to use the alterative syntax for the tags or not 0G3T.4I
是否可以用替代的语法替代tags EGjzjuJu{
$YK~7!!
struts.ui.templateDir ~>$z1o&}.
The directory containing UI templates BJjx y0+
UI templates的目录夹 5Zl7crA [
}DQ[C&
struts.ui.theme J7k=5Fqej;
The default UI template theme
5"w%
默认的UI template主题 Tx(=4ALY
eNrwkV^
struts.url.http.port rLcXo%w
The HTTP port used by Struts URLs ZWx4/G
设置http端口 9g7Ok9dF
CFeAKjG
struts.url.https.port *2Q x69`
The HTTPS port used by Struts URLs Rk}=SB-
设置https端口 `tm(3pJ
xI8v'[3
struts.url.includeParams hroRDD
The default includeParams method to generate Struts URLs F8B:P7I
在url中产生 默认的includeParams j2 jUrl
uKo4nXVtp
>Vb V<ak
struts.velocity.configfile ihIRB9
The Velocity configuration file path \{1Vjo
velocity配置文件路径 xt8@l
[Z
9\i^.2&
struts.velocity.contexts kp*BAQ
List of Velocity context names H}lbF0`
velocity的context列表 +'UxO'v3]
)T@+"Pw8t
\p\rPfY{>
struts.velocity.manager.classname g$mqAz<
org.apache.struts2.views.velocity.VelocityManager implementation class %Gm4,+8P3o
org.apache.struts2.views.velocity.VelocityManager接口名 WiFZY*iu5
h|ja67VG
struts.velocity.toolboxlocation \?AA:U*
The location of the Velocity toolbox kaV Ye)~
velocity工具盒的位置 MsA)Y
struts.xslt.nocache !DeU8.%
Whether or not XSLT templates should not be cached @4jPaqa(
是否XSLT模版应该被缓存 o
Hrx$>W]