Re: Capturing the output of a JSP page as HTML

2001-03-02 Thread Boris Erukhimov
We had a similar task that Andy described and solved it in almost exactly a way Geoff suggested. But if I were to approach it now, I'd rather use filter and owerwrite response object. That saves extra HTTP connection within request processing and looks more elegant anyway. ~boris Geoff Marshal

Re: Capturing the output of a JSP page as HTML

2001-03-02 Thread Geoff Marshall
No problem, write a servelt or other JSP page that does a method='post' to the JSP in question. You will have to read the output of the page into a variable. Then you can write the variable to both a file and out.println. The only catch is you will have to have a class that can do a post! See t

RE: Capturing the output of a JSP page as HTML

2001-03-01 Thread Alex 'Kazuma' Garbagnati
>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

RE: Capturing the output of a JSP page as HTML

2001-03-01 Thread Matt Krevs
http://www.orionserver.com/tutorials/filters/ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]Sent: Friday, 2 March 2001 6:06 AMTo: Orion-InterestSubject: RE: Capturing the output of a JSP page as HTML  Hi, Thanks for

RE: Capturing the output of a JSP page as HTML

2001-03-01 Thread APapada
: Capturing the output of a JSP page as HTML 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 AMTo: Orion-InterestSubject: Capturing the output of a JSP page as HTMLCan

RE: Capturing the output of a JSP page as HTML

2001-03-01 Thread elephantwalker
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 possi