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

单项选择题

You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes.
Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()

    A.<jsp:insert page=’${bodyURL}’ />
    B.<jsp:insert file=’${bodyURL}’ />
    C.<jsp:include page=’${bodyURL}’ />
    D.<jsp:include file=’${bodyURL}’ />
    E.<jsp:insert page=’<%= bodyURL %>’ />

点击查看答案

相关考题

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

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