through a servlet i insert my form data into my table (primary key is auto-incremented) and then i throw another query which is select last_insert_id() from mytable limit 1 through my <statement>.executeQuery method. when i ask for the data through <myresultset>.getString(1) i get null NullPointerException why ... any ideas ... i welcome your suggestions friends.
# Lalit Nagpal # __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php