struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: Emailing the contents of a Struts2 view?
Date Thu, 08 Jul 2010 14:46:03 GMT
On 7/8/10 10:37 AM, Robert Graf-Waczenski wrote:
> Yes, tricky indeed, but currently the only way to go.

Not the only way.  Just because you use jsp to render pages doesn't mean 
that's the only way to render them.  You could render that page with 
freemarker or velocity (or, or, or) which can more easily be rendered 
programmatically by your action, the output of which can then be 
packaged however you want and shipped wherever you want.  There are a 
number of hurdles no matter how you generate the content for the e-mail 
message, and the pointers in Robert's post will help you.  If you want 
to look at an example where velocity is used, check out appfuse.

-Dale

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


Mime
View raw message