This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes using JSP recursively Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "using JSP recursively" Watch "using JSP recursively" New topic

using JSP recursively

Vikram Anand

Joined: May 17, 2002
Posts: 10
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

Joined: Jul 16, 2002
Posts: 6
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!
subject: using JSP recursively
Similar Threads
storing data from database
Creating an HTML table in a Bean
Submitting a table in a form
struts 2 posting large data
how to make my application run faster