Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JspException: No getter method

 
Kunal Sathe
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am looking for some help with an exception that I am getting when I try to load my JSP page.

javax.servlet.jsp.JspException: ServletException in '/pages/appEntry/slf/dollarCostAveraging.jsp': No getter method available for property value for bean under name dcaFromFundTypes


The following are snippets of my jsp and SessionData class that I use:








I will appreciate any help in this regard.

Thanks,
Kunal
 
Dom Lassy
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each object in your returned list have a "getLabel()" and "getValue()" method. The exception states that "getValue()" does not exist.
 
Kunal Sathe
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dom. I have managed to fix the issue.
I created ItemBeans and then successfully populated the drop down.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic