wood burning stoves 2.0*
The moose likes Struts and the fly likes No getter method available for property value for bean under name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method available for property value for bean under name " Watch "No getter method available for property value for bean under name " New topic
Author

No getter method available for property value for bean under name

Aravind Ramanujam
Greenhorn

Joined: Dec 14, 2004
Posts: 16
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

Joined: Feb 15, 2005
Posts: 4864
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?


Merrill
Consultant, Sima Solutions
Aravind Ramanujam
Greenhorn

Joined: Dec 14, 2004
Posts: 16
Thanks a lot Merrill. That was the problem. I didn't have the method getValue() in my Object in the collection.
 
wood burning stoves
 
subject: No getter method available for property value for bean under name
 
Similar Threads
No getter property ....
How do I use html:select?
How to populate html:select options in struts
Problem passing parameter with optionsCollection
Help on Drop Down