• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL expression

 
Arnab Kundu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${colorMap[red]} is equivalent to colorMap.get(pageContext.findAttribute("red")) where colorMap is a Map.

Will the same be true for a)list b) Array c) Bean ???
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For list and Array you can only use [] for bean and map you can use both(dot and []).
 
my overalls have superpowers - they repel people who think fashion is important. 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!