• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

loop to reload page (html tages) with different content

 
Hend Ahmed
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a servlet, that check a table in Database. it goes in a loop depending on the number of table rows (Data).
the data are being put in HTML page .. i have put the html tags inside the loop. so that i have different pages.. but i only get the first ?

any hint?

another story is actually can i make some kind of listerner to the this HTML pages that are being generated.. that once the user make a selection, then it can resume in the loop..

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are creating multiple pages in a loop in a servlet? Of course that won't work. A servlet invocation is as the result of a single request which should result in a single response. What is your intent in generating multiple pages?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic