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 dispatcher = application.getRequestDispatcher(url);
dispatcher.forward(request, response);
This does not make sense to me.
request is the subclass of javax.servlet.ServletRequest for this
request. application is the javax.servlet.ServletContext. I know
that application is defined because I use it all the time for logging,
e.g. application.log("This is a log message");
Both the javax.servlet.ServletRequest and javax.servlet.ServletContext
have a getRequestDispatcher(String) method.
Sincerely yours;
Mark Mynsted
VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592