File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes JspException: No getter method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JspException: No getter method" Watch "JspException: No getter method" New topic

JspException: No getter method

Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
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.

Dom Lassy
Ranch Hand

Joined: May 05, 2006
Posts: 181
Each object in your returned list have a "getLabel()" and "getValue()" method. The exception states that "getValue()" does not exist.
Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
Thanks Dom. I have managed to fix the issue.
I created ItemBeans and then successfully populated the drop down.
I agree. Here's the link:
subject: JspException: No getter method
It's not a secret anymore!