在当前页面中包含a.htm的正确语句是() A、 %@ include=”a.htm”%B、 jsp:include file=”a.htm”/ C、 %@ include page=”a.htm”% D、 %@ include file=”a.htm”%

在当前页面中包含a.htm的正确语句是() 

  • A、 <%@ include=”a.htm”%>
  • B、 <jsp:include file=”a.htm”/> 
  • C、 <%@ include page=”a.htm”%> 
  • D、 <%@ include file=”a.htm”%> 

相关考题:

●下面是一些Internet上常见的文件类型, (43) 文件类型一般代表WWW页面文件。(43) A.htm或htmlB.txt或textC.gif或jpegD.wav或au

下列说法中正确的是( )A、include指令通知容器将当前的JSP页面中内嵌的、在指定位置上的资源内容包含B、include指令中file属性指定要包含的文件名C、include指令只允许你包含动态页面D、Taglib指令允许页面使用者自定义标签

下面程序的预设功能是:统计文件abc.txt中的字符个数。 include include 下面程序的预设功能是:统计文件abc.txt中的字符个数。include <iostream.h>include <fstream.h>include <stdlib.h>void main(){fstream file;file.open( "abc.txt", ios::in);if ( !file ){cout<<"Can not open abc.txt"<<end1;abort();}char ch;int i = O;while (______________){file.get(ch);i++;}cout<<"Characters : "<<i<<end1;file.close();}则程序中空白处应该填入的语句是【 】。

( )可在JSP页面出现该指令的位置处,静态插入一个文件。A.page指令标签B.page指令的import属性C.include指令标签D.include动作标签

当前文件夹下有一个HTML文件a.htm和一个子文件夹B,文件夹B中有一个图片文件flower.jpg,请问下面哪种写法可以在a.htm中插入该图片?()

以下程序的执行结果是_______。 include include include void 以下程序的执行结果是_______。include<iostream.h>include<fstream.h>include<stdlib.h>void main(){char ch:fstream file:file.open("abc.dat",ios::out1ios::inlios::binary);if(! file){cout<<“abc.dat文件不能打开”<<endl:abort

下面是一些Internet上常见的文件类型,(43)文件类型一般代表WWW页面文件。A.htm或htmlB.txt或textC.gif或jPe8D.wav或au

请用javascript. 脚本实现弹出无边框窗口显示a.htm页

下面是一些Internet上常见的文件类型,(49)文件类型一般代表WWW页面文件。A.htm或htmlB.txt(或textC.gif或jpegD.wav或au

当在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.*” %〉

在J2EE中,对于以下的include指令和include动作,书写正确的是() A、jsp:include page=http://localhost:/8080/my.jsp/ B、%@ include file=http://localhost:/8080/my.jsp/C、jsp:include file=http://localhost:/8080/my.jsp/ D、%@ include page=http://localhost:/8080/my.jsp/

下列语句正确的有()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”%

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’ %

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

当前文件夹下有一个HTML文件a.htm和一个子文件夹B,文件夹B中有一个图片文件flower.jpg,请问()写法可以在a.htm中插入该图片A、imgsrc="flower.jpg"B、imgsrc="../flower.jpg"C、imgsrc="B/flower.jpg"D、imgsrc="/B/flower.jpg"

()可在JSP页面出现该指令的位置处,静态插入一个文件。A、page指令标签B、page指令的import属性C、include指令标签D、include动作标签

A文件夹与B文件夹是同级文件夹,其中A下有a.htm,B下有b.htm文件,现在我们希望在a.htm文件中创建超链接,链接到b.htm,应该在a.htm页面代码中如何描述链接内容?()A、b.htmB、././././B/b.htmC、../B/b.htmD、../../b.htm

You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()A、jsp:insert page=’${bodyURL}’ /B、jsp:insert file=’${bodyURL}’ /C、jsp:include page=’${bodyURL}’ /D、jsp:include file=’${bodyURL}’ /E、jsp:insert page=’%= bodyURL %’ /

You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A、% if ( request.isUserInRole("SalesManager") ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B、jsp:if test=’request.isUserInRole("SalesManager")’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC、% if ( request.isUserInRole("SalesManager") ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D、jsp:if test=’request.isUserInRole("SalesManager")’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if

单选题当在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.*” %〉

单选题在当前页面中包含a.htm的正确语句是()A %@ include=”a.htm”%B jsp:include file=”a.htm”/ C %@ include page=”a.htm”% D %@ include file=”a.htm”%

单选题下列语句正确的有()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”%

单选题Which JSP standard action can be used to import content from a resource called foo.jsp?()Ajsp:import file=’foo.jsp’ /Bjsp:import page=’foo.jsp’ /Cjsp:include page=’foo.jsp’ /Djsp:include file=’foo.jsp’ /

单选题用超文本语言编写的静态网页文档的扩展名为()。A.htm或者.xmlB.php或者.htmlC.asp或者.stmlD.htm或者.html

单选题当前文件夹下有一个HTML文件a.htm和一个子文件夹B,文件夹B中有一个图片文件flower.jpg,请问()写法可以在a.htm中插入该图片Aimgsrc=flower.jpgBimgsrc=../flower.jpgCimgsrc=B/flower.jpgDimgsrc=/B/flower.jpg

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

多选题在J2EE中,对于以下的include指令和include动作,书写正确的是()Ajsp:include page=http://localhost:/8080/my.jsp/B%@ include file=http://localhost:/8080/my.jsp/Cjsp:include file=http://localhost:/8080/my.jsp/D%@ include page=http://localhost:/8080/my.jsp/