File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
zystation
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... ...
<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).]
 
zystation
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone got idea with this problem?
I need help!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic