I think you can use a Filter to do that.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 8:32 AM
To: Orion-Interest
Subject: Capturing the output of a JSP page as HTML
Can anyone tell me if this is possible. I have a JSP page that contains
information about an order that was just entered (Essentially a
confirmation page). What I want to do is somehow intercept the output
stream inside the JSP page and write it to a file, as plain html, which I
will later attach to an email and send to someone.
Thanks,
Andy