有。java里有的它都有。jsp你可以看做是个.java文件,它会被那些web发布工具(tomcat、weblogic……)转化为.java文件后再编译为.class文件。

解决方案 »

  1.   

    肯定有
    如果沒有這種最基本的類型,jsp還有甚麼混的
      

  2.   

    int isAdmin=row.elementAt(3)语句报错:
    incompatible types
    found   : java.lang.Object
    required: int
          int isAdmin=row.elementAt(3);
    这是什么原因呢?
                                   
      

  3.   

    row.elementAt(3)是object 不是int的
    类型匹配错了int isAdmin=Integer.pareInt(row.elementAt(3));
      

  4.   

    dizhang663(北方的狼) :按你说的语句报错:
    cannot resolve symbol
    symbol  : method pareInt  (java.lang.Object)
    location: class java.lang.Integer
          int isAdmin=Integer.pareInt(row.elementAt(3));
                             ^
      

  5.   

    不好意思,写错了

    Integer.parseInt() 
    不是 pareInt()
      

  6.   

    是这样
    int isAdmin=Integer.parseInt((row.elementAt(3)).toString());