与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.* “ %
与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.* “ %>
相关考题:
在jsp页面中导入java.util包,使用下列哪个标记() A、%@import=”java.util.*”%B、%@import=”java.util.*”@%C、%@pageimport=”java.util.*”%D、%@pagejava=”java.util.*”%
下面关于page指令说法中错误的是()。 A、page指令用来定义JSP页面中的全局属性B、一个JSP页面只能包含一个page指令C、除了import外,其他page指令定义的属性/值只能出现一次D、language属性用来指示所使用的语言
定义JavaApplet程序时,必须有import语句的是______。A.import java.awt.event;B.import java.lang.*;C.import java.applet.Applet;D.import java.util.*;
当在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.*” %〉
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’ /
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’ %
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"/
在JSP中使用JDBC语句访问数据库,正确导入S QL类库的语句是()。 A、%@ page import=”java.sql.*” % B、%@ page import=” sql.*” % C、%page import=”java.sql.*” % D、%@ import=”java.sql.*” %
下面关于page指令说法中错误的是()A、page指令用来定义JSP页面中的全局属性B、一个JSP页面只能包含一个page指令C、除了import外,其他page指令定义的属性/值只能出现一次D、language属性用来指示所使用的语言E、“java”是当前唯一可用的JSP语言
定义Java.Applet程序时,必须有的import语句是()。A、import java.awt.event;B、import java.util. * ;C、import java.applet.Applet;D、import java.1ang.* ;
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?() titleA、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB、jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD、jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import
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.
单选题在JSP中使用JDBC语句访问数据库,正确导入S QL类库的语句是()。A%@ page import=”java.sql.*” % B%@ page import=” sql.*” % C%page import=”java.sql.*” % D%@ import=”java.sql.*” %
单选题当在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.*” %〉
单选题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.
单选题与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.* “ %
单选题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’ %
多选题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’ %