Reputation: 109
I'm wondering if jQuery is enough for validation (eg: validate a login form.) Why we use Struts2 to do this?
Regards Liam
Upvotes: 0
Views: 734
Reputation: 18237
It is not a recipe but for security reasons, you should validate your application from the server and the cliente side
in this question that i made speak about some points of security. So hopefully read this to get some considerations for client and server side validations
Upvotes: 3
Reputation: 3514
I agree with Jorge. You must do server side validation. Because your script based validation can be bypassed if user disable JavaScript in their browser. So server side validation always useful.
Upvotes: 1