struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Graf-Waczenski <...@lsoft.com>
Subject Re: Action Struts2
Date Wed, 12 Jan 2011 13:19:27 GMT
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


Mime
View raw message