struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhattad, Nilesh " <NBhat...@OneBeacon.com>
Subject RE: Making Action object as singleton
Date Fri, 21 Jun 2002 21:23:15 GMT
Thanks for your clarification.
I'm not yet much familiar with Struts framework. And I didn't know that
Struts take care of making Action object as a Singleton. May be I should go
back and study Struts in detail before implementing it!

Thanks again.

- Nilesh



-----Original Message-----
From: Joseph Barefoot [mailto:josephb@hereuare.com] 
Sent: Saturday, June 22, 2002 5:16 PM
To: Struts Users Mailing List
Subject: RE: Making Action object as singleton

?? -- Action objects are always singletons in the Struts framework, it only
creates a single instance of each Action class for delegation....do you
mean, "What the the advantages/disadvantages to having only a single Action
class in my framework?"

peace,
Joe

> -----Original Message-----
> From: Bhattad, Nilesh [mailto:NBhattad@OneBeacon.com]
> Sent: Friday, June 21, 2002 1:56 PM
> To: Struts mailing list (struts-user@jakarta.apache.org)
> Subject: Making Action object as singleton
>
>
> Hello
>
> I have an Action object which is common for all JSP pages. It doesn't have
> any object level variable in it. What are all the advantages/disadvantages
> of making Action object as a singleton?
>
> Thanks in advance !!
>
> - Nilesh
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>


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

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


Mime
View raw message