什么东西?
这个ActionException是你自己定义的??
把抛出这个异常的代码贴出来看看

解决方案 »

  1.   

    这估计是你的连接字符串没写正确,所以JDBC驱动在Parse它的时候报错了,Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver")String url = "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=jspdb";
    ______________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^你检查一下你的是不是和上面一样
    Connection conn = null;
    conn = DriverManager.getConnection(url,user,password);
      

  2.   

    0x00
    应该是null吧调试下,确定哪行出错
      

  3.   

    ActionException 是我的捕错,
    这个现象和奇怪的,同样的程序不一定什么时候有这个错误。
    有遇到这个问题的兄弟吗?
      

  4.   

    楼上的有点可能。
    Known problems
    ---------------------
    - For Windows NT4 users,if you have SP6 installed, you must upgrade to SP6a before the JDBC
      driver.
    - New SQLServer 2000 datatypes are not supported yet.
    - The method getTableName() requires a cursor or the "for browse" statement.
    - Calling stored procedures with output parameters from type binary or char 
      produce output with value 0x00 and spaces cut. (e.g., you have a sp
      with the parameter "char(10) output" and the output value is "abc       "
      you receive the value "abc").The following methods are not supported by this release:
    - Any ResultSet, PreparedStatement, or CallableStatement methods
      that accept parameters of datatype Array, Ref, Calendar, or Map.
    - DatabaseMetaData.getUDTs(String catalog, String schemaPattern, 
                               String typeNamePattern, int[] types) 
    - ResultSet.refreshRow(). However, if the Statement is created using 
      a resultset type of TYPE_SCROLL_SENSITIVE then the cursor for the
      ResultSet will be dynamic and refresh automatically.
    - ResultSetMetaData.getColumnClassName(int)
    - CallableStatement.registerOutParameter(int, int, String)
    - Connection.getTypeMap()
    由于没有出错代码,只能给你贴这么多了。
      

  5.   

    应该是你的SQL语句里有非法字符,你把SQL贴出来,估计大家一会儿就能把你的问题解决了,哈!
      

  6.   

    问题解决了,是微软的jdbc的问题,我重新换了一个,现在ok了!
    马上结帖。
    谢谢大家的帮助!