wood burning stoves*
The moose likes Struts and the fly likes Validator for NOT NULL/ blanks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator for NOT NULL/ blanks" Watch "Validator for NOT NULL/ blanks" New topic
Author

Validator for NOT NULL/ blanks

Surendra Kumar
Ranch Hand

Joined: Jul 04, 2006
Posts: 235
Hi,

I am trying to validate a form input field. my requirment is not allowing spaces in the input value. I am not able to work it out. Even if it's a required field, if just blank spaces are typed in, and submit, it's submitting. I am using struts validator (validation.xml).
Can you please help?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator for NOT NULL/ blanks