This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi all, I am facing a situation where the response.sendRedirect is preventing table update. If anyone has faced simillar situation then please let me know the way out. thanks in advance, suresh SCJP 1.4
I have no idea of the problem you are having. Can you provide more information? Dave
Joined: Oct 30, 2003
Here is the coede:- //----------------------Code selectstmt = "DELETE FROM AMDB.WOPAC_PID_PATRON_KEYS WHERE PATRON_KEY='"+patronkey+"'"; stmt.executeUpdate(selectstmt);
selectstmt = "INSERT INTO AMDB.WOPAC_PID_PATRON_KEYS ( PID, PATRON_KEY) VALUES ("+pid+","+patronkey+ ")"; ri = stmt.executeUpdate(selectstmt); //At this point I print out the values in the database into the log file.
/*response.sendRedirect(referer + "authenticate=Y&" + "LGNT=1&BC=" + uin +"&" ); */ }//if //--------------The program ends here