struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlm...@gmail.com
Subject Re: Action Struts2
Date Wed, 12 Jan 2011 13:44:59 GMT
Y
------Mensaje original------
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19

Am 12.01.2011 14:02, schrieb Mohamed SIDI:
> Hello,
>
> I woud like to know if the Struts actions are singleton based or not, some
> links treating this topic are pleased
>
> Thanks
>


Struts2 actions are far away from being singletons. Quite the contrary: 
Instances of action classes are created (IIRC) freshly for each request. 
This is an important difference to Struts1, were one action instance was 
created, buffered and reused to serve various requests.

Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



Sent via BlackBerry from T-Mobile

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message