check out RequestDispatcher.include().
If you're not using JSDK 2.1 you could transfer your code from the servlet
to a bean and call that instead of the servlet. (That's better anyhow)
Geert 'Darling' Van Damme
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joysorlyn Dixon
> Sent: dinsdag 30 mei 2000 0:18
> To: [EMAIL PROTECTED]
> Subject: URGENT!!!! --- calling a servlet from a jsp page
>
>
> My apologies for the "newbie" question -- but I'm
> pulling my hair out at this point --
>
> Please some one tell/show me a snippet of
> code that will call my servlet passing the
> jsp page's request and response objects to the
> servlet-- or passing the request and response
> objects to a class that will call my call my
> servlet through servlet chaining.
>
> Thank you very much in advance,
> Joy
>
> ==================================================================
> =========
> 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