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:44:47 GMT
Thanks yeah I see what you mean. It would be easy to have a class generate
tons of HTML but that would be cumbersome. Getting the resuling rendered
JSP would be something tricky.

> Hi,
>
> I am not exactly sure of such return type, but what you can try with is-
>
> Create a html output of the result and save it on server disk.
>
> Use this saved html file to embed in email, most email now support html/
> rich text emails.
>
> This i think may serve your purpose.
>
> As we used to mail pdf files as a result of action.
>
> You have a good point struts team must consider this as enhancement in
> future version, in case not supported directly now.
>

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


Mime
View raw message