How to validate JSP input ? Jsp Servlet Validation ? Server Side Validation in Java Web app. Part-1

How to validate JSP input ? Jsp Servlet Validation ? Server Side Validation in Java Web app. Part-1

In this video we will learn how we can perform validation for JSP Input ( Part 1) . We have many type of input validation , from all i perform Basic Required field Validation. We create Registration.jsp with Three text box , to perform server side validation we created RegistrationServlet. we take boolean variable isError that helps us to track error status , depend on isError value we take decision , if error is present we mark isError true and if all input are present then we mark isError as false. we will navigate user to Home.jsp [ Home page ] if no error found [ isError is False ] We will navigate user to Registartion.jsp [ again input ] with basic Error message. Note: We will Have Total Three Part In this Validation Series.