tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Capturing HTML using Tomcat 4
Date Thu, 07 Oct 2004 12:17:29 GMT

Hi,
Look at any of the freely-available servlet response caching filters out
there.  They all capture the response output completely anyhow.  You'd
have to make minimal modifications (if any) to fit your use-case.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: David Wall [mailto:d.wall@computer.org]
>Sent: Wednesday, October 06, 2004 6:10 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Capturing HTML using Tomcat 4
>
>I've been looking through archives and such for examples of how to
capture
>the HTML output from a given JSP programmatically so I can archive or
do
>other things with that HTML.  For example, we might do this to record
the
>text of an agreement that was displayed to a user, in which a JSP
generated
>the agreement HTML page.  The pages may be generated from either HTTP
GET
>or
>POST.
>
>It would be nice to perhaps just have a servlet "include" the response
from
>a JSP, passing along the GET/POST request to that JSP, but then have
the
>servlet capture the JSP's response in a string for processing/storage.
>O'Reilly has a caching servlet that may help, but I was wondering if
>anybody
>had come out with an elegant way to do this.
>
>Thanks,
>David
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message