response.sendRedirect() working but doesn't redirect my page

View: New views
1 Messages — Rating Filter:   Alert me  

response.sendRedirect() working but doesn't redirect my page

by Greg Corradini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I'm into what seems to be a minor problem. But I can't resolve it.

I'm running Apache Tomcat 5.5 locally and FireFox 3.0. I have an HTML form POST data to a servlet that updates a database and then redirects traffic to a JSP page. The response.sendRedirect seems to be working if I watch FireBug. For example, after the POST the client receives a 302 response with a response HEADER for the JSP page I'm redirecting it to. Then the client fires off a GET request for the JSP page and receives a 200 OK mesasge. However, the page doesn't redirect. It remains on the HTML form. Any ideas?

Thanks to all that have advice