public void init() throws ServletException
{
    try{
        Class.forName ("com.microsoft.jdbc.sqlserver.SQLServerDriver"); 
    }
   catch(ClassNotFoundException e){
throw new UnavailableException("加载数据库驱动程序失败");
    }
}如果将以上语句删除则不会出错
错误页面如下:HTTP Status 404 - Servlet Database is not available--------------------------------------------------------------------------------type Status reportmessage Servlet Database is not availabledescription The requested resource (Servlet Database is not available) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.17