hi,
for sending mails from servlet or jsp u shud import the javax.mail.*; package,it is present in the
java mail api.
this has the following jar files
mail.jar
mailapi.jar
activation.jar
pop.jar
smtp.jar
u need to use the first two only,if i am not wrong.
first download the java mail api,from any site.and then use the package javax.mail.*
hope this wud have been usefull.