在JSP中使用JDBC语句访问数据库,正确导入S QL类库的语句是()。
第1题:
在JSP中,page指令的()属性用来引入需要的包或类。
第2题:
Which JSP standard action can be used to import content from a resource called foo.jsp?()
第3题:
JSP指令不包括()
第4题:
与page指令<%@ page import= “java.util.*, java.text.* “ %> 等价的是()。
第5题:
jsp指令包括()
第6题:
下列有关类声明的代码片段,哪一项是正确的?()
第7题:
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’><jsp:param name=’pageName’ value=’Welcome Page’ /> </jsp:import>
<jsp:include page=’/WEB-INF/jsp/header.jsp’><jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:include>
<jsp:import page=’/WEB-INF/jsp/header.jsp’>. <jsp:attribute name=’pageName’ value=’Welcome Page’ /> . </jsp:import>
第8题:
〈jsp:include file=”java.util.*” /〉
〈jsp:include page=”java.util.*” /〉
〈%@ page import=”java.util.*” %〉
〈%@ page include=”java.util.*” %〉
第9题:
<c:import url=foo.jsp/>
<c:import page=foo.jsp/>
<c:include url=foo.jsp/>
<c:include page=foo.jsp/>
第10题:
<%@ 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.* “ %>
<%@ page import= “java.util.*” , import= “java.text.* “ %>
<%@ page import= “java.util.* “ ; %> <%@ page import= “java.text.* “ ; %>
<%@ page import= “java.util.* ; java.text.* “ %>
第11题:
<%@ import file=’/common/menu.html’ %>
<%@ page import=’/common/menu.html’ %>
<%@ import page=’/common/menu.html’ %>
<%@ include file=’/common/menu.html’ %>
<%@ page include=’/common/menu.html’ %>
第12题:
如果aa.jsp中要使用这个rs来查询数据,则该jsp必须使用page指令的import属性导入java.sql包中类
如果aa.jsp中要使用这个getRs方法来返回rs而已,而不使用rs执行任何操作,则在aa.jsp中不导入java.sql包中类
如果在aa.jsp中使用page指令的import属性导入java.sql包中的类了,则不用在mypackage.bb中导入java.sql中的类
如果在mypackage.bb中导入java.sql中的类,则不用在aa.jsp中使用page指令的import属性导入java.sql包中的类
第13题:
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?()
第14题:
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?()
第15题:
Which JSTL code snippet can be used to import content from another web resource?()
第16题:
在JSP中,aa.jsp文件使用了一个Bean,该Bean属于类mypackage.bb,该Bean和oracle数据库连接,完成对数据库中某个表的插入、修改和查询数据的功能,mypackage.bb的方法getRs返回记录集rs,则以下描述正确的是()
第17题:
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
第18题:
Which the JSTL code snippet can be used to import content from another web resource?()
第19题:
<%@ page import=”java.sql.*” %>
<%@ page import=” sql.*” %>
<%page import=”java.sql.*” %>
<%@ import=”java.sql.*” %>
第20题:
<c:import page=*foo.jsp”/>
<c:include url=*foo.jsp”/>
<c:include page=*foo.jsp”/>
Importing cannot be done in JSTL. A standard action must be used instead.
第21题:
import java.sql.*; package school; class Student{ }
package school; import java.sql.*; class Student{ }
package school; class Student{ } import java.sql.*;
package school; import java.sql.*;private String name; class Student{ }
第22题:
<jsp:import file=’foo.jsp’ />
<jsp:import page=’foo.jsp’ />
<jsp:include page=’foo.jsp’ />
<jsp:include file=’foo.jsp’ />
第23题:
<%! import java.util.*; %>
<%! import java.util.List;import java.util.ArrayList; %>
<%@ page import=’java.util.List’import=’java.util.ArrayList’ %>
<%@ import types=’java.util.List’types=’java.util.ArrayList’ %>
<%@ page import=’java.util.List,java.util.ArrayList’ %>
<%@ import types=’java.util.List,java.util.ArrayList’ %>