I had tried to implement HTML rewriting in a servlet filter to alter its
URL's about 2 years ago. The exercise was foiled by error messages
stating that the response had already been commited to the browser. So
somewhere in the code, something had triggered a flush of the buffer. I
have since run into the same problem in other apps, so in my experience,
an outbound filter is almost impossible to use unless you have written
the entire codebase from hand.
-John
Sean Gilligan wrote:
Matt Raible wrote:
The URL Rewrite filter can do any URL finagling we need to do. We
probably don't take advantage of this library as much as we should.
Of course, since it's GPL, we'll likely have to rewrite everything
because of it's "viral" license. ;-)
Has anyone done anything significant with this filter and Roller? Is
there a demo/documentation of the results?
I suppose the Rewrite filter would need to filter the outgoing pages
to rewrite any links in the HTML to the new URLs, right?
-- Sean