Database and validation - English

3483 visits



Outline:

Create database library Create table users Load JDBC Driver Run the project Login and show successGreeting page Explain GreetingServlet.java Explain getParameter method Explain code for JDBC connection To redirect to successGreeting.jsp use RequestDispatcher Similarly explain how to print error messages on index.jsp Explain about scriptlet in index.jsp What is Model Explain the User Model Register as a new user Explain about successUser Page Explain AddUserServlet.java Explain different errors possible while filling the form