On Wed, 04 May 2011 16:25:18 -0300, Tim Koop <[email protected]> wrote:

To answer my own question, this works:

     @Inject
     private RequestGlobals requestGlobals;

javax.servlet.http.HttpServletRequest request = requestGlobals.getHTTPServletRequest();

Better yet:

@Inject
private HttpServletRequest request;

--
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