Thanks, but that would not make any difference (I tried even though I knew
it wouldn't). The Java ResultSet is smart enough to know the fields
(columns) by index (though it starts at "1" for some reason) or name.
Mark
----- Original Message -----
From: "Arijit Chakrabarti" <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 5:41 PM
> I think instead of calling like
> String id = rs.getString( 1); //get userID (email address)
> String pw = rs.getString( 2); //get password
> call it like
> String id = rs.getString("name of the DB field"); //get userID (email
> address)
> String pw = rs.getString("name of the DB field"); //get password
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html