This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Simple Tag Handler Example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Simple Tag Handler Example" Watch "Simple Tag Handler Example" New topic

Simple Tag Handler Example

Mohit Chauhan

Joined: Dec 23, 2012
Posts: 5
In Chapter - 10 on page -521 of book Head first Servlets and Jsp

There is an example with movieList as attribute , getting it from context using EL ...

Then we are using that "movieList" attribute in tag handler class ..
How are we setting Movie class getter and setter methods to get the values of name and gender ?...

Please explain the same ....

Mohit Chauhan

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

What do name and gender have to do with moveiList? Your question is not very clear.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mohit Chauhan

Joined: Dec 23, 2012
Posts: 5
Sorry its name and genre instead of Gender , I am not able to understand that how access to "" and "movie.genre" is happening ....
I agree. Here's the link:
subject: Simple Tag Handler Example
Similar Threads
HashMap in taglib
Setting bean in Simple tag attribute
Help with custom tags
extending with SimpleTagSupport