Can't get intelligent code completion to work.  Any suggestions.


Thanks,
Devon Manelski



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Bailey
Sent: Wednesday, June 28, 2000 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: forwarding using RequestDispatcher


What servlet/jsp engine are you using? Sounds like you have servlet 2.0
instead of servlet 2.1 or 2.2.  ServletContext.getRequestDispatcher() wasn't
added until servlet 2.1. Are you using Websphere 2.x or something else that
runs jsp 0.9x instead of jsp 1.x?

Jim Bailey
<mailto:[EMAIL PROTECTED]>


-----Original Message-----
From: Mohan Nai [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 4:03 PM
Subject: forwarding using RequestDispatcher


hi,
    I am having a strange problem with the
RequestDispatcher.

    I am trying to forward a request from a servlet to
jsp using

 getServletContext().
 getRequestDispatcher(URL).forward(req, res);

 Where URL is the jsp location.


   But when I am trying to compile the servlet it says

Method getRequestDispatcher(java.lang.String) not
found in interface javax.servlet.ServletContext

   ANy suggestions???

thanx,
mohan

===========================================================================
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

===========================================================================
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

Reply via email to