A 404 simply means that the URL is invalid or that the resource actually isn't there where you think it is.
First test its availablility independently with an absolute URL. Such as http://example.com/context/page.jsp
. If that doesn't work, then verify if the resource is actually there in your webapp where you expect it to be. If that does work, then you likely used a relative URL in the redirect such as:
<meta http-equiv="refresh" content="3;url=/page.jsp">
You need to be aware that any relative URL's in the page are relative to the absolute URL of the current request. Thus, if the page was requested with for example http://example.com/context/wait.jsp
, then the above relative URL will resolve to http://example.com/page.jsp
. This is thus not going to work if the page is actually located at http://example.com/context/page.jsp
. You should then replace the URL by the right relative URL:
<meta http-equiv="refresh" content="3;url=page.jsp">
or just an absolute URL:
<meta http-equiv="refresh" content="3;url=http://example.com/context/page.jsp">