Hi all,
  Can anyone help me how to call a JSP from a servlet.

1.)  I've tried with "callPage" but I'm getting  ClassCastException at
this step:

        ((com.sun.server.http.HttpServiceResponse)
res).callPage("/DisplayData.jsp", req);


2.) I can call a JSP page with sendRedirect but I can't send the
information from servlet to this page.
        Is it possible to send info from servlet thru sendRedirect. If so,pl
let me know.

Help me out.

Thanks in advance,
Chary

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to