Creation of simple login application using Servlet, Testing the application using JUnit, and Deloying the application into Apache server.
Here I am using Eclipse for developing this application. In this application i hard coded user name and password. In real application these values are fetched from database. 1. Create a new dynamic web project and name it as ServletStudy. 2. Inside the WebContent folder ,create a index.jsp file and include the following code. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org /TR/html4/ loose.dtd"> <html> <head> ...