File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Loosing Form Data with Struts Validation
Joined: May 25, 2008
Jun 12, 2008 08:00:00
Hi All ,
I am having a problem with
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.
Joined: Feb 15, 2005
Jun 12, 2008 11:26:00
Are you using Struts html:text, html:checkbox, etc. tags for your input with
value attributes? If not, that's the problem.
[ June 12, 2008: Message edited by: Merrill Higginson ]
It is sorta covered in the
JavaRanch Style Guide
subject: Loosing Form Data with Struts Validation
Struts error message
Struts validation not working
Action Class member variables in Session Struts2
How to do the Date validation in .xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015