好像是JDK版本的问题,不是很具体

解决方案 »

  1.   

    但是我的jsp的其他程序运行的好好的,就是连接数据库时出错,我装了TOMCAT,会是
    那里的问题呢!
      

  2.   

    错误提示是这样的:
      type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: -1 in the jsp file: nullGenerated servlet error:
    [javac] Compiling 1 source file/usr/local/jakarta-tomcat-4.1.29/work/Apache/localhost:8008/examples/test/conn_ora_jsp.java:48: illegal character: \12288
    銆??String url="jdbcracle:thin:@192.168.0.1:1521:test";
    下面还有好多!我觉得关键是 Unable to compile class for JSP
    谢谢帮忙解决!
      

  3.   

    String url="jdbcracle:thin:@192.168.0.1:1521:test";
    ========================================================
    jdbc后少了个冒号,应该是
    String url="jdbc:oracle:thin:@192.168.0.1:1521:test";
      

  4.   

    String url="jdbc:oracle:thin:@192.168.0.1:1521:test";