aspose file tools*
The moose likes Struts and the fly likes logic:iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:iterate" Watch "logic:iterate" New topic
Author

logic:iterate

syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 97
Hi ,

Im developing a application using struts in that i have to populate a resultset in a jsp . i have gone for logic:iterate while populating i got this error

javax.servlet.ServletException: Cannot find bean: "orderList" in any scope
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.Pages.OrderList_jsp._jspService(OrderList_jsp.java:141)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)





please help me out .

Thanks in advance


All search starts with beginner's luck and all search ends with victor's severly tested.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

The code looks OK to me, are you sure the "success" returns the same JSP page you posted and for trial and error purpose, try putting the "list" in request scope rather than session.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: logic:iterate