欢迎来到计算机考试题库网 计算机题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

单项选择题

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.<context-param>
43.<param-name>webmasterEmail</param-name>
44.<param-value>master@example.com</param-value>
45.</context-param>
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>

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题