RedHatLinux网络服务器构架实务(八)
操作系统
//获取字段值,参数为字符串--字段名publicStringgetString(StringfieldName)throwsSQLException{ returnrs.getString(fieldName);}//上移指针publicbooleanprevious()throwsSQLException{ if(rs==null)thrownewSQLException(“ResultSetisnull