clueless with this little bug
843835May 10 2002 — edited May 11 2002I'm a little loss with this error. I really don't know where to start but, i'll try to give as much information as possible. I'm hoping one of you gurus can shed some light to the topic.
I have a page where I initially check if the page loaded from a post, with the following code:
if (request.getMethod().equalsIgnoreCase("POST"))
now the post is suppose to come from another page. The reason why I check if it's a post, is if in case a user tries to access the page without going through the first page that posts to it, i redirect it
so the if statement goes with an
else {
response.sendRedirect("firstpage.jsp");
return; }
if it's a post i continue drawing the page and showing my form. Now there are no problems when I send a post from firstpage.jsp. But the problems arise when I test my code by trying to go straight to the page by typing the address in my browser. I don't get a Java error but a microsoft internal browser error (ie 5 until now). I noticed that the error ocurs while loading an image from my header of the page. If it helps, my header is inlcluded.
Now I tried commenting the if statement, and everything loaded fine, even if try to go directly to the page by typing the address, but then I don't get to redirect. I'm really at lost here, can someone give any idea what it could be?