This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes No getter method when trying to populate select on .jsp page in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method when trying to populate select on .jsp page in Struts" Watch "No getter method when trying to populate select on .jsp page in Struts" New topic
Author

No getter method when trying to populate select on .jsp page in Struts

Robert Wiscup
Ranch Hand

Joined: Oct 18, 2009
Posts: 45
Hi Everyone,

Despite my best efforts I have not been able to overcome this problem . . .

When loading one of my DropDown Boxes on my .jsp I get the error:

"org.apache.jasper.JasperException: No getter method available for property staffId for bean under name org.apache.struts.taglib.html.BEAN"

The odd thing about this is that I'm populating other dropdowns on the same .jsp page and they work fine . . . and they are coded very similar to this one so it's something particular to this dropdown . . .

Thanks for your help,

Rob



*********** Bean *******************




************* JSP *******************




******* Relevant Portion of Action *************

Robert Wiscup
Ranch Hand

Joined: Oct 18, 2009
Posts: 45
Hi All,

I was able to solve this problem finally . . . so please disregard . . .

Rob
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Hi Robert and Ranchers,
Even I'm facing a similar issue in Struts Dropdown.
Could you please look into my issue and help me in resolving it.



When The Going Gets Tougher,The Tougher gets Going
Robert Wiscup
Ranch Hand

Joined: Oct 18, 2009
Posts: 45
Hi Deepak,

I can try to assist . . . what exactly is the problem?

Rob
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Requirement :: i want to assign a dropdownList in jsp page using options collection.so please help me out with this.
 
jQuery in Action, 2nd edition
 
subject: No getter method when trying to populate select on .jsp page in Struts
 
Similar Threads
Displaying Data From Different Tables in .jsp
Issue in Struts Dropdown(Need Help Ranchers)
org.springframework.beans.NotReadablePropertyException
Populating <html:select> tag
java.lang.IllegalArgumentException: argument type mismatch