• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Populating Form-Bean value in text box

 
Nikhil Bansal
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am having a JSP in which the user enters a Key Value in the text box. This key value is part of the form bean. When user presses Go button the Key is validated from the database and next record is returned. The next record contains the new key value.

I intend to populate this new key in the text box in JSP. But I always see the old key to be a part of the text box, even though I set the new key in the form explicitly through the set method.

Please help.

Regards

Nikhil Bansal
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you included your existing code it might help to spot the issue.

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic