<%@page import="java.io.*,java.net.*,java.util.*,javax.servlet.*,javax.servlet.http.*"%> JSP Page
<%String pass=request.getParameter("password");%> <%String user=request.getParameter("user");%> <%if(passId.CheckPass(pass,user)){%> <%session.setAttribute("pass",pass); response.sendRedirect("AdminMode.jsp"); } else if(request.getParameter("password")!=null) {%> Wrong Password or User name!
<%}%>


Administrator Login:
User:
Pass: