Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Robert Wiscup
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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

Rob
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Robert Wiscup
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepak,

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

Rob
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Requirement :: i want to assign a dropdownList in jsp page using options collection.so please help me out with this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic