• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

keeping the data in fields as itis even worng validations

 
suman vasireddy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all..

At present i am working on a jsp page which will contain number of fields.and i am validating the fields.when ever i submitted the data with wrong validations the fields are refreshing as well hence i am losing the data and need to re enter the data... so please help me out i just don't want to re fresh the page...


thanks in advance.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use request scope to retain the datas
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the value attributes of the controls to set teh values back into the fields.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic