Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re populating validation.xml fields

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

I have a form on my jsp file and using the ActionClass-validation.xml method to validate the form inputs. If a field has not been filled in then it will redirect back to the form. The problem is the user will have to re enter all his data. Is there a way where I can repopulate the fields that were already filled in?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you dispatch to the form JSP (as opposed to redirect) you don't have to do anything in particular.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic