struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@chrismiles.org
Subject Re: Emailing the contents of a Struts2 view?
Date Thu, 08 Jul 2010 13:06:55 GMT
Yeah that is right.

I want to maintain the MVC pattern, but using it for sending HTML emails
to clients rather than browser requests. It has to be the HTML within the
email itself rather than embedding an iframe to the website or a link to a
page.

Chris

> Hi,
>
> What you want is the content of the mail to have result of the called
> action
> right?
>
> i.e if my actions return list which is iterated on jsp and displayed on
> jsp.
>
> So instead of showing it on browser u want to show it in the content of
> mail???
>
> On Thu, Jul 8, 2010 at 2:10 PM, <chris@chrismiles.org> wrote:
>
>> Hi.
>>
>> Thanks for the response but that is not what I mean. I want to email the
>> contents of a view - a JSP which has been rendered after an action - but
>> to the contents of an email rather than the contents of a browser
>> request.
>>
>> Chris
>>
>> > If you just want to send mail after some action is executed then
>> >
>> > I think you can do it by using
>> >
>> > action-redirect
>> >
>> > You can redirect the action to send email action.
>> >
>> > Regards,
>> >
>> > Amol Ghotankar
>> >
>> > On Thu, Jul 8, 2010 at 1:08 AM, Chris Miles <chris@chrismiles.org>
>> wrote:
>> >
>> >> Is it posible for me to render a view after an action and be able to
>> >> access
>> >> the HTML for sending in an email rather than rendering to a browser?
>> >>
>> >> thanks
>> >>
>> >> Chris
>> >
>> >
>> >
>> >
>> > --
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
> --
>
>
> With Best Regards,
>
> Amol Ghotankar
> Technical Director
> Cursive Technologies Pvt. Ltd.
> 104, A1 Wing, W Sector,
> Masulkar Colony, Ajmera,
> Pimpri, Pune-18 INDIA
> O: +91 2020 270 570
> M: +91 9960 980 419
> www.cursivetech.com
>
>
> CURSIVE TECHNOLOGIES EMAIL NOTICE
> The information contained in this email and any attachments is
> confidential
> and may be subject to copyright or other intellectual property protection.
> If you are not the intended recipient, you are not authorized to use or
> disclose this information, and we request that you notify us by reply mail
> or telephone and delete the original message from your mail system.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message