Hi,
In order to send an email through your JSP,
you should have authorization to your SMTP server.
You need to import these packages:
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
import javax.naming.*;
I can't send you the code. I am sorry for that and I hope you understand why.
Some more information here :
http://www.jsptut.com/Email.jsp