David,
I ran into this very same problem. I was later told
that it is a bug in Java Web Server 2.0. Don't know
if this the web server you are using.
Kachana
--- David Reck <[EMAIL PROTECTED]>
wrote:
> I have the following code:
>
> RequestDispatcher rd =
>
getServletContext().getRequestDispatcher("/servlet/testServlet");
> rd.forward(request, response);
>
> The code works when I forward to a servlet but the
> code does not work when I try
> to forward to a jsp page or a html page. I get a
> java.lang.NullPointerException
> with jsp's and html's. Is there anything different
> that needs to be done when
> forward to something other than a servlet.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>
> Dave
>
> *******************Internet Email Confidentiality
> Footer*******************
>
>
> Privileged/Confidential Information may be contained
> in this message. If you
> are not the addressee indicated in this message (or
> responsible for delivery of
> the message to such person), you may not copy or
> deliver this message to anyone.
> In such case, you should destroy this message and
> kindly notify the sender by
> reply email. Please advise immediately if you or
> your employer do not consent to
> Internet email for messages of this kind. Opinions,
> conclusions and other
> information in this message that do not relate to
> the official business of my
> firm shall be understood as neither given nor
> endorsed by it.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets