下面关于动态包含的语法格式,书写正确的是( )。
A: <jsp:forward file=”relativeURL” />
B: <jsp:forward path=”relativeURL” />
C: <jsp:forward page=”relativeURL” />
D: <%@include file=”relativeURL” />
A: <jsp:forward file=”relativeURL” />
B: <jsp:forward path=”relativeURL” />
C: <jsp:forward page=”relativeURL” />
D: <%@include file=”relativeURL” />
举一反三
- 下面关于动态包含的语法格式,书写正确的是( ) A: <%@include file=”relativeURL”/> B: <jsp:forward page=”relativeURL”/> C: <jsp:forward file=”relativeURL” /> D: <jsp:include page=”relativeURL”/>
- 下面关于动态包含的语法格式,书写正确的是( ) A: <;jsp:include file=”relativeURL” />; B: <;jsp:include path=”relativeURL” />; C: <;jsp:include page=”relativeURL” />; D: <;%@include file=”relativeURL” />;
- 下面关于动态包含的语法格式,书写正确的是( ) A: jsp:forward file=”relativeURL” B: C: D: %@include file=”relativeURL”
- 下列选项不能实现页面跳转的是( ) A: <jsp:forward page="page1.jsp" /> B: <jsp:forward page="http://www.baidu.com" /> C: <% response.sendRedirect("page1.jsp");%> D: <% response.sendRedirect("http://www.baidu.com");%>
- 在当前页面中包含a.htm的正确语句是( ) A: <%@ include=”a.htm”%> B: <jsp:include file=”a.htm”/> C: <%@ include page=”a.htm”%> D: <%@ include file=”a.htm”%>