Google News
logo
JSP - Interview Questions
What are Client-side and server-side validation?
Validations done at the client-side are called client-side validations; similarly, validations done at the server-side are called server-side validations. Both validations are written in JavaScript. If client-side validations are successful, then only data is submitted, whereas on the server-side, all data is submitted, and then the validations are done. In such cases, if there is some error, then the extra network trip is required to resend the form to the client to refill the form with the correct data.
Advertisement