hello all.
i found a problem, i am not sure whether its a bug in struts.
but i really dont understand why this happened.
i created one bean which extended from ActionForm named as ProfileForm.
and one variable named as "fName"
class final class ProfileForm extends ActionForm {
private String fName;
public void setFName(String fName) {
this.fName = fName;
}
public String getFName() {
return this.fName;
}
}
i got the following error message when i try to access fName property in jsp
.
"javax.servlet.jsp.JspException: No getter method for property fName of bean
org.apache.struts.taglib.html.BEAN"
buf if i change the property name to selfName, there are no such kind
problem.
i am confused.
thank in advance.
redbeebird