One way is to write a servlet that builds the html and before you finish with
the response, save the text into a table and then send the response.
Robert S. Harper
801.265.8800 ex. 255
> -Original Message-
> From: David Wall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 06, 2004 4:1
27;David Wall'"
<[EMAIL PROTECTED]>
Sent: Wednesday, October 06, 2004 3:20 PM
Subject: RE: Capturing HTML using Tomcat 4
> One way is to write a servlet that builds the html and before you finish
with
> the response, save the text into a table and then send the response.
>
s List'
> Subject: Re: Capturing HTML using Tomcat 4
>
>
> That's not as "nice" only because most of the pages to be
> captured are JSPs, and converting the JSP to a servlet for
> this purpose would defeat much of the beauty of JSPs. I saw
> a listin
oops. I meant ".. it should be possible to **filter** all the requests..."
:o
> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 06, 2004 6:24 PM
> To: 'Tomcat Users List'; 'David Wall'
&g
placed.
> >
> > David
> >
> > - Original Message -
> > From: "Robert Harper" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>;
> > "'David Wall'" <[EMAIL PROTECTE
Message-
> > From: David Wall [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 06, 2004 6:03 PM
> > To: 'Tomcat Users List'
> > Subject: Re: Capturing HTML using Tomcat 4
> >
> >
> > That's not as "nice" only because mo
Hi,
I'm not sure if this is what you mean.
You could simply run the following code to capture the output of the
jsp.
~~
String htmlText;
URL u = new
URL("http://www.server.com:8080/application/some.jsp";);
BufferedReader htmlPage =
new
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: D