tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graeme Wallace" <gwall...@houston.rr.com>
Subject RE: Tomcat 3.2 - getRequestDispatcher().forward
Date Mon, 18 Dec 2000 15:21:37 GMT
So its a bug in 3.2 then.....

-----Original Message-----
From: Matt Goss [mailto:mgoss@rtci.com]
Sent: Monday, December 18, 2000 8:24 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat 3.2 - getRequestDispatcher().forward


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