File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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.

Merrill Higginson
Ranch Hand

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

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

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts Validator problem
It's not a secret anymore!