tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goss <mg...@rtci.com>
Subject Re: Tomcat 3.2 - getRequestDispatcher().forward
Date Mon, 18 Dec 2000 14:24:04 GMT
Graeme,
No, the forwarded request is treated as the same request.
Matt

Graeme Wallace wrote:

> Hi,
>
> Is the behavior of getRequestDispatcher(pagelocation).forward(req,res)
> supposed to interpret
> the page location as if it was a new request to Tomcat ?
>
> ie. if I have a webapps that has an admin subdirectory and I want to forward
> to its
> index.jsp, I used to do
> getRequestDispatcher("/admin/index.jsp").forward(req,res)
>
> but if i do that with Tomcats default admin webapp still configured it gets
> the forward
> to process instead of tomcat picking up the file.
>
> regards,
>
> G.

Mime
View raw message