dear members, now i am developing a login page for my system using jsp.

here is my boundary code

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


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head><body>

    <jsp:useBean id="idHandler" class="DBConnection.Login" scope="request" />
    <jsp:setProperty name="idHandler" property="*" />

  <%
        String username = request.getParameter("USERNAME");
        String password = request.getParameter("PASSWORD");
       
       

        if (idHandler.authenticate(username, password))
        {
            response.sendRedirect("../controller/coordinator_home.jsp?USERNAME="+username);
        }
        else
        {
            response.sendRedirect("../boundry/login_coordinator_err.jsp");
        }

        session.setAttribute("USERNAME",username);

    %>


</body></head>
</html>

here is the exception error


org.apache.jasper.JasperException: An exception occurred processing JSP page /controller/login_coord_cont.jsp at line 21

18:
19:
20:
21: if (idHandler.authenticate(username, password))
22: {
23: response.sendRedirect("../controller/coordinator_home.jsp?USERNAME="+username);
24: }


i wish anyone can correct my code .. thanks :)