Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No getter method for property error  RSS feed

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

Try renaming your methods like
 
Roel De Nijs
Marshal
Posts: 10996
161
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 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
  • 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!