struts2的struts.properties配置文件详解 Z&e_yl
-.~Dhk
struts.action.extension Oz<{B]pEul
The URL extension to use to determine if the request is meant for a Struts action ZT:&j4A|0
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 oswS<t{Z
]|ew!N$ar=
struts.configuration 8XZS BR(Z
The org.apache.struts2.config.Configuration implementation class O>9+tQ
org.apache.struts2.config.Configuration接口名 ^"WrE(3
B~K@o.%
struts.configuration.files dY'/\dJ
A list of configuration files automatically loaded by Struts r8x<-u4
struts自动加载的一个配置文件列表 FvQ>Y')R7Z
%;$zR}
struts.configuration.xml.reload wiKUs0|
Whether to reload the XML configuration or not MwMv[];I
是否加载xml配置(true,false) oh
c/{D2
c@!%.# |y
struts.continuations.package 7~n<%q/6
The package containing actions that use Rife continuations W'WZ@!!
含有actions的完整连续的package名称 p2s*'dab7
!8S$tk
struts.custom.i18n.resources w-9M{Es+j
Location of additional localization properties files to load \@8j&],dl
加载附加的国际化属性文件(不包含.properties后缀) QS.t_5<U
3.,O7 k7y
struts.custom.properties faH113nc
Location of additional configuration properties files to load Qz6Ry\u
加载附加的配置文件的位置 sTeW4Hnp
=w&JDj
E{+V_.tlu
struts.devMode T v2d?y
Whether Struts is in development mode or not ]@YBa4}w
是否为struts开发模式 t:|knZq
~Iw7Xq E2
struts.dispatcher.parametersWorkaround nHiE$Y
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic eaSf[!24"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :ZrE/3_S
kex4U6&OQB
struts.enable.DynamicMethodInvocation ^W}(]jL
Allows one to disable dynamic method invocation from the URL h:%L% Y9z
允许动态方法调用 Y v22,|:
rq=D[vX\N(
struts.freemarker.manager.classname 5`] ;[M9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rm}OVL
org.apache.struts2.views.freemarker.FreemarkerManager接口名 q=Cc2|Ve
Wl!|+-
struts.i18n.encoding 3!]S8Y*LQP
The encoding to use for localization messages L O)&|9xw
国际化信息内码 Npu#.)G
Y [8~M8QX
struts.i18n.reload zl~`>
Whether the localization messages should automatically be reloaded QAs$fi}f]s
是否国际化信息自动加载 7Uy49cs,
Q4!6|%n8v
struts.locale *5Aq\g,n
The default locale for the Struts application 9 ! 6\8
默认的国际化地区信息 GT(nW|v
Ej7>ywlW
struts.mapper.class 1}>u Y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cPL]WI0(
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Eg;xj@S<2
:Tu%0="ye
struts.multipart.maxSize @2eV^eO9
The maximize size of a multipart request (file upload) :!nBTw
multipart请求信息的最大尺寸(文件上传用) e|&}{JP{[
++ZtL\h{7
struts.multipart.parser 3.vQ~Fvl
The org.apache.struts2.dispatcher.multipart. `*to(
)
MultiPartRequest parser implementation for a multipart request (file upload) cy+EJq I
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y\pRk6,
0*-nVC1
SF#Rc>v
struts.multipart.saveDir zEu15!~
The directory to use for storing uploaded files 057$b!A-a
设置存储上传文件的目录夹 |'bRVqJ
W<"{d
struts.objectFactory wWU5]v
The com.opensymphony.xwork2.ObjectFactory implementation class FJj #
com.opensymphony.xwork2.ObjectFactory接口(spring) *[MK{m
@uaf&my,P
struts.objectFactory.spring.autoWire <y30t[.E6
Whether Spring should autoWire or not ^twJNm{99
是否自动绑定Spring 'z}Hg
*
!Ui"<0[,
struts.objectFactory.spring.useClassCache w`?Rd
Whether Spring should use its class cache or not h)746T )
是否spring应该使用自身的cache p>c` GDU
RC']"jpW
struts.objectTypeDeterminer `Rc7*2I)l
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ydyGPZt
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +.RC{o,
{ta0dS;1
struts.serve.static.browserCache (DW[#2\.
If static content served by the Struts filter should set browser caching header properties or not BIr24N
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q6|~ks+Y
<%2A,
Vz"
struts.serve.static { fmY_T[Q8
Whether the Struts filter should serve static content or not /W6r{Et
是否struts过滤器应该提供静态内容 (xJZeY)-b^
1{.=T&eG#
struts.tag.altSyntax l-N4RCt h
Whether to use the alterative syntax for the tags or not N~%F/`Z<+
是否可以用替代的语法替代tags 2eOde(K+
'<v/Gl\
struts.ui.templateDir H9^DlIv('
The directory containing UI templates ~$zodrS9
UI templates的目录夹 G(puC4 "&
CS:mO|
struts.ui.theme !*?Ss
The default UI template theme }/%(7Ff{
默认的UI template主题 l1RpG"
@CSTp6{y
struts.url.http.port ;plzJ6>
The HTTP port used by Struts URLs e6n^l$'
设置http端口 v;9VX
u0md ^
struts.url.https.port 9M)N2+hkZ
The HTTPS port used by Struts URLs ?s<'3I{F`
设置https端口 {5f?y\Z
u"%i3%Yjh
struts.url.includeParams >qJRpO
The default includeParams method to generate Struts URLs s^nwF>
在url中产生 默认的includeParams L`yyn/2>
M'=27!D^
3
;F=EMz{
struts.velocity.configfile 5-L?JD4&
The Velocity configuration file path -ISI!EU$
velocity配置文件路径 QD0upYG
9w
-t9X>X
struts.velocity.contexts Bv^{|w
List of Velocity context names Ix,`lFbH
velocity的context列表 z G
{1;
*/Oq$3QGsV
%f.(^<Gu
struts.velocity.manager.classname /@5X0m
org.apache.struts2.views.velocity.VelocityManager implementation class E3#}:6m
org.apache.struts2.views.velocity.VelocityManager接口名 ~y+QL{P4~
`z$<1QT
struts.velocity.toolboxlocation r>:7)p!|
The location of the Velocity toolbox $X~4J
velocity工具盒的位置 mnM#NT5]
struts.xslt.nocache Qo{Ez^q@J
Whether or not XSLT templates should not be cached xBhfC!AK}
是否XSLT模版应该被缓存 U}7a;4?