> 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.
:( 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. --------------------------------------------------------------------- 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]>