aspose file tools*
The moose likes Struts and the fly likes Loosing Form Data with Struts Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Loosing Form Data with Struts Validation" Watch "Loosing Form Data with Struts Validation" New topic
Author

Loosing Form Data with Struts Validation

Ashish Soni
Greenhorn

Joined: May 25, 2008
Posts: 24
Hi All ,

I am having a problem with struts validation , As when ever the validator returns error my all forms value are lost.

Can some one help me to resolve this issue.

Thanks for the help in advance.

Ashish
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Are you using Struts html:text, html:checkbox, etc. tags for your input with no value attributes? If not, that's the problem.
[ June 12, 2008: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loosing Form Data with Struts Validation
 
Similar Threads
struts validation
How to do the Date validation in .xml
Action Class member variables in Session Struts2
Struts error message
Struts validation not working