• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL and EL doubt

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, why can't I see the movie names next to their genres?



Any help is much appreciated.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not accessing the Map properly.

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really appreciate it. Thanks, Satou!
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satou,

Why " ${i.count}. Genre: ${genre}. Movies: ${movieNames["${genre}"]}<br>" is not correct?? Can you please explain???
 
Jerret Halter
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following should work too:



If the " " is aorund ${genre} in movieNames then it is looking for a key ${genre} and not evaluating what ${genre} really is.
[ February 06, 2007: Message edited by: Jerret Halter ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic