http://stardeveloper.com/articles/display.html?article=2001101101&page=2
http://www.javaworld.com/jw-10-2001/jw-1026-javamail.html
http://java.sun.com/products/javamail/
You will need to get hold of a copy of mail.jar, and activation.jar and place them in the common/lib directory of the JSP container you are using (Tomct?).
Remember the Model View Controller architecture. (You're on the right track by the way)
JSP User provides the information for the email
Servlet Receives the request from the jsp and marshals the information
Bean (Or other construct) actually creates and sends the email.
PS.