aspose file tools
The moose likes Struts and the fly likes Advantage - server side validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Advantage - server side validations" Watch "Advantage - server side validations" New topic

Advantage - server side validations

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315

what are the advantages of using server side validations ? are they more secure/trusted than a javascript validation ?

David Newton

Joined: Sep 29, 2008
Posts: 12617

Server-side validations are required even *with* client-side validation: users may have JavaScript turned off, a malicious (or simply curious) user may hand-craft requests either in the browser's URL bar or via some other means, and so on. *Any* data received by the server must be validated.
jQuery in Action, 2nd edition
subject: Advantage - server side validations