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 No getter method for property 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 "No getter method for property" Watch "No getter method for property" New topic
Author

No getter method for property

Dave Jamz
Greenhorn

Joined: Sep 29, 2012
Posts: 8
Hi I am trying to use struts to get a bean to my jsp code the bean I am using in my jsp page is: <bean:write name="unitForm" property="testData.team.type" /> but whenever I run the jsp I am receiving No getter method for property: "testData.team.type" of bean: "unitForm". I am trying to write baseball to my jsp page.

the code for my action form is:



testing data class has:


and finally in my sport class:




 
 
subject: No getter method for property
 
Similar Threads
Struts: No getter method for property: "check" of bean: "teamPlayers" problem
No getter method for bean write in Struts
Simple EL code is not working
Checked JComboBox
form:options tag cause error : Bean property is not readable or has an invalid getter method