wood burning stoves 2.0*
The moose likes Struts and the fly likes Using  logic iterate Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using  logic iterate Question" Watch "Using  logic iterate Question" New topic
Author

Using logic iterate Question

Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi ranchers....
i am using jsp1.2, and i am trying <logic:iterate > with collection property....like this :

And i tried this :


however there is an JspException thrown at run time..can any one give me what is the problem?

[ September 07, 2006: Message edited by: Ala'a Hendi ]
[ September 07, 2006: Message edited by: Ala'a Hendi ]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Change this:



to this:



Merrill
Consultant, Sima Solutions
alan wamser
Ranch Hand

Joined: Jan 30, 2006
Posts: 41
It should look like this...

<logic:iterate id="row" name="myList">
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Alan is right... it should be name instead of collection.
 
Consider Paul's rocket mass heater.
 
subject: Using logic iterate Question
 
Similar Threads
Iterating through local List using JSTL
format attribute in bean:write not working
JspTranslate: End of content reached while more parsing required: tag nesting error?.
including content in jsp from action class ?
Problem using html:radio