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

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


相似考题
更多“单选题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/’ /”相关问题
  • 第1题:

    在本窗口打开超链接的代码是()

    • A、<a href=URL target=_top>..</a> 
    • B、<a href=URL target=_parent>..</a> 
    • C、<a href=URL target=_blank>..</a> 
    • D、<a href=URL target=_self>..</a>

    正确答案:D

  • 第2题:

    创建一个位于文档内部位置的链接的代码是?()

    • A、<a href="#NAME"></a>
    • B、<a name="NAME"></a>  
    • C、<a href="mailto:EMAIL"></a> 
    • D、<a href="URL"></a>

    正确答案:A

  • 第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题:

    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

  • 第5题:

    关于网页中的图像,下列说法正确的是()

    • A、图像是由〈img〉标签开始,由〈/img〉结束。
    • B、图像标签的 href属性用于指定图像链接到的URL。
    • C、src属性的值是所要显示图像的URL。
    • D、以上全都是错的。

    正确答案:B

  • 第6题:

    如何在新窗口打开链接?()

    • A、<a href="url" new>  
    • B、<a href="url" target="_blank">  
    • C、<a href="url" target="new">  
    • D、<a href="url" target="_parent">

    正确答案:B

  • 第7题:

    框架中“禁止改变框架窗口大小”的语法是()

    • A、<a href="right.html" target="rightframe"> 
    • B、<IMG src="URL" border=?> 
    • C、<FRAMESET rows="20%,*" frameborder="0"> 
    • D、<FRAME noresize>

    正确答案:D

  • 第8题:

    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

  • 第9题:

    Which two JSTL URL-related tags perform URL rewriting?()

    • A、Url
    • B、Link
    • C、Param
    • D、Import
    • E、Redirect

    正确答案:A,E

  • 第10题:

    单选题
    CSSStyleSheet对象的href属性说法正确的是()。
    A

    返回样式表的位置(URL),如果是内联样式表,则为null

    B

    以上都不对

    C

    返回样式表的位置(URL),如果是内联样式表,则为false

    D

    返回样式表的位置(URL),如果是内联样式表,则为true


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

  • 第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 the two JSTL URL-related tags perform URL rewriting?()
    A

    url

    B

    link

    C

    param

    D

    import

    E

    redirect


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

  • 第13题:

    链接(Link)基本语法是()

    • A、<a goto="URL"> ... </a> 
    • B、<a herf="URL"> ... </a> 
    • C、<a link="URL"> ... </a> 
    • D、<a href="URL"> ... </a>

    正确答案:D

  • 第14题:

    关于网页中的图像,下列说法正确的是()。

    • A、图像是由<img>标签开始,由结束。
    • B、图像标签的href属性用于指定图像链接到的URL。
    • C、src属性的值是所要显示图像的URL。
    • D、以上全都是错的。

    正确答案:C

  • 第15题:

    HTML文件中用超级链接标记指向一个目标的基本格式为()。

    • A、<ahref=″URL″> 
    • B、<href=″URL″>字符串 
    • C、<ahref=″URL″>字符串</a> 
    • D、<href=″URL″>

    正确答案:C

  • 第16题:

    一个taglib指令必须有哪些属性?()

    • A、value prefix
    • B、url loaction
    • C、url prefix
    • D、url value

    正确答案:C

  • 第17题:

    CSSStyleSheet对象的href属性说法正确的是()。

    • A、返回样式表的位置(URL),如果是内联样式表,则为null
    • B、以上都不对
    • C、返回样式表的位置(URL),如果是内联样式表,则为false
    • D、返回样式表的位置(URL),如果是内联样式表,则为true

    正确答案:A

  • 第18题:

    在框架页中的主框架中打开链接的代码是()

    • A、<a href=URL target=_left>..</a> 
    • B、<a href=URL target=_blank>..</a> 
    • C、<a href=URL target=_top>..</a> 
    • D、<a href=URL target=_main>..</a>

    正确答案:D

  • 第19题:

    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

  • 第20题:

    All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()

    • A、<a href=’mailto:${contextParam.webmasterEmail}’>contact us</a>
    • B、<a href=’mailto:${applicationScope.webmasterEmail}’>contact us</a>
    • C、<a href=’mailto:${contextInitParam.webmasterEmail}’>contact us</a>
    • D、<a href=’mailto:${initParam.webmasterEmail}’>contact us</a>

    正确答案:D

  • 第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题:

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

  • 第23题:

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

  • 第24题:

    单选题
    All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()
    A

    <a href=’mailto:${contextParam.webmasterEmail}’>contact us</a>

    B

    <a href=’mailto:${applicationScope.webmasterEmail}’>contact us</a>

    C

    <a href=’mailto:${contextInitParam.webmasterEmail}’>contact us</a>

    D

    <a href=’mailto:${initParam.webmasterEmail}’>contact us</a>


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