<%@page import="java.io.*"%> <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> Administation Entery

Administration

<% String name=request.getParameter("userName"); String pass=request.getParameter("pwd"); if (session.getAttribute("Password")!=null) { response.sendRedirect("runnersList.jsp?Admin='ok'"); } if(name!=null && pass!=null) if (name.compareTo("admin")==0 && pass.compareTo("12345")==0) { session.setAttribute("Password",pass); response.sendRedirect("runnersList.jsp?Admin='ok'"); } if(name!=null || pass !=null) { %> Worng user name or password,Try again.....
<% } %> Enter user name and password for identification.
User Name
Password