Could you use a request dispatcher to forward the
request to the second servlet?
>From the first servlet's request object you could code
this:
RequestDispatcher rd = req.getRequestDispatcher("path
to second servlet");
rd.forward();
--- Ga�l_Oberson <[EMAIL PROTECTED]> wrote:
>
>
> Hello
>
> I try to use Servlet Chaining with Tomcat.
> Can I do that with a tag in the web.xml file (with
> <servlet-mapping> for
> example), or must I modify my Request parameters??
> does anyone know how to
> do that???
>
> I have a Servlet that generates an complete and
> valid XML file from a
> database, and this file must be processed by the
> Cocoon servlet and then be
> returned to the client. That's it. Can anyone help
> me please???
>
> Thanks.
>
>
>
>
>
> ***********************************************
> Ga�l Oberson
> Computer scientist
> Student in Computer Science Engineering (HES)
>
> Switzerland
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> ***********************************************
>
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/