Servlet chaining is no longer available in the the Server 2.2 spec.
Instead use servlet forwarding. Here's a code sample (from this
months' JavaDeveloperJournal)
ServletContext xt = getServletContext();
RequestDispatcher xyzServlet = xt.getRequestDispatcher("url to
servlet to forward to");
xyzServlet.forward(HttpServletRequest obj,HttpSerlvetResponse
obj);

mark

On 7 Jun 00, at 14:16, Irfan Mohammed wrote:

> Try servlet chaining
>
> Irfan
>
> -----Original Message-----
> From: Alarcon Fabio [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 07, 2000 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: Invoke a servlet from another servlet
>
>
> Hi guys!
> Help me please, how can I invoke a servlet from another servlet?
> Thanks in advance for your answers
> Best regards
> Fabio
> _________________________________________________
>
> Fabio Alarcon Ortiz
> Analista de Sistemas - Gerencia de Sistemas
> Gerencia Central de Desarrollo e Informatica
> EsSalud - Seguro Social de Salud
> Lima, Peru
> Telfs. : (51) (1) 265-6000, 265-7000 Anexos : 2356, 2357
> Movil  : (51) (1) 855-1393
> ICQ N� : 11002875
>
> e-mail : [EMAIL PROTECTED]
>
> ===========================================================================
> 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
>
>

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