Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt from chap:8

 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one doubt from the HFSJ book, chapter:8, self test example-2.

In example-2 why the answer is "c". from where this syntax come"${initParam['master-email']}. I have not seen ('') in [] operator in EL in whole the chapter in the book.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either single or double quotes can be used like that if the [] object is a map. In most cases, I've used single quotes in the past because I'll use double quotes to surround the attribute value.
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marc. I got it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic