This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
Sheriff

Joined: Jul 19, 2004
Posts: 7231
    
  29

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
OCAJP 7
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
 
It's not a secret anymore!