Title: RE: RequestDispatcher

Get it through the ServletContext, i.e.

String url = "/jsp/sample.jsp";
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher(url);

Hope that helps.


--eugene

-----Original Message-----
From: George Klimes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 01, 2000 2:46 PM
To: [EMAIL PROTECTED]
Subject: RequestDispatcher


  Hi everyone,
quick question.

How could I achieve functionality of RequestDispatcher interface
in JSDK2.0 ?   I am running JServ .1.1 that supports only
2.0 .

 Thank you for your time.
                                      George

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