Check out Matt Raible's solution to templated-email using Velocity. It is good and I intend to use it for this purpose.
http://www.theserverside.com/blogs/showblog.tss?id=SpringVelocityEmail Wiebe -----Original Message----- From: Amine Bousta [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:01 AM To: 'Struts Users Mailing List' Subject: Buffering the ouput of a JSP page within an action Hello, I'm trying to write a struts action that could save in a database and send by e-mail the output of a JSP page. This JSP page needs attributes values that are stored in the session context. In other words, I need ServletContext of the struts action and the JSP page to be the same. I first tried to use the Java "URL" object to perform this action but it creates a separate ServletContext. I didn't find any solution to this issue on the internet. Does anybody can help me?... Amine --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]