This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using JSP recursively

 
Vikram Anand
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Murilo Beriam
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic