Description
In StrutsPrepareAndExecuteFilter in doFilter method there is a code fragment
ActionMapping mapping = this.prepare.findActionMapping(request, response, true); if(mapping == null) { boolean handled = this.execute.executeStaticResourceRequest(request, response); if(!handled) { chain.doFilter(request, response); } } else { this.execute.executeAction(request, response, mapping); }
Problem is that this.prepare.findActionMapping(request, response, true) can commit response (in case of exception), but filter continues with execution of chain, in my case causing problems up in the chain.