Hi,
Im working with Tomcat 5 from 3 months ago. I understand the filter
architecture, but I cannot capture the response filter for my JSP and
servelt. Tomcat 5 is Servlet 2.4, so I thing it can filter either request or
response.
What I can do, is capture the entire request and its
(request, new MyResponseWrapper(response));
// Do whatever
}
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Pablo Carretero [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 3:06 AM
To: [EMAIL PROTECTED]
Subject: Filter tricks in tomcat
Hi,
I'm working
actually, you can use filters to capture the response and then use a
filter to dump the whole thing to the outputstream.
What you'll have to do is create your own buffer to hold the content
and not write to either the jspwriter or the printwriter in the
servlet. the tricky part is this. if you