Java认证考试

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 imp

题目

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>
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.You need to retrieve the debug version of the service JavaScript. What should you do?()

A. In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.

B. In the <%@ Page %> header, set the Debug attribute to true.

C. In the script tag, add a debug attribute and set its value to true.

D. In the script tag, append debug to the src attribute.


参考答案:D

第2题:

Why is IPv6 packet processing more effective than IPv4 packet processing?()

A. fixed header size

B. smaller header size

C. fewer header fields

D. variable header size


参考答案:A

第3题:

Header and Footer are strings of text that are placed at the(75) of each page of a document.

A.left or right

B.up or down

C.above or below

D.top or bottom


正确答案:D

第4题:

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

第5题:

在窗体上建立多页面,需要首先建立的对象是() 

  • A、Tab Control
  • B、Page Control
  • C、Header Control
  • D、Page Scroller

正确答案:B

第6题:

When an SRX series device receives an ESP packet, what happens?()

A. If the destination address of the outer IP header of the ESP packet matches the IP address of the ingress interface, it will

B. If the destination IP address in the outer IP header of ESP does not match the IP address of the ingress interface, it will

C. If the destination address of the outer IP header of the ESP packet matches the IP address of the ingress interface, based packet.

D. If the destination address of the outer IP header of the ESP packet matches the IP address of the ingress interface, based of inner header, it will decrypt the packet.


参考答案:C

第7题:

关于Access-Link,下面描述正确的是:()

A.当Access端口收到帧时,如果该帧不包含802.1Q tag header,将打上端口的PVID

B.当Access端口收到帧时,如果该帧包含802.1Q tag header中的VLANID和端口不一致,则更改tag中的VLANID为PVID

C.当Access端口发送帧时,剥离802.1Q tag header,发出的帧为普通以太网帧

D.当Access端口发送帧时,保留802.1Q tag header,发出的帧为带tag的以太网帧


参考答案:A, C

第8题:

You create a master page named PageBase.master. The master page contains a Label control named lblTitle.You create a content page that references the master page.You need to change the Text property of the master page‘s lblTitle control from the content page.Which code segment should you use?()

A.

B.

C.

D.


参考答案:A

第9题:

页框(PageFrame)能包容的对象是()。

  • A、页面(Page)
  • B、列(Column)
  • C、标头(Header)
  • D、表单集(FormSet)

正确答案:A

第10题:

What are the two components of HTTP acceleration? ()(Choose two.)

  • A、caching
  • B、prefetch
  • C、header caching
  • D、content or entity caching

正确答案:A,B

更多相关问题