File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem: Can't get value of -%= email%- ...