Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Tag with an attribute  RSS feed

Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody help me to complete the code on page no. 521 of Head first Servlets and JSP 2nd edition?

I am wondering what movieCollection might be?

I am thinking it as a List of Movie objects? So we must have another
class with name Movie and it should have two instance variables namely
name & genre.

So my primary concern are
1. Where should we create Movie objects?
2. Where should we set movieCollection as an attribute?
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
Thread Boost - a very different sort of advertising
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!