struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nokes" <cno...@wi.rr.com>
Subject Re: save dynamic jsp content
Date Wed, 01 Aug 2001 19:31:44 GMT
An eaiser way may be to create a BodyTagSupport to capture the output in the
"doAfterBody" method and send it to the mail input stream or write to the
file
system first if desired.  This doesn't require an extra network call and
thread.

Chris

----- Original Message -----
From: "Calvin Yu" <cyu77@yahoo.com>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, August 01, 2001 1:06 PM
Subject: Re: save dynamic jsp content


The easiest way would be to write a client that makes a HTTP request to
the server and captures the HTML output that way.

Calvin


On 01 Aug 2001 13:40:58 -0400, Mustapha Essalihe wrote:
>
> Hi,
>  I am new to struts. In my action class (perform) I want to run a jsp
page
> in background and save its content in  an html file. How Can i do that
in
> perfom method ?. After that i know how i will send this html file by
e-mail
> (usinj java smtp) and forward the user to an adequate location
(success).
> Thanks in adavance.
> Mustapha Essalihe
>




Mime
View raw message