Q javamail + JSP

J

Jason

Hi,

I'm using javamail in a .jsp page, I can pass data from a .htm file to the
..jsp without problem.
However, I just don't know how to grab the data to a table. e.g.,

body="<table width='50%' border='1'><tr><td bordercolor='#66FF00'
bgcolor='#0000FF'>"+
"<font color='#00FFFF'><%=strClassAndDate %></font></td></tr></table>"

What I want to do is to send a html mail to a receiver.
Another question, how will I set up the Tomcat so that whenever I modified a
..jsp file,
it doesn't take a long time to reflect the change?

Any help will be appreciated.

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top