ShallowEtagHeaderFilter does not work under WAS8 app server
org.springframework.web.filter.ShallowEtagHeaderFilter is unable to set response header under WAS8 application server stating " WARNING: Cannot set header. Response already committed ". However this works fine when tested under Tomcat server. ShallowEtagHeaderFilter is indeed wrapping the original response to delay the writing of response body, but still the response comes as committed after the filter chain's execution. Is this a possible websphere bug? Any suggestion / workaround to overcome this issue is welcome. I solved this issue by overriding ServletResponse.flushBuffer method. Under