I have a webapp running. When I try to access a protected page, it will take me to the login page. There, I enter the user name and password. When i submit the form, the login page is shown again. If i enter my login info again, it will take me to an error page with the following information:
HTTP Status 404 - /j_security_check
type Status report
description The requested resource (/j_security_check) is not available.
if, however, I refresh the page after the login page is shown for the second time, I am taken to the protected page. This issue is intermittent.
I tried solving the problem by disabling caching but it still didnt work.
This is what i have done so far but with no success:
- Had all pages contain the following:
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
- Followed the instructions to disable caching from
The following is snippet of my web.xml
I'll appreciate any help i can get in order to get this issue resolved