File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No getter method for property error

 
Alvin chew
Ranch Hand
Posts: 834
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Try renaming your methods like
 
Roel De Nijs
Sheriff
Posts: 9209
78
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
 
Alvin chew
Ranch Hand
Posts: 834
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic