response.sendRedirect doesn't work with Internet Explorer

I do posts like advised here: http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost. GET-POST-REDIRECT-GET. Now I have a problem when do redirecting to the same page in Internet Explorer. It works good with Mozilla Firefox but not with Internet Explorer. When user click to "Enable"/"Disable" link and do submit, application makes changes on the database. Changes occurs, but redirect to the page doesn't work. When I refresh page, I see that, the changes was occurred. When I use Mozilla Firefox with same JSP, there is no need to refresh page, because, redirect works. When I change redirect URL to other, for example http://www.google.com/, redirect doesn,t work in Internet Explorer too.

Code of users.jsp JSP:

<%@ page import="az.ub.ccs.beans.User" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ page errorPage="error.jsp" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:useBean id="bc" scope="page" class="az.ub.ccs.beans.BreadCrumb" />

<jsp:useBean id="user" scope="request" class="az.ub.ccs.beans.User"/>

<c:if test="${sessionScope.active == null}"><c:redirect url="login.jsp" /></c:if>

<%

if(request.getParameter("stateAction") !=null)

{

int state = (request.getParameter("stateAction").equals("enable")) ? 0 : 1;

User.changeUserState(Integer.parseInt(request.getParameter("itemID")), state);

response.sendRedirect("users.jsp");

//response.setStatus(HttpServletResponse.SC_SEE_OTHER);

//response.setHeader("Location", "users.jsp");

}

bc.add("Users");

%>

<jsp:include page="top.jsp" flush="true">

<jsp:param name="breadCrumbString" value="${bc.breadCrumbsAsHTML}"/>

<jsp:param name="pageTitle" value="Users"/>

</jsp:include>

<tr>

<td>

<table border="1" width="100%">

<tr class="tableHeader">

<td>ID</td>

<td>Имя пользователя</td>

<td>Логин</td>

<td>Номер группы</td>

<td>Название группы</td>

<td>Email</td>

<td>Номер</td>

<td colspan="2">Действие</td>

</tr>

<c:forEach items="${user.userList}" var="user">

<tr>

<td align="right">"${user.userID}"</td>

<td><c:out value="${user.userName}"/></td>

. . .

</c:forEach>

<tr>

<td colspan="7"> </td>

<td colspan="2"><a href="addEditUser.jsp">[Addnew]</a></td>

</tr>

</table>

<form name="stateForm" method="post" action="users.jsp">

<input type="hidden" name="itemID"/>

<input type="hidden" name="stateAction"/>

</form>

</td>

</tr>

<jsp:include page="bottom.jsp" flush="true"/>

[4894 byte] By [Tasadar8a] at [2007-11-27 1:25:11]
# 1
I use HttpWatch to see request and response details. Link to the report file of HttpWatch http://tasadar8.googlepages.com/CCSHttpWatch.rar
Tasadar8a at 2007-7-12 0:17:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...