aspose file tools*
The moose likes Struts and the fly likes Struts Validator problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validator problem" Watch "Struts Validator problem" New topic
Author

Struts Validator problem

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I has very simple page which accept username and password.
using struts validator i want that user fillup both field .
I use both client and server side validation .When user submit form alert box
appears that null is required null is required .But when i output the value using <bean:message key="SubmitForm.username"/> it correctly output what i write in properties file.

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Show us the relevant portions of:

1-Your validation.xml file
2-Your ApplicationResources.properties file
3-The JSP file you're talking about


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts Validator problem