This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Validator problem
 
Similar Threads
WSAD 5.1 and Struts 1.1
Anybody using struts-validator framework without using struts?
WSAD 5.1 and Struts Validation
How to disable the validation when th Cancel button is clicked (usingStrut validator)
Skip validation when form not submitted