This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Iterator inside iterator  RSS feed

 
Ashish Malik
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!