SQLServerDriver cannot be resolved to a type

How do i solve this. I have imported java.sql.* and javax.sql.* using page directive. Still it is not able to resolve the driver. The same code works in a normal java file but not in jsp page

An error occurred at line: 12 in the jsp file: /jsp/AMSX_Page.jsp

com.microsoft.jdbc.sqlserver.SQLServerDriver cannot be resolved to a type

9: <H1>Asset Management System (AMSX) </H1>

10:

11: <%

12: DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());

14:Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://10.187.33.159:49408","username","password");

15:if (connection !=null)

Message was edited by:

BrijeshShah

[915 byte] By [BrijeshShaha] at [2007-11-27 11:42:37]
# 1

Did you put the jar file for the driver in the WEB-INF/lib directory of your web app?

tolmanka at 2007-7-29 17:45:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...