if you say that it doesnt work then put those variables in a <c:set var="from"
value="<%= from_ %>"/>
or
<c:set var"from">
<%= from_ %>
</c:set>
mark
-----Original Message-----
From: Stefan [mailto:nickm@;studioweb.com]
Sent: Friday, November 15, 2002 11:16 AM
To: Tag Libraries Users List
Subject: Re: Jakarta Mailer
Hi,
This works:
<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.0" prefix="mt" %>
<mt:mail server="mail.lonewolfe.com" to="[EMAIL PROTECTED]"
from="[EMAIL PROTECTED]" subject="Jakarta mail taglib">
<mt:message type="html">
-> And this does not work for me, perhaps you can see why:
<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.0" prefix="mt" %>
<%
String from_ = "[EMAIL PROTECTED]";
String to_ = "[EMAIL PROTECTED]";
%>
</head>
<body>
<h2>Jakarta Mail Works Great!</h2>
<mt:mail server="mail.lonewolfe.com" to="<%= to_ %>" from="<%= from_ %>"
subject="Jakarta mail taglib">
<mt:message type="html">
----- Original Message -----
From: "Mark Goking" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 10:10 PM
Subject: RE: Jakarta Mailer
stefan, that works. maybe you have other code problems that resulted in that
not working.
you can use <%= %> inside "" but not inside "${}"
mark
-----Original Message-----
From: Stefan [mailto:nickm@;studioweb.com]
Sent: Friday, November 15, 2002 11:07 AM
To: Tag Libraries Users List
Subject: Jakarta Mailer
Hi,
I want to be able to pass dynamic values for some the the taglibs
attributes:
<mt:mail server="mail.lonewolfe.com" to="<%= to %>" from="<%= from %>"
subject="Jakarta mail taglib">
This does not seem to work, is this a context issue? If so would using JSTL
${param.parameterName} work or c:set ?
Thanks,
Stef
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>