Look at the "web.xml" and its DTD.
Pae
-----Original Message-----
From: Gael Oberson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, April 04, 2001 10:47 AM
Subject: RE: Servlet Chaining...
>No, it doesn't work, because the HttpServletRequest class used in
>HttpServlet doesn't implement the getRequestDispatcher method...
>
>But it we can make your idea work, I don't understand how my XML file is
>sent to the cocoon servlet... My XML file is printed do the response
>(out.print(String);), and with the forward() method, the XML data is not
>sent.. How does it work??
>
>
>
>-----Message d'origine-----
>De : Scott Walter [mailto:[EMAIL PROTECTED]]
>Envoye : mercredi, 4. avril 2001 19:33
>A : [EMAIL PROTECTED]
>Objet : Re: Servlet Chaining...
>
>
>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();
>
>
>--- Gakl_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.
>>
>>
>>
>>
>>
>> ***********************************************
>> Gakl 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/
>