File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Bunkhouse Porch and the fly likes Simple Tag with an attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "Simple Tag with an attribute" Watch "Simple Tag with an attribute" New topic

Simple Tag with an attribute

Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
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?
I agree. Here's the link:
subject: Simple Tag with an attribute
It's not a secret anymore!