loop to reload page (html tages) with different content
posted 6 years ago
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 ?
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..
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?