RE: RequestDispatcher failure

2001-05-04 Thread Mark Mynsted
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

Re: RequestDispatcher failure

2001-05-04 Thread Mark Howell
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.

Re: RequestDispatcher failure

2001-05-04 Thread Grewal, Gary
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

RE: RequestDispatcher failure

2001-05-04 Thread Grewal, Gary
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

RequestDispatcher failure

2001-05-04 Thread Mark Mynsted
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