File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL expressions on Page 417 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL expressions on Page 417" Watch "EL expressions on Page 417" New topic

EL expressions on Page 417

Nilesh Raje
Ranch Hand

Joined: Aug 02, 2005
Posts: 153
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,

Thanks and Regards,<br />Nilesh<br />SCJP 1.4, SCWCD 1.4
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 361
${header['host']},${header["host"]}.... This code gives same output, meaning that EL treat the string enclosed in single and double quotes similarly...

SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
I agree. Here's the link:
subject: EL expressions on Page 417
It's not a secret anymore!