Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No getter method available for property value for bean under name

 
Aravind Ramanujam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to populate a select in a jsp page. Here is the code snippet:


P.S: I inserted a space after : to avoid the smiley icons

I'm getting the following error:

[ServletException in:../jsp/List.jsp] No getter method available for property value for bean under name busDetail'

The property "busDetails" is defined in the SearchInputForm. I've defined "busDetail" using the <bean: define> tag. Am i doing anything wrong here?

All your help is appreciated.
[ December 15, 2005: Message edited by: Aravind Ramanujam ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What this message is telling you is that struts can't find a getValue() method on the individual bean contained within the busDetails collection in your ActionForm. Check your bean. Does it have a getValue() method?
 
Aravind Ramanujam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Merrill. That was the problem. I didn't have the method getValue() in my Object in the collection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic