<%
String username;
String password;
String msg="";
%>
<%
if("POST".equals(request.getMethod()))
{
username = request.getParameter("username");
//username = "usr1";
//
password = request.getParameter("password");
// password = "pwd1";
//
if(username.equals("") || password.equals(""))
{
msg = msg + "Invalid UserName or Password";
session.setAttribute("AdminID","");
session.setAttribute("Auth","0");
}
else
{
session.setAttribute("AdminID",""+objAdmin[0].getUser_ID());
session.setAttribute("Auth","1");
%>
<jsp:forward page="*****.jsp" />
<%