application it has
to be absolute begining with a '/'. Check to see if this may be the cause of
the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Mark Mynsted [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 10:41 AM
To: [EMAIL PROTECTED]
Subjec
Mark,
The relative paths of URLs from the request are differrent than those of the
application. I don't immediately recall the exact differrences, but I believe
a url specified as "foo.jsp" that calls http://server/app/foo.jsp from the
request.getRequestDispatcher(url) would have to be 'app/foo.
Title: Re: RequestDispatcher failure
Using request the URL given can be relative and using the application it has to be absolute begining with a '/'. Check to see if this may be the cause of the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Ma
Title: RE: RequestDispatcher failure
Using request the URL given can be relative and using the application it has to be absolute begining with a '/'. Check to see if this may be the cause of the error.
Thanks and Regards,
===
Gary Grewal
-Original Message-
From: Ma
Has anybody seen this behavior?
If I use the following code I get no errors.
RequestDispatcher dispatcher = request.getRequestDispatcher(url);
dispatcher.forward(request, response);
If I use the following code I get a null pointer exception because
dispatcher is null.
RequestDispatcher dispat