aspose file tools*
The moose likes Struts and the fly likes javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property result Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property result" Watch "javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property result" New topic
Author

javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property result

rohit surve
Greenhorn

Joined: Mar 19, 2009
Posts: 17
here is my jsp code :



My action class : UserAction.java




My fom class:
UseForm.java.



Book.java



please help...when i run i get error : javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property results of of bean UserForm


Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1


No, your logic:iterate tag definition is wrong, your trying to fetch the bean named "UserForm" from the scope and accessing its property "property". Try this


Read, make it more clear :
http://struts.apache.org/1.3.10/struts-taglib/tagreference.html#logic:iterate


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property result