Which JSTL code snippet can be used to import content from another web resource?()A、c:import url="foo.jsp"/B、c:import page="foo.jsp"/C、c:include url="foo.jsp"/D、c:include page="foo.jsp"/

题目

Which JSTL code snippet can be used to import content from another web resource?()

  • A、<c:import url="foo.jsp"/>
  • B、<c:import page="foo.jsp"/>
  • C、<c:include url="foo.jsp"/>
  • D、<c:include page="foo.jsp"/>
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

WhichJSTLcodesnippetcanbeusedtoimportcontentfromanotherwebresource?()

A.<c:importurl="foo.jsp"/>

B.<c:importpage="foo.jsp"/>

C.<c:includeurl="foo.jsp"/>

D.<c:includepage="foo.jsp"/>


参考答案:A

第2题:

WhichJSTLcodesnippetcanbeusedtoperformURLrewriting?()

A.<ahref=’<c:urlurl="foo.jsp"/>’/>

B.<ahref=’<c:linkurl="foo.jsp"/>’/>

C.<ahref=’<c:urlvalue="foo.jsp"/>’/>

D.<ahref=’<c:linkvalue="foo.jsp"/>’/>


参考答案:C

第3题:

( )可在JSP页面出现该指令的位置处,静态插入一个文件。

A.page指令标签

B.page指令的import属性

C.include指令标签

D.include动作标签


参考答案C

第4题:

Which JSP standard action can be used to import content from a resource called foo.jsp?()

  • A、<jsp:import file=’foo.jsp’ />
  • B、<jsp:import page=’foo.jsp’ />
  • C、<jsp:include page=’foo.jsp’ />
  • D、<jsp:include file=’foo.jsp’ />

正确答案:C

第5题:

当在JSP文件中要使用到Vector对象时,应在JSP文件中加入以下哪个语句?()

  • A、〈jsp:include file=”java.util.*” /〉
  • B、〈jsp:include page=”java.util.*” /〉
  • C、〈%@ page import=”java.util.*” %〉
  • D、〈%@ page include=”java.util.*” %〉

正确答案:C

第6题:

WhichJSPstandardactioncanbeusedtoimportcontentfromaresourcecalledfoo.jsp?()

A.<jsp:importfile=’foo.jsp’/>

B.<jsp:importpage=’foo.jsp’/>

C.<jsp:includepage=’foo.jsp’/>

D.<jsp:includefile=’foo.jsp’/>


参考答案:C

第7题:

You need to dump the data from the master server and import it into a new slave server.Which mysqldump option can be used when dumping data from the master server in order to include the master server‘s binary log information?()

A.Include-master-info

B.Master-binlog

C.Include-log-file

D.Master-data


参考答案:D

第8题:

Whichthe JSTLcodesnippetcanbeusedtoimportcontentfromanotherwebresource?()

A.<c:importurl=*foo.jsp”/>

B.<c:importpage=*foo.jsp”/>

C.<c:includeurl=*foo.jsp”/>

D.<c:includepage=*foo.jsp”/>

E.ImportingcannotbedoneinJSTL.Astandardactionmustbeusedinstead.


参考答案:A

第9题:

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?()

  • A、<%@ import file=’/common/menu.html’ %>
  • B、<%@ page import=’/common/menu.html’ %>
  • C、<%@ import page=’/common/menu.html’ %>
  • D、<%@ include file=’/common/menu.html’ %>
  • E、<%@ page include=’/common/menu.html’ %>

正确答案:D

第10题:

You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()

  • A、<%! import java.util.*; %>
  • B、<%! import java.util.List;import java.util.ArrayList; %>
  • C、<%@ page import=’java.util.List’import=’java.util.ArrayList’ %>
  • D、<%@ import types=’java.util.List’types=’java.util.ArrayList’ %>
  • E、<%@ page import=’java.util.List,java.util.ArrayList’ %>
  • F、<%@ import types=’java.util.List,java.util.ArrayList’ %>

正确答案:C,E

更多相关问题