wood burning stoves 2.0*
The moose likes Servlets and the fly likes Problem: Can't get value of -%= email%- ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem: Can Watch "Problem: Can New topic
Author

Problem: Can't get value of -%= email%- ...

zystation
Greenhorn

Joined: May 04, 2001
Posts: 8
... ...
<as:email smtpHost="smtp.sniic.com">
<as:from address="web@sniic.com">sniic</as:from>
<as:to address="<%= email%>"></as:to>
<as:subject>Mail from sniic</as:subject>
<as:body>
Hi <%= firstname%>
This is a test mail from SNIIC.

Good luck
</as:body>
</as:email>
... ...
The problem is the JavaBean can't get the value of <%= email%>, it get "<%= email%>" characters instead.
Why jsp can't return the value of variable inside the TAG ?
What can I do now? Change the JavaBean?
Give me some advise!
[This message has been edited by zystation (edited May 04, 2001).]
[This message has been edited by zystation (edited May 04, 2001).]


Java, milk...
zystation
Greenhorn

Joined: May 04, 2001
Posts: 8
Anyone got idea with this problem?
I need help!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem: Can't get value of -%= email%- ...
 
Similar Threads
How to use mail task when authentication is required?
Database URL problem
problem: jsp:forword page="../../web/abc.jsp"
Can I check whether a particular pattern of character is there in the attribute
Width of drop down lists