This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL expressions on Page 417

 
Nilesh Raje
Ranch Hand
Posts: 153
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please explain me the justification for the answer mentioned for Question no 2 Page217.
The book says answer is option is C.I belive that in Option c the ${init-Param['master-email']} the master-email should be in double quotes.

I am actually getting confused in EL expressions while using the dot and [] operator. Can anyone Explain me in short so that I am able to burn it my brains..!



Thanks and Regards,
Nilesh
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${header['host']},${header["host"]}.... This code gives same output, meaning that EL treat the string enclosed in single and double quotes similarly...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic