当前位置:首页 > JSP程序设计考试试题与答案
public void closeAll(Connection conn){ try{
if(______7____){ }
}catch(Exception e) {
System.out.println(\关闭发生失败!\ e.printStackTrace(); } } }
答案:1、 forName(Driver) 2、DriverManager 3、 Url 4、userid 5、pwd 6、conn 7、conn!=null 8、 conn.close();
26.编写一个JSP 页面 ,要求提交一组复选框 ,让用户选择其出行时常乘坐的交通工具,提交后,在页面上输出用户的所有选项。
答案:<%@ page language=\