我是学.net,现在想学jsp,请教如何将tomcat 5.0和SQL Server2000链接上

解决方案 »

  1.   

    将sqlserver的驱动程序放到tomcat的common\lib文件夹下面
    驱动网上可以下
    或者SQL Server2000就有自带的,拷到相应文件夹下即可
    剩下就是编码了,例子太多了~~
      

  2.   

    HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description 
    The server encountered an internal error () that prevented it from fulfilling this request.exception 
    org.apache.jasper.JasperException: Unable to compile class for JSP
    这是怎么回事?
      

  3.   

    http://community.csdn.net/Expert/topic/3906/3906201.xml?temp=.6729395楼主有空来这里看看
    您的问题能得到解决
      

  4.   

    将sqlserver的驱动程序放到tomcat的common\lib文件夹下面
    记得要打补丁sp3
      

  5.   

    org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 9 in the jsp file: /test.jsp
    Generated servlet error:
    C:\Tomcat 5.0\work\Catalina\localhost\jsp\org\apache\jsp\test_jsp.java:53: not a statement
     Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance;
                  ^
    1 error
    这试啥问题