Hi,
I am using jswdk-1.0.1 .
thanx,
mohan
--- Jim Bailey <[EMAIL PROTECTED]> wrote:
> 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
__________________________________________________
Do You Yahoo!?
Get 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