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
subject: response.sendRedirect - affecting the table update