This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validator problems, clientside = ok, serverside = not working

 
mark chester
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I'm currently developing a web app using struts 1.1. I'm using the validator plugin to do required, mask (alphanumeric only) and maxlength (8) checks on one of my form fields.

I have also added the required tags to my jsp to get this validation to work on the client side. All three of these checks work fine on the client side but if I turn off javascript only the 'required' check on the server side seems to work. And forms with invalid characters and long fields are passed to my action class!

This is really strange, if anything I would expect problems on the client side! - I'm pretty sure my validation and struts-config files are okay? any ideas?

Could this be a bug perhaps?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic