cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Viana <>
Subject RE: Can Cocoon generate Multiple pages in one operation?
Date Wed, 17 Jan 2001 08:37:38 GMT
Roberto Viana wrote:
> So The "problem" with that is that you don't want to send hundreds of
> requests to Cocoon, but instead I want to be able to generate multiple
> with a single request. i.e one request for each section of the site.
> This operation will be done at least 2 times in a month.

Ulrich Mayring wrote:

> So write a wget script that accesses one section only ;-)

After all your replies I assume that the best way to let Cocoon generate
multiple pages is; write a wget script that recursively request all the
XSP-pages for each section in the website. The only concern I have is that
will I have to write a XSP for each single HTML file in the site, or will be
a single XSP enough for each section?

Many thanks guys!


-----Original Message-----
From: Ulrich Mayring []
Sent: Tuesday, January 16, 2001 6:54 PM
Subject: Re: Can Cocoon generate Multiple pages in one operation?

Michael Bierenfeld wrote:
> I think this request is interesting. I could imagine to generate a
> "Please Wait Page" in front of large DB-Operations.

So you would generate one page as a "please wait page" and display that
in the browser, while in the background loading a "db result page" and
sending that to the browser, once it's there?

> Why not overriding the response OutputStream with something that writes
> to a file. The rest could be done via xsp and xslt.

Yeah, you can always modify cocoon, if it doesn't do what you want - but
I don't think it's a very clever thing to do in the long run. Developers
should get their modifications of cocoon into the main distribution and
if their code is too specific or too bad to get accepted, then they
should probably rewrite it anyway :)

An XSP page is just a Java program, so you can write anything you want
into it. You could write some code that requests all the pages from a
certain section via an URLConnection, for example. But what do you get
in the end? You have rewritten wget in Java :)


Ulrich Mayring
DENIC eG, Systementwicklung

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message