• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to re-populate the jsp

 
pavan manthan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a registration.jsp page. I have various text areas for entering first name, last name, userid, password, retype the password etc. Now, I want to retain the data in firstname, lastname etc, when the user re-types the wrong password.how do i do it ?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just assign it to the 'value' attribute of the input elements.

Something like:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!