Well, I don't know any book on this issue. But when u say all the web-pages are generated on the fly by the web-server, there should some kind of a CGI program which might be creating the pages. May be perl, ISAPI or even using ASP.

But its not different that retrieving a static web-page from the server. Because CGI does all the work for u and returns the 'html' code for the page.

So if u r retrieving a webpage as...


URL urlPage = new URL( "http://microsoft.com/default.htm");




The method for retrieving dynamic pages from CGI is also the same e.g.


URL urlPage = new URL( "http://site_address/pageGenerator.pl");




Both the things will return 'html' code. U don't have to access database, its done by the CGI.

- UnicMan
http://members.tripod.com/unicman