多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()

  • A、<a href=’mailto:${contextParam.webmasterEmail}’>contact us</a>
  • B、<a href=’mailto:${applicationScope.webmasterEmail}’>contact us</a>
  • C、<a href=’mailto:${contextInitParam.webmasterEmail}’>contact us</a>
  • D、<a href=’mailto:${initParam.webmasterEmail}’>contact us</a>
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题