Write a SERVLET application to accept username and password, search them into database, if found then display appropriate message on the browser otherwise display error message.
UserPass.html <html> <body> <form method=post action="http://localhost:4141/Program/servlet/UserPass"> User Name :<input type=text name=user><br><br> Password :<input type=text name=pass><br><br> <input type=submit value="Login"> </form> </body> </html> UserPass.java import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; public class UserPass extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { PrintWriter out = response.getWriter(); try{ String us=reques...