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 Advantage - server side validations 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 "Advantage - server side validations" Watch "Advantage - server side validations" New topic
Author

Advantage - server side validations

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hello,

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

Thanks,
Neeraj.
David Newton
Author
Rancher

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Advantage - server side validations
 
Similar Threads
server side validation using EJB
Have a question about turn off javascript
JavaScript in Java Server Faces
server side validations
How to read the javascript related values into the html page