ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Two Servlet Filters Every Web Application Should Have
Subject:   GZip Filter, IBM WAS 5 -- Cannot set header. Response already committed
Date:   2004-02-13 14:24:31
From:   twinfeats
Response to: GZip Filter, IBM WAS 5 -- Cannot set header. Response already committed

Hi George, I saw this same warning on WAS 5 seemingly caused by one jsp forwarding to another, or in my case I had the filter turned on for both .jsp and servlets - I saw this warning when my servlet forwarded to a jsp. Since my webapp is a MVC type I really only have 1 servlet and it handles 99.9% of all requests, so I just turned the filter off for .jsp files and it went away. Well, mostly - I still see it sporadically when running under heavy load.


Not sure if that helps, but good luck!


1 to 1 of 1
  1. GZip Filter, IBM WAS 5 -- Cannot set header. Response already committed
    2004-02-23 10:08:18  joyge [View]

    • GZip Filter, IBM WAS 5 -- Cannot set header. Response already committed
      2004-04-08 08:26:09  manivenkatachalam [View]

1 to 1 of 1