• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

using JSP recursively

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic