• Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Tag with an attribute

Vivek Alampally
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?
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!