2 Replies Latest reply on Dec 6, 2002 4:46 AM by mplesser

    Filter chains and JSPs

    philblythe

      Hi,

      Wondering if anyone has experienced this problem. I am using Fitlers from the 2.3 api to post-process (transcode) data. According to the servlet spec, filter chains can be constructed to intercept and wrap requests for all content, static or dynamic.

      Problem is, while I have managed to intercept the response from static mime types (gifs, jpgs, etc), but when I try to intercept dynamic content (ie. jsps), the output stream has already been committed by the container, and thus not accessible in the filter to work on the response.

      Is this sn undocumented feature of Jetty, or an unclear feature of the spec? Found the same behavior on 3.04 and 3.2b.

      Any comments will undoubtedly be enlightening...

      thanks

      Phil