Bear Bibeault wrote:Showing us the server-side code is not helpful (And why are you creating HTMl from a servlet in the first place? That's a really poor practice.)
Please post the HTMl that is sent to the browser. You can find it using View Source in the browser.
the only new code here is out.println() and a for loop.The rest is all html.I need to write in a servlet as its my requirement.And thanks to the code tags that my html content is shown clearly away from the other part.So what is the problem.?