[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    Re: More Information on producers...
From:       Stefano Mazzocchi <stefano () apache ! org>
Date:       2000-01-31 23:09:46
[Download RAW message or body]

> Martin Lilienthal wrote:
> 
> Hi there,
> 
> where can I find more information on producers and specially producers
> to process the output of servlets/jsp?
>
> (I`ve read thru the docs, but I haven`t found much...)

Read the FAQ again. It's there: you _don't_ process the output of a
servlet/JSP!!!
 
> Another question:
> 
> Is it really the best way to use producers to transform the XML-output
> of servlets/jsp to HTML? ..or are there other (perhaps better) ways to
> do that?

There are no good ways of postprocess the output of a servlet. Period.

You put your logic inside a processor, or, if you really don't have
access to the servlet code, you write an URLProducer that parses a URL
instead of a file.

Don't worry, I understand your concerns and I'm the proponent of a
filtering model for the Servlet API 2.3 that we should be discussing
shortly at Sun.

Until then, Cocoon will not support servlet chaining of any kind nor
will encouradge such a thing.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic