public String getLastname(){....}  Note the capital "L"

 -----Original Message-----
 From: Mehran Zonouzi [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 19, 2003 6:55 AM
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to