struts2的struts.properties配置文件详解 OE/O:F:1j
@vaK-&|#$
struts.action.extension ]W%<<S
The URL extension to use to determine if the request is meant for a Struts action /%U+kW
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a ^b_&}y
Bn/{J
struts.configuration wvA@\-.+
The org.apache.struts2.config.Configuration implementation class amIG9:-1'
org.apache.struts2.config.Configuration接口名 v>71?te
@DrMaTr
struts.configuration.files Khxl'qj
A list of configuration files automatically loaded by Struts ALiXT8q
struts自动加载的一个配置文件列表 \5Jpr'mY5
m$:o+IH/
struts.configuration.xml.reload b{t'Doe
Whether to reload the XML configuration or not Uok?FEN
是否加载xml配置(true,false) lM5Xw
=?3D:k7z
struts.continuations.package Nd*zSsVlq
The package containing actions that use Rife continuations M: qeqn+
含有actions的完整连续的package名称 ^l6q
?y7x#_Exc
struts.custom.i18n.resources W9T,1h5x
Location of additional localization properties files to load y!Q&;xO+!
加载附加的国际化属性文件(不包含.properties后缀) kQ~*iY
.3&zP
struts.custom.properties IXugnvyV
Location of additional configuration properties files to load #|34(ML
加载附加的配置文件的位置 ;z>)&F
0zaE?dA]
(<pc4#B@*
struts.devMode /4]M*ls
Whether Struts is in development mode or not QOkPliX
是否为struts开发模式 l=ZhHON
Dm[4`p@IY\
struts.dispatcher.parametersWorkaround ]w(i,iJ
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #!KbqRt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .Kr?vD^nG
%9xz[Ng
struts.enable.DynamicMethodInvocation 41WnKz9c
Allows one to disable dynamic method invocation from the URL *S_eYKSl
允许动态方法调用 Dg4?,{c9W
rm NqS+t
struts.freemarker.manager.classname !h{qO&ZH=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2`Xy}9N/Y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }r6SV%]:
HP2]b?C
struts.i18n.encoding J
A ]s
The encoding to use for localization messages #n7uw
国际化信息内码 ao<@a{G
BM#cosV7%h
struts.i18n.reload UfSWdR)
Whether the localization messages should automatically be reloaded j9sf~}D>
是否国际化信息自动加载 [:
X
?C6iJnm
struts.locale ]n0kO&
The default locale for the Struts application vW
0m%
默认的国际化地区信息 b,8W
|
Pm6/sO
struts.mapper.class Tz1St{s\
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {mMrD 5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 EaG3:<>J
,Utp6X
struts.multipart.maxSize s2Ivd*=mT
The maximize size of a multipart request (file upload) veg\A+:'
multipart请求信息的最大尺寸(文件上传用) oW(p (>
~fn2B
struts.multipart.parser iK1<4)
The org.apache.struts2.dispatcher.multipart. 1K&z64Q5J
MultiPartRequest parser implementation for a multipart request (file upload) [J0L7p*6
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -4o6 OkK<
.OVIQxf
qCn(~:
struts.multipart.saveDir I3D8xl>P\
The directory to use for storing uploaded files Sb+pB58&N
设置存储上传文件的目录夹 l)fF)\ |;=
Qi#%&Jz>f
struts.objectFactory Z16G
The com.opensymphony.xwork2.ObjectFactory implementation class R 28v5
com.opensymphony.xwork2.ObjectFactory接口(spring) s!``OyI/Z
b&B<'Wb
struts.objectFactory.spring.autoWire #[C|%uq
Whether Spring should autoWire or not 8l0%:6XbI
是否自动绑定Spring 0ejx;Mum
n|Vs2 7
struts.objectFactory.spring.useClassCache s(J,TS#I]
Whether Spring should use its class cache or not B0NKav
是否spring应该使用自身的cache ' D+h_*H
d>eVR
struts.objectTypeDeterminer .HF+JHIUu
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f*7/O |Gp
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |j$&W;yC
IY?[ 0S
struts.serve.static.browserCache 3Ln~"HwP
If static content served by the Struts filter should set browser caching header properties or not bWo-(
qxq
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2c@R!*
5bR;R{:x
struts.serve.static /cUcfe#X
Whether the Struts filter should serve static content or not &xMR{:
是否struts过滤器应该提供静态内容 ={-\)j
R3<>]/1p|P
struts.tag.altSyntax c 's=>-X
Whether to use the alterative syntax for the tags or not 7-.YVM~R
是否可以用替代的语法替代tags /Ou`$2H87
*r$Yv&c,
struts.ui.templateDir ]fIv{[A_
The directory containing UI templates MbC7`Sp&i
UI templates的目录夹 &/}]9 #
Xy:'f".M~\
struts.ui.theme y!;rY1
The default UI template theme _9wX8fh3D
默认的UI template主题 G2U=*|
NduvfA4
struts.url.http.port lwaxj7
The HTTP port used by Struts URLs (p'yya{(
设置http端口 >_(Xb%w
kMAQHpDD
struts.url.https.port rY_)N^B|nF
The HTTPS port used by Struts URLs KlDW'R$
设置https端口 uuHR!
X90VJb]
struts.url.includeParams -z./6dQ
The default includeParams method to generate Struts URLs o {Sc
在url中产生 默认的includeParams t/LQ|/xo
fGHYs
_?kjIF
struts.velocity.configfile &WE| 9
The Velocity configuration file path vF0#]
velocity配置文件路径 k`U")lv
Uc%(#I]Mi
struts.velocity.contexts b26#0;i
List of Velocity context names fi^I1*S
velocity的context列表 b[<