Antonio, try using rs.getString(1)....like this...where 1 is the number of the item in the result set that relates to testvalue...

    {
      pstmt.clearParameters();
      pstmt.setString(1, name);
      pstmt.setString(2, passwd);
      rs = pstmt.executeQuery();
      while (rs.next()) {
      testvalue = rs.getString(1);
      out.println ("System ID: " + testvalue + "<BR>");
      }
 
Hope this helps...
Dave

Reply via email to