Experiment 5 Problem Statement
Write programs in Java to create three-tier applications using servlets for conducting online examination for displaying student mark list. Assume that student information is available in a database which has been stored in a database server.
Three Tier Application Creation using Java Servlets
AIM
To write a JAVA servlet program for the implementation of three tier database connectivity using JDBC.
ALGORITHM
- Create a HTML form with the required input type fields.
- Create a Servlet Page to receive the details entered by the user in the HTML form.
- Initialize the database drive and make a connection to the database.
- Insert the details received from HTML form to the database.
- Display all book details present in the database using select statement.
- Close the connection to the database.