RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Robert Harper
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

Re: Capturing HTML using Tomcat 4

2004-10-06 Thread David Wall
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. >

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Mike Curwen
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

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Mike Curwen
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

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Ben Souther
placed. > > > > David > > > > - Original Message - > > From: "Robert Harper" <[EMAIL PROTECTED]> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>; > > "'David Wall'" <[EMAIL PROTECTE

RE: Capturing HTML using Tomcat 4

2004-10-06 Thread Ben Souther
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

Re: Capturing HTML using Tomcat 4

2004-10-06 Thread Luke (Terry) Vanderfluit
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

RE: Capturing HTML using Tomcat 4

2004-10-07 Thread Shapira, Yoav
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