新手求助eclipse下开发jsp
<%@ page language="java" contentType="text/html; charset=GB18030"pageEncoding="GB18030"%>
<%@ page import = "java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
</head>
<body>
<%
Connection con;
Statement sql;
ResultSet rs;
try
{
Class.forName("com.microsoft.jdbc.sqlserver.SQLserverDriver");
}
catch(Exception e)
{
out.print("异常");
}
out.println("qqqq");
%>
</body>
</html>
为什么在jsp下不能加载驱动,显示异常....感激不尽