Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rohit surve
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic