The application has to return the same information to 2 different supports.
Here is an example
- A user asks for a report
- The action class goes to the DB to get the view.
- An actionForward object is returned with the right jsp page.
- Finally, the page is displayed onto the browser.
Now I want the exact same page to be displayed onto the browser and sent to
the user by email.
I am not sure how to get a handle on the html page to pass it as the body of
the email and then return the actionForward object as in the normal
situation.
Thanks in advance,
jm
-----Message d'origine-----
De�: Michael McGrady [mailto:[EMAIL PROTECTED]
Envoy�: jeudi 19 f�vrier 2004 17:28
��: Struts Users Mailing List
Objet�: Re: ActionFoward issues
You mean you want the response to include what?
At 12:22 AM 2/19/2004, you wrote:
>Hello,
>
>
>
>After the action is performed, I need to send the html view back to the
http
>client and to an email output.
>
>I am not sure on how to do it.
>
>
>
>Can anyone advise a suitable approach & sample code?
>
>Cheers
>
>/jm
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]