Perform the actual filtering. Wrap the respsponse with an XSLT
response wrapper.
ServletContext sc = filterConfig.getServletContext();
sc.log("DoFilter");
// wrap the response
XSLTResponseWrapper xsltResponse =
new XSLTResponseWrapper((HttpServletResponse)response,
"/SimpleTransform.xml");
HttpServletRequest httpRequest = (HttpServletRequest) request;
// forward to the next filter
chain.doFilter(httpRequest, xsltResponse);
// write the actual response to the client
sc.log("write response");
xsltResponse.writeResponse();