I have a web app running on tomcat that requires a user to login via j_security_check. The page redirects the user to a login.jsp page if they are not logged in. I added some images to the jsp and these images do not appear on the page if it is the initial load of the page with a clear cache.
Then if I log in to the page, I am somehow redirected to the background image used on the login.jsp page.
If I close the browse and reopen and go to the login.jsp page, all the images appear as they should and the Login button redirects me to the appropriate page that is in the index.jsp page (which is a redirect)
I assume the images load the 2nd time because they are in the cache, but why dont they appear the first time? And why I am mysteriously redirected to the png file used as the background if the login works fine 2nd time around.
I am totally baffled by this behavior....