struts2的struts.properties配置文件详解 $^ws#}j
0X=F(,>9
struts.action.extension <&3P\aM>
The URL extension to use to determine if the request is meant for a Struts action t}YcB`q)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?*fY$93O
vk92j?
struts.configuration b6N[t _,
The org.apache.struts2.config.Configuration implementation class
p{g4`o
org.apache.struts2.config.Configuration接口名 ??,[-Oi
}Kp!,
struts.configuration.files f+h\RE=BGt
A list of configuration files automatically loaded by Struts ,CfslhO{j
struts自动加载的一个配置文件列表 -]Z7^
r/j:A#6M]o
struts.configuration.xml.reload bv[#|^/
Whether to reload the XML configuration or not 9n&
&`r
是否加载xml配置(true,false) ?b;2PH"
$Nu{c;7"
struts.continuations.package F8f}PV]b
The package containing actions that use Rife continuations .[Sis<A]%
含有actions的完整连续的package名称 1M]=Nv
ubcB<=xb
struts.custom.i18n.resources g+ c*VmY
Location of additional localization properties files to load ^65I,Z"
加载附加的国际化属性文件(不包含.properties后缀) O3} JOv_
EwC]%BZP
struts.custom.properties xb,XI/
Location of additional configuration properties files to load k]~o=MLmj
加载附加的配置文件的位置 b@Ej$t&
qjB:6Jq4q
#-0e0
struts.devMode 3p%e_?
Whether Struts is in development mode or not pU$k{^'UK
是否为struts开发模式 sQJ\{'g
]r
Uj<[O
struts.dispatcher.parametersWorkaround YOl$sgg}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X1Yw=t~a
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ldA_mj{
t'n@yX_
struts.enable.DynamicMethodInvocation lPy|>&Yc
Allows one to disable dynamic method invocation from the URL V8^la'_j
允许动态方法调用 ~:ASv>m
>JpBX+]5m
struts.freemarker.manager.classname im<bo Mv
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v:t;Uk^Y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %{u@{uG0'3
nip6|dN
struts.i18n.encoding |oY{TQ<<d
The encoding to use for localization messages 'f5
8Jwql
国际化信息内码 !eW1d0n'+f
K:,V>DL
struts.i18n.reload xfYKUOp/
Whether the localization messages should automatically be reloaded PkvW6,lS
是否国际化信息自动加载 G4*
LO
m\&|#yq
struts.locale a-{|/
n%
The default locale for the Struts application ingG
默认的国际化地区信息 h `Lr5)B'
S!(3-{nC
struts.mapper.class n'~==2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~gDYb#p
org.apache.struts2.dispatcher.mapper.ActionMapper接口 F.[%0b E
lLD#|T3
struts.multipart.maxSize \V? .^/
The maximize size of a multipart request (file upload) mY"7/dw<v
multipart请求信息的最大尺寸(文件上传用) 8 A>OQR
#l=yD]tPU
struts.multipart.parser 1djZ5`+
The org.apache.struts2.dispatcher.multipart. 6{h\CU}"
MultiPartRequest parser implementation for a multipart request (file upload) GG%b"d-
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "#1 \ uoH
e?>
vV,TT%J8D
struts.multipart.saveDir y]db]pP5
The directory to use for storing uploaded files FZ"n6hWA
设置存储上传文件的目录夹 l_g$6\&|
q$:1Xkl
struts.objectFactory RkYdK$|K
The com.opensymphony.xwork2.ObjectFactory implementation class Y%KowgP\
com.opensymphony.xwork2.ObjectFactory接口(spring) `"5Ub,~
;UQGi}?CD
struts.objectFactory.spring.autoWire %_(vSpk
Whether Spring should autoWire or not FM{f{2j
是否自动绑定Spring $ L*gtZ
q0.!T0i
struts.objectFactory.spring.useClassCache IZZAR
Whether Spring should use its class cache or not (i~UH04r>s
是否spring应该使用自身的cache c4H6I~2Na
=7 l
uV_5
struts.objectTypeDeterminer Y2`sL,'h
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I dK*IA4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \Zj%eW!m
H*=cw<
struts.serve.static.browserCache }z`x-(V
If static content served by the Struts filter should set browser caching header properties or not hb`9Vn\-E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \|PiQy*_?
Z@bgJL83
struts.serve.static V(';2[)
Whether the Struts filter should serve static content or not m
Q2i$ 0u
是否struts过滤器应该提供静态内容 <V ?2;Gy
_2fW/U54_
struts.tag.altSyntax ..N6]u
Whether to use the alterative syntax for the tags or not Y{}
ub]i
是否可以用替代的语法替代tags fn}E1w
~+Wx\:TT
struts.ui.templateDir vjEDd`jYZ
The directory containing UI templates K~L&Z?~|E
UI templates的目录夹
Z
RVt2
'O<b'}-A
struts.ui.theme q[s,q3n~
The default UI template theme \{h_i
FU!
默认的UI template主题 Zbczbnj
&g:( I
struts.url.http.port 5CI{&E
The HTTP port used by Struts URLs h FU8iB`Q
设置http端口 }-3 VK%
X=QX9Ux?^
struts.url.https.port #Vk?
The HTTPS port used by Struts URLs "laf:Ty1
设置https端口 *AH`ob}
T`#nn|
struts.url.includeParams yYz{*hq
The default includeParams method to generate Struts URLs |`T7}U
在url中产生 默认的includeParams -.D?Z8e
v=k+MvX
i}m'#b
struts.velocity.configfile d{fd5jv;
The Velocity configuration file path lR?y
tIY
velocity配置文件路径 !tq]kKJ3:
&y?
|$p\;/
struts.velocity.contexts :8yebOs
List of Velocity context names N9-0b
velocity的context列表 rJiF2 W
@76}d
x6cG'3&T
struts.velocity.manager.classname mP)bOAU
org.apache.struts2.views.velocity.VelocityManager implementation class e$9a9twl
org.apache.struts2.views.velocity.VelocityManager接口名 L^qCE-[
,^9+G"H:I
struts.velocity.toolboxlocation PzJ(Q
The location of the Velocity toolbox qiz(k:\o
velocity工具盒的位置 K|%Am4
struts.xslt.nocache ^G!cv
Whether or not XSLT templates should not be cached mV}bQ^*?Z
是否XSLT模版应该被缓存 xp|1yud