anchor.diff:                  email = request.getParameter("email");
               }
               
  +            if (request.getParameter("status")!= null) {
  +                status = request.getParameter("status");
  +            }
  +            
               
               Insert insert = new Insert();
  -            result= insert.setUsers(firstName, lastName, email);
  +            result= insert.setUsers(firstName, lastName, email, status);
               }
           %>
           <form name="myForm" action="JSP/AddUser.jsp" method="POST">
  
positive.code:             try {
                      connection = DriverManager.getConnection(URL, USERNAME, PASSWORD);
                      insertUsers = connection.prepareStatement(
                      "INSERT INTO user (user_fname, user_lname, user_email)"
                      + " VALUES (?, ?, ?)" );
                  } catch (Exception e) {
                      e.printStackTrace();
                  }
              }
  
              public int setUsers (String first, String last, String email) {
  
                  int result = 0;
                  try {
                  insertUsers.setString(1, first);
                  insertUsers.setString(2, last);
                  insertUsers.setString(3, email);
                  result = insertUsers.executeUpdate();
  
                  } catch (SQLException e) {
  
negative.code:                 }
                //-->  
              </script>
  </html>
  