Ok... The properties file holds configuration data for Proxool, the connection pool I'm using with my application.
On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote:
First of all, what does that properties file contain? You know, HiveMind is a configuration microkernel, so you can do a lot of configuration with HiveMind. -----Original Message----- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 9:02 AM To: Tapestry users Subject: Re: ServletContext Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > I would implement such a feature using a ServletContextListener. Something > like the HiveUtils SystemPropertyInitListener class. > > Cheers > > Hugo > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > Hi all > > > > I was planning on storing a properties file inside my WEB-INF directory > > and > > then read it using getResourceAsStream from ServletContext, but > apparently > > I > > can't access the ServletContext from inside Tapestry. > > Is there another way to read the properties file or how to get to my > > ServletContext? > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > -- Cumprimentos, Rui Pacheco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Cumprimentos, Rui Pacheco