I'm trying to test my JSP. Unfortunately, whenever I load the page, I encounter the error message: Can't find any info on the property - PropertyStatusMsg, in a bean of type 'login'. What could possibly be wrong with my code?

login.java

public class login {
//Properties
private int Idno = 0;
private int idnum;
private String pwd = null;
private String pword;
private boolean isInitialized;
private String msg;

public void setIdno(int idnum) {
Idno = idnum;

}

public int getIdno() {
return Idno;

}

public void setPwd(String pword) {
isInitialized = true;
pwd = pword;

}

public String getPwd() {
return pwd;

}

public String getPropertyStatusMsg() {

msg = "Welcome!";

if(!isInitialized()) {
msg = "Please enter values in all fields.";
}

return msg;

}

public String[] getPropertyStatusDetails() {
Vector details = new Vector();

if(isInitialized() && !isValid()) {

if(idnum == 0) {
details.addElement("Id number is missing.");
}

if(pword == null) {
details.addElement("Password is missing.");
}

}

String[] arr = new String[details.size()];
details.copyInto(arr);
return arr;
}

public boolean isInitialized() {
return isInitialized;
}

public boolean isValid() {
return isInitialized() && getIdno() != 0 && getPwd() != null;
}

}

login.jsp


<%@ page language="java" contentType="text/html" %>
<jsp:useBean id="login" scope="request" class="login" />
<jsp:setProperty name="login" property="*" />

<html>
<head>
<title>Untitled</title>
</head>

<body>
<font color="red">
<jsp:getProperty name="login" property="propertyStatusMsg" />
<ul>
<ora:loop name="login" property="propertyStatusDetails" loopId="details" className="String" >
</ora:loop>
</ul>
</font>

</body>
</html>