You could simply store the loaded Properties object in the ServletContext
where the
same instance would be available to the entire web application thus acting
as a singleton
of sorts without necessarily implementing the pattern.

robert

> -----Original Message-----
> From: jay andrews [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 1:57 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] Properties and Singleton
>
>
> I have some configuration properties for my structs app that I am thinking
> of moving to properties and creating a singleton objects to hold this
> property values.  Is there any reason not to to this with struts?  does
> anyone know if there is an example of this somewhere?  my recent
> search have
> been fruitless. thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to