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 JspException: No getter method 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 "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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JspException: No getter method
Similar Threads
Cannot retrieve mapping for action /content/AddLinks
Dynamic Population of Drop Down List using AJAX
Help me about html:select
NullPointerException: Module 'null' not found
Struts: Getting a blank page instead of the form