aspose file tools*
The moose likes JSP and the fly likes keeping the data in fields as itis even worng validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "keeping the data in fields as itis even worng validations" Watch "keeping the data in fields as itis even worng validations" New topic
Author

keeping the data in fields as itis even worng validations

suman vasireddy
Greenhorn

Joined: Nov 17, 2008
Posts: 12
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

Joined: Jan 28, 2008
Posts: 5575

Use request scope to retain the datas
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Use the value attributes of the controls to set teh values back into the fields.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: keeping the data in fields as itis even worng validations