aspose file tools*
The moose likes Struts and the fly likes  No getter method for property error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " No getter method for property error" Watch " No getter method for property error" New topic
Author

No getter method for property error

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, i experience this error , how i solve this ?

]org.apache.jasper.JasperException: No getter method for property c_company of bean org.apache.struts.taglib.html.BEAN


Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Hi,

Try renaming your methods like


"Failure is not when you fall down; its only when you fail to get up again."
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4926
    
  10

or change in your jsp-page where you have c_company (e.g. in <bean:write name="beanName" property="c_company"/>
into

<bean:write name="beanName" property="company"/>


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thanks , shankar and roel...it work ...
[ August 03, 2004: Message edited by: Alvin chew ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No getter method for property error
 
Similar Threads
javabean getter and setter
getXXX error?? for XXXX
Struts nested:notEmpty tab
Retrieve values from Object[][] using iterator
Please Help Me With This Error Message