Re: struts to generate html email content

2004-11-26 Thread Ken Pelletier
Nathan, I briefly looked into using jsp for email templating recently, and decided that it was not the right fit for the task in my situation. Instead I ended up building a basic template merge facility using Velocity, and a mail sender facility based on JavaMail. I tied them together with a t

Re: struts to generate html email content

2004-11-26 Thread Philip DONAGHY
We do this using the jakarta taglibs. There is a tag called mailer. When wrapped around the email body in a jsp will send an email. I see that the example (mailer.jsp) is assisted by the request tag. <%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.1"; prefix="mt" %> <%@ taglib uri="htt

Re: struts to generate html email content

2004-11-25 Thread Corey Scott
You might also find velocity templates useful. http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity.html On Fri, 26 Nov 2004 13:59:59 +1300, Jason Lea <[EMAIL PROTECTED]> wrote: > > > > > Nathan Coast wrote: > > >Hi, > > > >Is there any way to generate content that isn't written to

Re: struts to generate html email content

2004-11-25 Thread Jason Lea
Nathan Coast wrote: Hi, Is there any way to generate content that isn't written to the ServletResponse? I'd like to use jsp / struts to generate html emails. something like this: 1) user clicks 'generate email' button. 2) struts action sets up parameters and identifies recipients. 3) delegate t

struts to generate html email content

2004-11-25 Thread Nathan Coast
Hi, Is there any way to generate content that isn't written to the ServletResponse? I'd like to use jsp / struts to generate html emails. something like this: 1) user clicks 'generate email' button. 2) struts action sets up parameters and identifies recipients. 3) delegate to a jsp to create the