下列语句正确的有()
A: <%@ include file=”head.jsp”%>
B: <% String url=”head.jsp”;%><%@ include file=”url”%>
C: <%@ include file=”head.jsp”?name=”lovo”%>
D: <%String companyName=”lovo”;%>%@include file”head.jsp”?name=‟companyName”%
A: <%@ include file=”head.jsp”%>
B: <% String url=”head.jsp”;%><%@ include file=”url”%>
C: <%@ include file=”head.jsp”?name=”lovo”%>
D: <%String companyName=”lovo”;%>%@include file”head.jsp”?name=‟companyName”%
举一反三
- 以下通过JSP的include指令来引入其他JSP页面方式正确的是() A: <;%@include file="head.jsp"%>; B: <;% @include file="head.jsp"%>; C: <;%@ include file="head.jsp"%>; D: <; %@include file="head.jsp"% >;
- 以下通过JSP的include指令来引入这些抽取出的JSP页面方式正确的是() 未知类型:{'options': ['[%@include file="head.jsp"%]', '[% @include file="head.jsp"%]', '[%@ include file="head.jsp"%]', '[ %@include file="head.jsp"% ]'], 'type': 102}
- 以下通过JSP的include指令来引入这些抽取出的JSP页面方式正确的是()(多选) A: %@include file="head.jsp"%> ......省略 B: ......省略 C: ......省略 D: %@include file="head.jsp"% > ......省略
- 下面哪个方法不属于JSP指令:() A: <jsp:param name=”username” value=”liu”/> B: <%@include file=”head.jsp”%> C: <%@taglib uri=”/struts.tags” prefix=”s”%> D: <%@page contectType=”texthtml,charset=gb2312”%>
- 下面关于动态包含的语法格式,书写正确的是( ) A: <;jsp:include file=”relativeURL” />; B: <;jsp:include path=”relativeURL” />; C: <;jsp:include page=”relativeURL” />; D: <;%@include file=”relativeURL” />;