如题目!

解决方案 »

  1.   

    返回用return null;
    解决不了贴代码
      

  2.   

    你用了ajax为什么还要跳转???那用ajax有什么意义?
      

  3.   


    public void updateLockedBy(String aStringId,String usernameLockedBy){
          Connection conn = null;
          PreparedStatement pstmt = null;
          ResultSet rs = null;
          debug("$$perform::updateLockedBy()::***param:: StringId::"+aStringId+"param ::usernameLockedBy="+usernameLockedBy);
          try {
      conn = getEsplDBConnection();
      pstmt = conn.prepareStatement(EsplSharedResources.getEsplQuery("UPDATE_LOCKED_BY"));
      pstmt.setString(4, aStringId);
      pstmt.setTimestamp(3, new java.sql.Timestamp(System.currentTimeMillis()));
      pstmt.setString(2, usernameLockedBy);
      debug("$$Test::execeuteUpdate()::11111111111111111111111111");
      pstmt.setString(1,"L");
      pstmt.execute();
      debug("The check count Query :: Steam :::: " + EsplSharedResources.getEsplQuery("UPDATE_LOCKED_BY"));
      debug("$$Test::execeuteUpdate()::22222222222222222222222222");
    } catch (ESPLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }finally {
              try {
    closeRS(rs);
    closePS(pstmt);
    closeConnection(conn);
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    }
          
    }红色的一行卡死