When a when a jsp response is asked to be resent because of a "connection reset by peer" only the response object should be resent again. Currently the JSP is re-executed, which can lead to unpredictable results if the jsp is requesting or changing data on a 3rd process. Consider: jsp code: -------- <snip> someServer = (ServerInterface)Naming.lookup(serverURL); someServer.incrementConnections(); <snip> If the jsp is executed again because of a connection reset, then incrementConnecions() will be executed again. This is not desired behavior.
This won't be addressed for 3.2.2 but will be considered for a later release.
I think the current behavior is correct - HTTP is stateless, shouldn't care if a previous request failed because of connection reset. The user code should handle this - for example by using transactions or checking. In general, this is a known ( and intended ) behavior of HTTP. I'm closing this as invalid
*** Bug 4676 has been marked as a duplicate of this bug. ***