• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

No getter method available for property value for bean under name

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic