If you are after the HttpServletRequest, you might
like to try the following.

@InjectObject("service:tapestry.globals.HttpServletRequest")
public abstract HttpServletRequest
getServletRequest();

Shing

--- Manuel Sugawara <masm@fciencias.unam.mx> wrote:

> Hi all, I would like to obtain the servlet instance
> from within my
> pages in order to call the HttpSevlet methods for
> logging. My first
> cut was injecting it using something like:
> 
>    
>
@InjectObject("service:tapestry.globals.HttpServlet")
>     public abstract HttpServlet getHttpServlet();   
>     
> 
> To my surprise this didn't work :-(, Is there any
> way to get the
> servlet instance?, if not, How can I write to the
> servlet log from
> within my pages?.
> 
> Regards,
> Manuel.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


                
___________________________________________________________ 
Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

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

Reply via email to