This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 558

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: 558

Requirement :: i want to assign a dropdownList in jsp page using options collection.so please help me out with this.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: No getter method when trying to populate select on .jsp page in Struts
 
jQuery in Action, 3rd edition