struts2的struts.properties配置文件详解 C"No5r'K3
3:" &Z6t#
struts.action.extension GN%<"I.
The URL extension to use to determine if the request is meant for a Struts action 2?1}ZXr
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 22IYrk
%MNk4UsV
struts.configuration ~^7
The org.apache.struts2.config.Configuration implementation class ((9YG
org.apache.struts2.config.Configuration接口名 [tN` :}?
W"O-L
struts.configuration.files }bgo )<i
A list of configuration files automatically loaded by Struts *. dKR
struts自动加载的一个配置文件列表 (,TH~("{
| XLFV
struts.configuration.xml.reload |UZOAGiBg
Whether to reload the XML configuration or not |KaR
n;BM
是否加载xml配置(true,false) Xoi9d1fO
[Pqn3I[
struts.continuations.package &?}1AQAYg
The package containing actions that use Rife continuations th Q J(w
含有actions的完整连续的package名称
+/Z0
4(sttd_
struts.custom.i18n.resources ;(`e^IVf
Location of additional localization properties files to load ReqE?CeV
加载附加的国际化属性文件(不包含.properties后缀) 8q*";>*
<|Iyt[s
struts.custom.properties V
Qh/
Location of additional configuration properties files to load ,Z4^'1{D
加载附加的配置文件的位置 yI4DVu.
!3?~#e{_
6'vi68
struts.devMode R}.3|0
Whether Struts is in development mode or not .r*#OUC
是否为struts开发模式 >gGil|I
j #es2;
struts.dispatcher.parametersWorkaround #rq?f
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Bpas[2gYC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +yIL[D
P09,P
struts.enable.DynamicMethodInvocation +<B|qcT!
Allows one to disable dynamic method invocation from the URL /[L)tj7B
允许动态方法调用 lG
<yJ~{
`
Rsl]
GB
struts.freemarker.manager.classname 'M
lXnHxt
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k?n]ZNlT
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8iOO1I?+
VB's
struts.i18n.encoding cyHhy_~R
The encoding to use for localization messages u:eW0Ows"
国际化信息内码 [^Q&suy
.CvFE~
struts.i18n.reload tUrNp~ve,
Whether the localization messages should automatically be reloaded 6,3}/hgWJ$
是否国际化信息自动加载 YkVRl [
fYs?D+U;PF
struts.locale p&m
^IWD
The default locale for the Struts application _Z0\`kba+
默认的国际化地区信息 K~$ 35c3M
YVJ+'
A=|
struts.mapper.class DUQ9AT#3
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *H?t;,\
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `TkbF9N+
h\2}875
struts.multipart.maxSize p^Agh
The maximize size of a multipart request (file upload) fvO;lA>`
multipart请求信息的最大尺寸(文件上传用) "C& J wm?
9G+y.^/6
struts.multipart.parser z=[l.Af_
The org.apache.struts2.dispatcher.multipart. Slo9#26
MultiPartRequest parser implementation for a multipart request (file upload) )L|C'dJ<k`
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4^`PiRGt
+{'lZa
v/ eB,p
struts.multipart.saveDir Jtext%"eNg
The directory to use for storing uploaded files {DSyV:
设置存储上传文件的目录夹 6G$/NW=L
t+jIHo
struts.objectFactory hO%Y{Gg
The com.opensymphony.xwork2.ObjectFactory implementation class we
}#Ru*
com.opensymphony.xwork2.ObjectFactory接口(spring)
Hl!1h%
G}s;JJax
struts.objectFactory.spring.autoWire Q^vGj</u
Whether Spring should autoWire or not SC]6F*
是否自动绑定Spring 7
s7}?l9
|E?
,xWN
struts.objectFactory.spring.useClassCache |c=d;+
Whether Spring should use its class cache or not +&(Jn
是否spring应该使用自身的cache g&q^.7c}
$m{{,&}k
struts.objectTypeDeterminer OX`?<@6
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class FzA{UO
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bd.j,4^
Q})t<l+L
struts.serve.static.browserCache 3g^IXm:K$
If static content served by the Struts filter should set browser caching header properties or not }WA<=9e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M\9IlV?'
w<btv]X1
struts.serve.static MkkA{p
Whether the Struts filter should serve static content or not F{kG
是否struts过滤器应该提供静态内容 rA[nUJ,
JThk Wx
struts.tag.altSyntax !B0v<+;P8
Whether to use the alterative syntax for the tags or not Y=hPErw
是否可以用替代的语法替代tags CgN]dx*`
3e#x)H/dr
struts.ui.templateDir >\Z lZ
The directory containing UI templates mf+K{y,L
UI templates的目录夹 z9I1RXV
:fl*w""V@
struts.ui.theme bb*c+XN0
The default UI template theme hT\p)w
默认的UI template主题 zwK g
t>XZ3
struts.url.http.port fF\*v
The HTTP port used by Struts URLs )J{.Cx<E
设置http端口 GU2]/\W*a
owP6dtd)
struts.url.https.port ^ b=5 6~[
The HTTPS port used by Struts URLs EPQ&?[6
设置https端口 M4R%Gr,La
M0Lon/%
struts.url.includeParams b (g_.1[
The default includeParams method to generate Struts URLs 6'S5sRA
在url中产生 默认的includeParams YCtIeq%
`MN&(!&C*
.%|OGl ?
struts.velocity.configfile { +i; e]c
The Velocity configuration file path ^H
f+du
velocity配置文件路径 @ARAX\F
HJnv'^yn
struts.velocity.contexts '2;Ny23
List of Velocity context names $0S.@wUG
velocity的context列表 e{c._zr,
,)0/Ec
cpP.7ZR
struts.velocity.manager.classname 9 |us<k
org.apache.struts2.views.velocity.VelocityManager implementation class E!:.G+SEl
org.apache.struts2.views.velocity.VelocityManager接口名 #-l!`\@
`HE>%=]b
struts.velocity.toolboxlocation jB}_Slh1j
The location of the Velocity toolbox :_W0Af09
velocity工具盒的位置 Tb>IHoil
struts.xslt.nocache 8:;u
v7p
Whether or not XSLT templates should not be cached k#{lt-a/
是否XSLT模版应该被缓存 9\\@I
=;