> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > But you have to look at the memory aspect too... > > A new instance of the generator is created at each request and so the > > amount of memory allocated keeps increasing.
Not (exactly) true - depends how you implement it. Read on Avalon or take a look at: http://jakarta.apache.org/avalon/excalibur/api/org/apache/avalon/excalib ur/pool/Poolable.html http://jakarta.apache.org/avalon/framework/lifecycle.html > :( Too bad. > > > With cocoon2 you can also use a servlet as a generator. It's > > certainly not > > the best solution neither but since you have already a servlet... > > How can I do that ? Should I implement the Generator interface too > in my servlet, or do the HTTP request thing what Jupin suggested ? > Or is there any other way to do that ? I saw plenty of exapmles > which use JSP, HTML, XSP and other thing as a generator, but nowhere > a simple Java (servlet) code. See http://localhost:8080/cocoon/sub/ Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>