getDocumentElement方法
getElementsByTagName方法
getElementTagName方法
getElementById方法
第1题:
A.可以使用Statement对象的executeQuery方法返回ResultSet对象
B.可以使用Connection对象的createStatement方法获得PreparedStatement对象
C.可以使用Connection对象的prepareCall()方法获得CallableStatement对象
D.可以使用Connection对象的executeQuery方法返回ResultSet对象
第2题:
A.使用URL对象的openConnection()方法得到
B.使用URLConnection类的静态方法openConnection()方法得到
C.使用URL对象的getConnection()方法得到
D.使用URLConnection类的静态方法getConnection()方法得到
第3题:
A.Node和Element类
B.Document和NodeList类
C.TransformerFactory和Transformer类
D.TransFactory和Transmer类
第4题:
A.一旦servlet被实例化后,包容器把一个ServletConfig类型的对象传送给init()方法
B.可以使用Servlet的getServletConfig()方法返回ServletConfig对象
C.ServletConfig对象的方法getInitParameter(name)返回初始化参数name的值,初始化参数一般定义在web.xml中
D.ServletConfig对象的方法getServletName()方法返回在web.xml中的
第5题:
A.getDocumentElement方法
B.getElementsByTagName方法
C.getElementTagName方法
D.getElementById方法
第6题:
A.使用URL对象的openConnection方法
B.使用URLConnection类的静态方法openConnection()方法得到
C.使用URL对象的getConnection()方法得到
D.使用URLConnection类的静态方法getConnection()方法得到
第7题:
A.Documentdoc=DocumentBuilderFactory.parse(“my.xml”);
B.Documentdoc=DocumentBuilder.parse(“my.xml”);
C.DocumentBuilderFactorydbf=DocumentBuilderFactory.newInstance();DocumentBuilder builder=dbf.newDocumentBuilder();Documentdoc=builder.parse(“my.xml”);
D.DocumentBuilderbuilder=newDocumentBuilder();Documentdoc=builder.parse(“my.xml”);
第8题:
A.Document,Node
B.Node,NodeList
C.NodeList,Element
D.Node,Element
第9题:
A.DomResult对象的DomResult方法
B.Nodelist对象的toString方法
C.Document对象的addDocumenListener方法
D.Transformer对象的transform方法
第10题:
在J2EE中,下列选项中,()可以得到URLConnection对象。