• Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom Tag Development

 
Abhishek Kumar Singh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFSJ Pg 511, the Jsp Tag Invocation where does "${movieCollection}" come from.
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They do not say, but you can extrapolate out this example by using the one on the previous page. Instead of an array of Strings called Movies, you can create a List, populate it with instances of the Movie object that has a name property and a genre property and place it into some scope with the name of movieCollection.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!