I am writing a JSp to show a table. The table items are populated wih the some data which I get using a servlet from a database and put it in a session. But my problem is the html code that is generated is not not complete for some data which i newly enter into the database. so i get only a pat of the table. it works fine all existing data. please help me out. all my logic is failing over here.
Joined: Jul 16, 2002
Hi Vikram! I did not understand fully what is the problem you have but I will try to help. First, check if the new data is commited. When you insert new data in you database, you should commit it. Second, use the browse resource "view source code" and check if the code was interrupted for some reason. Try adding lines to debug, with some out.println("Hey, I'm here...") to know if the code is flowing like you supposed to. Some browsers, like Netscape, don't show the entire page if some tags don't close, especially table tags. Verify this too. I hope this stuff help you! Bye!