• Post Reply Bookmark Topic Watch Topic
  • New Topic

updated table not displaying on page  RSS feed

 
firoza limbada
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a jsp page using table tags which works fine. When the user clicks a button to add a row, I am using Ajax to rebuild the table without refreshing the screen. Then I'm trying to use the doStartTag() and doEndTag() functions to repopulate the table on the screen. My first problem is that I am getting a Nullpointer exception when the doEndTag() is executing...the PrintWriter on the JSPWriter is null...how do I set this ?


If I set this manually during debugging the error is not thrown...but the screen does not show the updated table. What else do I need to do to get the data to show:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!