Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing a list within a List

 
Frank Noble
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic