Hi Jennifer,
This is the problem area..
String query1 = "SELECT Password FROM Details " +
"WHERE Id = ' " + id + "'";
Seems like you have id as a numeric field in the
database.
So the correct SQL statement will be --> id without
the single quotes.
String query1 = "SELECT Password FROM Details " +
"WHERE Id = " + id;
regards
Neelesh
=====
My home page http://www.geocities.com/siliconvalley/grid/4444
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
___________________________________________________________________________
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