<%!
   Connection con
   Statement sql
   Resultset rs
%>
分号呢.

解决方案 »

  1.   

    try{
          con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.1:1521:ddd","user","passwd");
          sql=con.createStatement();
          rs=sql.executeQuery("select * from operator_info");  
    之后少了}应为:
       try{
          con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.1:1521:ddd","user","passwd");
          sql=con.createStatement();
          rs=sql.executeQuery("select * from operator_info");   }
      catch(SQLException e1) {}
      

  2.   

    catch(ClassNotFountException e){}
    这一句为什么还报错。
    An error occurred at line: 32 in the jsp file: /denglu.jsp
    Generated servlet error:
    /usr/local/tomcat/work/Catalina/localhost/_/org/apache/jsp/denglu_jsp.java:79: cannot resolve symbol
    symbol  : class ClassNotFountException  
    location: class org.apache.jsp.denglu_jsp
          catch(ClassNotFountException e){}
    这一句什么意思。我不太懂
      

  3.   

    catch(ClassNotFountException e){}
    Fount拼写错误应为
    catch(ClassNotFoundException e){}
      

  4.   

    使用IDE的话这些错误很容易发现的,没使用IDE吗?
      

  5.   

    Con后面没有分号,少了一个try
    这么写耦合太强了,建议还是用Struts比较好,更好维护
      

  6.   

    IT公司查询网站,大家可以查下自己关心的公司!
    http://www.seeitco.com                                  
                                      
        收集国内外IT公司相关信息,并且有相关的评论和排名,你也可以把自己的看法加进去,包括待遇、薪水、公司规模等等,对于找工作的各位很有帮助哦!自己先在心里有个底,至少不会被各家公司眼花缭乱的招聘广告所蒙骗。各位也可以往里面添加新的公司信息,使数据库进一步完善,以后就会越来越方便!