This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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