This is what I meant btw ;)
PWRetrievalForm User enters his answer to the secret PWRetrievalAction checks the answer against the DB and pulls the data beans containing the information needed for the template pulls the email text<----------------+---------+(pwretrieval.template) | |<tiles:insert def="email" | | |<tiles:put from request | | |lalala | | |Emailtext with getAsString| | |Emailtext with getAsString| | |Emailtext with getAsString| | +--------------------------+ \_/ sends the email | | | | | | | \_/ forward to the page configured in the PWRetrievalAction and outputs to the user (we've sent....) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, August 06, 2005 11:47 AM To: 'Struts Users Mailing List' Subject: Using Tiles as Email Templates Hi all, I have a tile layout that renders an email text (plain). Now after the user selects an action(ie. password retrieval), I want to use the output of the tile (configured as an action path) as the source for my email in the other action (ie. password retrieval). I know how to pull the output performing an HttpClient request(using the apache commons) to get that, but is there a different way to do just that. In the past I used velocity to render the emailtemplates, and that didn't require me to use a HttpClient request. any ideas ? rgds albi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]