Re: Getting HTTPServletRequest and HTTPServletResponse

2006-03-21 Thread Adam Zimowski
Hi Asim, I am not sure that you can inject entire HttpServlet. The reason I say that is because of what HiveDoc shows. On tapestry home page, if you expand "Framework" and then "Reports", you will have option to view some interesting documentation. In this case you're interested in HiveDoc which d

RE: Getting HTTPServletRequest and HTTPServletResponse

2006-03-21 Thread James Carman
all your service and it can do whatever you want with the ServletRequest. -Original Message- From: Asim Khaja [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 12:58 PM To: Tapestry users Subject: Re: Getting HTTPServletRequest and HTTPServletResponse Thanks Adam, I am not sure if t

Re: Getting HTTPServletRequest and HTTPServletResponse

2006-03-21 Thread Asim Khaja
Thanks Adam, I am not sure if this is related, but would i do the same technquie if i wanted to get the HttpServet so that i can do something like String filePath = cycle.getRequestContext ().getServlet().getServletContext().getInitParameter("documentFileRootPath"); That code was valid for tapest

Re: Getting HTTPServletRequest and HTTPServletResponse

2006-03-21 Thread Adam Zimowski
@InjectObject("service:tapestry.globals.HttpServletRequest") public abstract HttpServletRequest getServletRequest(); Tapestry will do the magic and give you a valid reference. On 3/21/06, Asim Khaja <[EMAIL PROTECTED]> wrote: > I'd like to get the HTTPServletRequest and HTTPServle