<% String uname=request.getParameter("uname"); String pwd=request.getParameter("pwd"); out.print("iit"); if(uname.equals("admin")&& pwd.equals("admin")) { response.sendRedirect("createfac.jsp"); } else { out.print("olaa"); } %>