You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mehran Zonouzi <me...@db.com> on 2003/08/19 15:54:36 UTC
no getter method found
I have the below in my jsp page
Last Name: <html:text property="lastname"/><br>
and this in my ActionForm subclass
private String lastName = null;
public String getlastname(){
return this.lastName;
}
public void setlastname( String lastName){
this.lastName = lastName;
}
But I keep getting the no gett found error message...
No getter method for property lastname of bean org.apache.struts.taglib.html.BEAN
What should the getter method be called?
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: no getter method found
Posted by Mark Galbreath <ma...@qat.com>.
getLastname() and setLastname()
-----Original Message-----
From: Mehran Zonouzi [mailto:mehran.zonouzi@db.com]
Sent: Tuesday, August 19, 2003 9:55 AM
To: struts-user@jakarta.apache.org
Subject: no getter method found
I have the below in my jsp page
Last Name: <html:text property="lastname"/><br>
and this in my ActionForm subclass
private String lastName = null;
public String getlastname(){
return this.lastName;
}
public void setlastname( String lastName){
this.lastName = lastName;
}
But I keep getting the no gett found error message...
No getter method for property lastname of bean
org.apache.struts.taglib.html.BEAN
What should the getter method be called?
--
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org