struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <>
Subject Re: Emailing the contents of a Struts2 view?
Date Thu, 08 Jul 2010 14:53:36 GMT
I'm pretty certain this is not a good idea, but it's a hack that's been 
floating in my head:  If you use sitemesh, you could make a decorator 
that captures the full message, does something with it, then echoes it 


<c:set scope="request" var="theFullMonty"><decorator:body/></c:set>
<s:property value="%{sendEmail(#request.theFullMonty)}"/>
<s:property value="%{#request.theFullMonty}"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message