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