Which JSP standard action can be used to import content from a resource called foo.jsp?()
第1题:
当在JSP文件中要使用到Vector对象时,应在JSP文件中加入以下哪个语句?()
第2题:
下列语句正确的有()
第3题:
JSP指令不包括()
第4题:
Which JSTL code snippet can be used to import content from another web resource?()
第5题:
()可在JSP页面出现该指令的位置处,静态插入一个文件。
第6题:
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
第7题:
Which the JSTL code snippet can be used to import content from another web resource?()
第8题:
〈jsp:include file=”java.util.*” /〉
〈jsp:include page=”java.util.*” /〉
〈%@ page import=”java.util.*” %〉
〈%@ page include=”java.util.*” %〉
第9题:
<c:import url=foo.jsp/>
<c:import page=foo.jsp/>
<c:include url=foo.jsp/>
<c:include page=foo.jsp/>
第10题:
<jsp:import file=’foo.jsp’ />
<jsp:import page=’foo.jsp’ />
<jsp:include page=’foo.jsp’ />
<jsp:include file=’foo.jsp’ />
第11题:
<a href=’<c:url url=foo.jsp/>’ />
<a href=’<c:link url=foo.jsp/>’ />
<a href=’<c:url value=foo.jsp/>’ />
<a href=’<c:link value=foo.jsp/>’ />
第12题:
<jsp:include page=http://localhost:/8080/my.jsp/>
<%@ include file=http://localhost:/8080/my.jsp/>
<jsp:include file=http://localhost:/8080/my.jsp/>
<%@ include page=http://localhost:/8080/my.jsp/>
第13题:
在J2EE中,对于以下的include指令和include动作,书写正确的是()
第14题:
Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()
第15题:
You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()
第16题:
jsp指令包括()
第17题:
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?()
第18题:
Which JSTL code snippet can be used to perform URL rewriting?()
第19题:
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>
第20题:
<c:import page=*foo.jsp”/>
<c:include url=*foo.jsp”/>
<c:include page=*foo.jsp”/>
Importing cannot be done in JSTL. A standard action must be used instead.
第21题:
<jsp:insert page=’${bodyURL}’ />
<jsp:insert file=’${bodyURL}’ />
<jsp:include page=’${bodyURL}’ />
<jsp:include file=’${bodyURL}’ />
<jsp:insert page=’<%= bodyURL %>’ />
第22题:
<%@ import file=’/common/menu.html’ %>
<%@ page import=’/common/menu.html’ %>
<%@ import page=’/common/menu.html’ %>
<%@ include file=’/common/menu.html’ %>
<%@ page include=’/common/menu.html’ %>
第23题:
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:include file=’/WEB-INF/jsp/header.jsp’>. ${pageTitle=’Welcome Page’}. </jsp:include>
<jsp:insert page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:insert>
<jsp:include page=’/WEB-INF/jsp/header.jsp’>. <jsp:param name=’pageTitle’ value=’Welcome Page’ /> . </jsp:include>