Dario Liberman wrote:
>What is the correct way of doing it?
>I am new to cocoon too, but I see here serialization and deserialization
>done perhaps unnecessary.
>
Servlet API is stream-based, thus if you want to use servlet's output,
you have to parse XML again.
>If the servlet used a DOMXML
.
- Original Message -
From: "Paul Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 10:57
Subject: Re: Servlet-Ouput as Cocoon-Input
> Hi Michael,
>
> The default generator (file) can do URL as well.
Hi,
the problem itself is worse than I described below. The servlet
that will produce the output (--> input for cocoon) will produce
the output in respone to a post request .
How can I chain them ...
thank you very much in advance,
michael
Hi,
I am new with Cocoon and havn't done a lot
Hi Michael,
The default generator (file) can do URL as well.
What I've done is wrote a servlet called XMLServlet that generates some simple
XML, then add the following to the sitemap.xmap:
This works well for me.
Good luck!
Hi,
I am new with Cocoon and havn't done a lot with servlets yet.
My prblem is that I want to process the output of one servlet
with cocoon. How do I connect them?
Is the request generator the correct or the stream generator?
Any suggestions?
thank you very much for your efforts,
kindest rega