Actually, there is a very minor mistake with option 3, and shud be covered in errata.
<a href='mailto:${initParam['master-email']}'> email me</a>
Notice the single quotes.
It should have been
<a href="mailto:${initParam['master-email']}"> email me</a>
or
<a href='mailto:${initParam["master-email"]}'> email me</a>
I feel the actual option 3 may fail because of its syntax(all single quotes). Doesn't it? Please let me know if anyone knows the answer for sure.
Thanks
Given that a web application stores the webmaster email address in the servlet context initialization parameter called master-email.
which retrieves that value?
1 <a href='mailto:${initParam.master-email}'> email me</a>
2 <a href='mailto:${contextParam.master-email}'> email me</a>
3 <a href='mailto:${initParam['master-email']}'> email me</a>
4 <a href='mailto:${contextParam['master-email']}'> email me</a>
which answer is correct i just want to know bert. Can u tell the answer. Answer is given as option 3.