black

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>

相关考题

单项选择题 WhichensuresthataJSPresponseisoftype"text/plain"?()

单项选择题 You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the <title> tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?()

单项选择题 Given tutorial.jsp: 2.EL Tutorial 3.Example 1 4. 5.Dear ${my:nickname(user)} 6. Which, when added to the web application deployment descriptor,ensures that line 5 is included verbatimin the JSP output?()

All Rights Reserved 版权所有©计算机考试题库(jsjtiku.com)

备案号:湘ICP备14005140号-4

经营许可证号:湘B2-20140064