Hi all, I have a form in jsp that adds info into a database (insert into..) However, as of now I have it set with try catch blocks to capture and display errors on another page instead of getting the apache error pages. I want it to so instead of getting the duplicate key error message to prompt the user if he wishes to update instead. So in that particular catch block would I redirect to a new page to allow an update? If so, how?
I'm sure there are a few ways of doing this, but any suggestions would be appreciated. Hope this makes sense Thanks.
I'm sure there are a few ways of doing this, but any suggestions would be appreciated. Hope this makes sense Thanks.