try
    {
      System.out.println ("Within ContentType filter ... ");

      chain.doFilter (request, response);
      ((HttpServletResponse) response).addHeader("ContentTypeFilter", 
"PROCESSED");
      response.setContentType("text/html");

    } catch (Exception e) {
      e.printStackTrace();
    }
  }

Ok theres definitely some voodoo going on here - I see the test header I 
add but the content type is unchanged.
Is there something which forbids a content type change once something 
earlier in the processing has set it and written to the stream?


-- 
--------------------------
http://www.phonewebcam.com
[EMAIL PROTECTED]



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to