my dog learned polymorphism
The moose likes JSP and the fly likes Simple Tag Handler Example Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Simple Tag Handler Example" Watch "Simple Tag Handler Example" New topic
Author

Simple Tag Handler Example

Mohit Chauhan
Greenhorn

Joined: Dec 23, 2012
Posts: 3
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 ....



Regards
Mohit Chauhan


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Mohit Chauhan
Greenhorn

Joined: Dec 23, 2012
Posts: 3
Sorry its name and genre instead of Gender , I am not able to understand that how access to "movie.name" and "movie.genre" is happening ....
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Simple Tag Handler Example
 
Similar Threads
HashMap in taglib
jsp:attibute
Help with custom tags
Setting bean in Simple tag attribute
extending with SimpleTagSupport