permaculture playing cards*
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
Author

Accessing a list within a List

Frank Noble
Greenhorn

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 ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing a list within a List
 
Similar Threads
problem with logic:iterate
Getting Data from Struts ActionForm to a JSP
problem using logic:iterate
JSTL conversion for struts 1.1 code
Display Check Boxes & Dropdowns in Struts with search results