I don't think I have a service set up as the ServletContext, but it
could be done.

Currently, you can inject the (thread's) HttpServletRequest and get
the ServletContext from it.

On 7/17/05, Vjeran Marcinko <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> I agree that framework is mostly suposed to hide Servlet API from end users,
> but there is always need for it one time or another.
> For example, I have logic given as third-party library that requires
> ServletContext to be passed. AFAIK, as it is now, I can only inject
> WebContext object inside my page, but no ServletContext that I explicitly
> need, right?
> 
> Regards,
> Vjeran
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to