You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Eric Schneider <er...@centralparksoftware.com> on 2005/11/01 23:46:27 UTC

Injecting ServletContext into a service?

Hi,

I haven't stumbled across a way to inject an application's ServletContext 
into a hivemind singleton service.  Is there an easy way to do this that 
I'm missing? 

I need to load some XML files in the WEB-INF directory.  Maybe there's 
another way to read files in as an input stream? 

Also the application is stateless, so the servlet context cannot be 
retrieved via the session.

Thanks.
e.

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