Monday, March 26, 2001 04:46 PM
There are different solutions.
If the servlet container is working with Servlet 2.3 you can write a Filter (one of the new features of Servlet 2.3).
Another solution could be write a JSP Tag that extends BodyTag
that writes the content of the bodyContent
object and writes it to a file. The 'original' jsp page will be included inside this tag:
<%@ taglib uri="..." prefix="capture"%>
... original jsp file ...
These are two solutions, but I think that there are many other valid solutions.