File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using logic iterate Question