This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Bean defined in logic:iterate is not found in any scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Bean defined in logic:iterate is not found in any scope" Watch "Bean defined in logic:iterate is not found in any scope" New topic
Author

Bean defined in logic:iterate is not found in any scope

Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Hi,
In the logic iterate i use the id "innerFundCode" to define a bean and inside the loop I am writing one property of the bean defined using the id.

This works almost always. But when i perform a particular function i am getting the error "Cannot find bean innerFundCode in any scope". I cheked the property of the actionForm on which i iterate, that property has 3 beans in the collection. Can anybody help me fix this error?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Mind posting the code?


A good workman is known by his tools.
Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Hi, if you want the complete code its huge...If u want i will post only the part where this error occurs.
Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Thanks a lot for your interest.I got this solved by cleaning and rebuildng the project in Eclipse. This is happening so often. The lesson i got is if we cant resolve some bug,then its better to clean the project once and build it again.
 
jQuery in Action, 2nd edition
 
subject: Bean defined in logic:iterate is not found in any scope
 
Similar Threads
Problem with Tiles-Definition
HTML:link tag with dynamic page attribute?
Selecting a single row in a table, then saving that index in the struts form
<jsp:include> and <jsp:useBean>
Double Iteration