I’m migrating an existing application’s authentication from Database to container managed authentication. There is a case where I need to catch the exception and display an error page. I get a 404 when exception is caught, instead of getting jsp page.
When I open a browser window and try to access that error page using
http://localhost/common/abc/myError.jsp The page is shown.
"Now" If I go to my application and replicate that error condition, exception is caught and also the error page is displayed. I can’t understand why, first time, I don’t get error page???
any clue?