This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Iterator inside iterator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Iterator inside iterator" Watch "Iterator inside iterator" New topic
Author

Iterator inside iterator

Ashish Malik
Ranch Hand

Joined: Jul 11, 2010
Posts: 50
I have written following code inside my jsp:





'listofStudents ' is ofcourse the list of 'student' object.
'student' object contains 'studentCourses' as set of 'Courses' object that contains courseName.

Now the problem is, rendered page does not prints out courseName(s). All other things such as 'rollNum' are printing perfectly.
URGENT!
Anshul K Jain
Greenhorn

Joined: Jul 24, 2010
Posts: 20

Hi Ashish,

As 'student' object contains 'studentCourses' as set so student courses is available only when you say student.studentCourses i.e




May it will helps you..

Anshul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iterator inside iterator