He, it worked Jeromy. Thanks you very much for this solution.
Esteve
2008/6/23 Jeromy Evans <[EMAIL PROTECTED]>:
> Esteve Camps Chust wrote:
>
>> The problem is "renderJSP" method, so it constructs a customized JSP with
>> username data. For example, "renderJSP" should return something like:
Esteve Camps Chust wrote:
The problem is "renderJSP" method, so it constructs a customized JSP with
username data. For example, "renderJSP" should return something like:
Welcome [EMAIL PROTECTED]
this is a welcome email.
Do this:
http://freemarker.sourceforge.net/docs/pgui
Ok. The subject: render a JSP/Freemaker/Velocity file in a Struts Action, to
send an email. I mean, the "problem" is getting the HTML email body from an
Action. The action skeleton would be:
public void sendEmail extends ActionSupport {
private String username;
public String execute()
--- On Mon, 6/23/08, Esteve Camps Chust <[EMAIL PROTECTED]> wrote:
> May you help me once again and guide me on the code? I've been
> trying to do what you said me, but I cann't get it run.
What specifically are you having issues with? If it's FreeMarker issues you
might have better luck on a mo
Thanks Martin, I have found some tricks in mailerReader, but not what I'm
looking for.
Jeromy, thanks for your suggestion. May you help me once again and guide me
on the code? I've been trying to do what you said me, but I cann't get it
run.
Thanks again.
Esteve
2008/6/23 Jeromy Evans <[EMAIL P
Esteve Camps Chust wrote:
hi all,
this is my first email at struts list. I am a new user to struts2. I'm
trying to get working the next scenario: having a mailer class, I want the
message text be a rendered JSP. The action class calls a mailer class; this
composes the mail from the rendering res
have you had a chance to look at and deploy struts2-mailreader sample?
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/struts/struts2-mailreader/2.0.11/
FWIW
Martin
- Original Message -
From: "Esteve Camps Chust" <[EMAIL PROTECTED]>
To:
Sent: Saturday, June 21, 2008 10:29 AM
S
7 matches
Mail list logo