更多“单选题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题:

    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

  • 第2题:

    当在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

  • 第3题:

    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

  • 第4题:

    JSP指令不包括()

    • A、page指令
    • B、taglib指令
    • C、import指令
    • D、include指令

    正确答案:C

  • 第5题:

    与page指令<%@ page import= “java.util.*, java.text.* “ %> 等价的是()。

    • A、<%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ page import= “java.util.* %> <%@ page import= “java.text.* “ %> 
    • B、<%@ page import= “java.util.*”  ,  import= “java.text.* “ %> 
    • C、<%@ page import= “java.util.* “  ;  %> <%@ page import= “java.text.* “  ; %>
    • D、<%@ page import= “java.util.* ; java.text.* “ %>

    正确答案:A

  • 第6题:

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

    • A、page指令标签
    • B、page指令的import属性
    • C、include指令标签
    • D、include动作标签

    正确答案:C

  • 第7题:

    Which JSTL code snippet can be used to perform URL rewriting?()

    • A、<a href=’<c:url url="foo.jsp"/>’ />
    • B、<a href=’<c:link url="foo.jsp"/>’ />
    • C、<a href=’<c:url value="foo.jsp"/>’ />
    • D、<a href=’<c:link value="foo.jsp"/>’ />

    正确答案:C

  • 第8题:

    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

  • 第9题:

    单选题
    当在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
    解析: 暂无解析

  • 第10题:

    单选题
    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/>


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    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’ />


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    Which JSTL code snippet can be used to perform URL rewriting?()
    A

    <a href=’<c:url url=foo.jsp/>’ />

    B

    <a href=’<c:link url=foo.jsp/>’ />

    C

    <a href=’<c:url value=foo.jsp/>’ />

    D

    <a href=’<c:link value=foo.jsp/>’ />


    正确答案: B
    解析: 暂无解析

  • 第13题:

    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

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

    • 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

  • 第15题:

    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

  • 第16题:

    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"/>

    正确答案:A

  • 第17题:

    jsp指令包括()

    • A、page指令
    • B、taglib指令
    • C、import指令
    • D、include指令

    正确答案:A,B,D

  • 第18题:

    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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?() <title>

    • A、<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
    • B、<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
    • C、<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
    • D、<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>

    正确答案:A

  • 第19题:

    Which the 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”/> 
    • E、 Importing cannot be done in JSTL. A standard action must be used instead.

    正确答案:A

  • 第20题:

    单选题
    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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?()
    A

    <jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>

    B

    <jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>

    C

    <jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>

    D

    <jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    Which the 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”/> 

    E

     Importing cannot be done in JSTL. A standard action must be used instead.


    正确答案: D
    解析: 暂无解析

  • 第22题:

    单选题
    与page指令 等价的是()。
    A

    <%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ import="“java.text.*" page=""><%@ import="“java.util.*" page=""><%@ page import= “java.util.* %> <%@ page import= “java.text.* “ %> 

    B

    <%@ page import= “java.util.*”  ,  import= “java.text.* “ %> 

    C

    <%@ page import= “java.util.* “  ;  %> <%@ page import= “java.text.* “  ; %>

    D

    <%@ page import= “java.util.* ; java.text.* “ %>


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    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’ %>


    正确答案: E
    解析: 暂无解析

  • 第24题:

    多选题
    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’ %>


    正确答案: D,A
    解析: 暂无解析