On Wed, 24 Aug 2011 10:50:54 -0300, Chris Poulsen <[email protected]>
wrote:

Hi,

Can't you just inject it?

@Inject
private ServletContext servletContext;

I like this idea, as we can already inject HttpServletRequest and
HttpServletResponse. :)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to