Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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
 
Similar Threads
No getter method for property - Problem
Servlet action not available
Struts: No getter method for property name problem
intresting problem : same page with few modification on some conditions
struts beginner question