struts2的struts.properties配置文件详解 tb3VqFx
X]0>0=^
struts.action.extension eVXXn)>
The URL extension to use to determine if the request is meant for a Struts action Ed9Uw7
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
cw Obq\
U&5*>fd=
struts.configuration %Y^J''
The org.apache.struts2.config.Configuration implementation class [{x}# oRSE
org.apache.struts2.config.Configuration接口名 CKsVs.:u
^J'_CA
struts.configuration.files )Z}AhX
A list of configuration files automatically loaded by Struts ,lyW'<~gA
struts自动加载的一个配置文件列表 }#XFa#
Jup)m/
struts.configuration.xml.reload uDF;_bli)H
Whether to reload the XML configuration or not G.W !
是否加载xml配置(true,false) \(o"/*
9njwAKF?
struts.continuations.package Z~5) )5Ye;
The package containing actions that use Rife continuations hx;f/EPx
含有actions的完整连续的package名称 M+/xw8}a
Cm}2 >eH
struts.custom.i18n.resources r* *zjv>
Location of additional localization properties files to load wKV4-uyr
加载附加的国际化属性文件(不包含.properties后缀) 0'QWa{dS\
Uzu6>yT
struts.custom.properties <wH+\
Location of additional configuration properties files to load %`Re{%1;
加载附加的配置文件的位置 {28|LwmL
YGp+[|'
zw0w."V
struts.devMode Rj8%% G-pt
Whether Struts is in development mode or not JfY*#({y
是否为struts开发模式 X#Bb?Pv
'D\Q$q
struts.dispatcher.parametersWorkaround mgs(n5V5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V~J5x >O
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) / HTY>b
VtreOJ+
struts.enable.DynamicMethodInvocation _73q,3`24
Allows one to disable dynamic method invocation from the URL "q@m6fs
允许动态方法调用 c0!.ei
Tb/TP3N
struts.freemarker.manager.classname o4(*nz
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E-e(K8R
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @ZKf3,J0
6 SSDc/
struts.i18n.encoding ~/
%Xm<
The encoding to use for localization messages YO6BzS/~
国际化信息内码 [}RoZB&I
hlTbCl
struts.i18n.reload Yo-}uTkw
Whether the localization messages should automatically be reloaded DSGcxM+
是否国际化信息自动加载 ZykMri3bi
5of3&
struts.locale rr<E#w
The default locale for the Struts application <=uYfi 3,
默认的国际化地区信息 v*;d
enoj4g7em^
struts.mapper.class D7Q+w
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vDy&sgS$<
org.apache.struts2.dispatcher.mapper.ActionMapper接口 M[uWX=
hy;VvAH5
struts.multipart.maxSize f)I5=Ijy(
The maximize size of a multipart request (file upload) %|Ps|iV
multipart请求信息的最大尺寸(文件上传用) *[Hrbln
:5d>^6eoB?
struts.multipart.parser ZedFhm
The org.apache.struts2.dispatcher.multipart. 6CJMQi,kn
MultiPartRequest parser implementation for a multipart request (file upload) ngY%T5-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K*6 "c.D
$YYWpeW
'
y(A' *G9
struts.multipart.saveDir XtF
m5\U
The directory to use for storing uploaded files 4s\spvJ
设置存储上传文件的目录夹 [oWkd_dK
}D/+YG
struts.objectFactory 8*ZsR)!
The com.opensymphony.xwork2.ObjectFactory implementation class S_}`'Z )
com.opensymphony.xwork2.ObjectFactory接口(spring) Zg;$vIhn
gN&i&%*!
struts.objectFactory.spring.autoWire LQ0/oYmNc
Whether Spring should autoWire or not GW2\YU^{
是否自动绑定Spring :yay:3qv
UD I{4+z
struts.objectFactory.spring.useClassCache =:W2NN'
Whether Spring should use its class cache or not 8^mE<
是否spring应该使用自身的cache 0D-`>_
Et>#&Nw8
struts.objectTypeDeterminer
~zp8%lEe
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e3~MU6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _vQ52H,
|diI(2w
struts.serve.static.browserCache +`y(S}Z
If static content served by the Struts filter should set browser caching header properties or not "> uN={Iy
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VK}4<u
<}a?<):S
struts.serve.static "W<Y1$Y=Y
Whether the Struts filter should serve static content or not tjdPia
是否struts过滤器应该提供静态内容 Z9{~t
MJn-] E
struts.tag.altSyntax 0.GFg${v`
Whether to use the alterative syntax for the tags or not =C\Tl-$\f
是否可以用替代的语法替代tags l.YE@EL
L3&Ys3-h
struts.ui.templateDir \ovs[&
The directory containing UI templates ;p`1Y<d-O
UI templates的目录夹 ;\MWxh,K
C=D*
struts.ui.theme V&mkS
The default UI template theme M!&Hn,22
默认的UI template主题 0b&