Thursday, April 19, 2001 10:20 PM
Well, the best solution for this is on its way. The new Servlets 2.3 specification will add Filtering that could be the perfect solution to your problem.
I had a similar problem a few months ago and I've developed a simple custom tag that 'wrapped' the file to be saved. The tag was reading the requested page throught a <%@ page include...%> ( cannot be used) and then using the body content inside the tag, I had access to the full html output.
Another possible solution is throught a URLConnection object.