aspose file tools*
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
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
 
Consider Paul's rocket mass heater.
 
subject: Iterator inside iterator