I have the following login codes.
if (uname == "Abigail" && password=="Abby14"){
    response.sendRedirect("http://localhost:8080/Practical_4/member.jsp");
     }
 else {
   response.sendRedirect("http://localhost:8080/Practical_4/index.html");
 }
I realized that my jsp page treats the if-statement as if it's an else statement, and only executes the else-statement.
 
     
     
     
    