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 16:01:10 GMT
G,
I'm not totally sure, but you may want to try renaming the subdirectory to
something other that admin (Apache may be picking it up as a call for its
mapping of /admin/ to the admin webapp...
Matt

Graeme Wallace wrote:

> 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