File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Accessing  a list within a List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing  a list within a List" Watch "Accessing  a list within a List" New topic

Accessing a list within a List

Frank Noble

Joined: Jun 05, 2008
Posts: 2
Hi, i have a list which for which i am using list iterator tag and getting the details.

Now i have a list within the object OppurtunityVO which is of type strings, i used the within the previous logic:iterator following, but i m not getting the output,

I am very much new to using struts, can anyone help me out in this issue.I am using Struts 1.2.9

Regards<br />Frank
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Reomve scope="session" from your second logic:iterate tag. The first logic:iterate tag places the opVOList variable in page scope, not session scope. Since Struts will check all scopes for the variable, it's usually best just to leave out the scope attribute.
[ June 11, 2008: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link:
subject: Accessing a list within a List
It's not a secret anymore!