File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to use servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

How to use servlet

lisa lovelyn

Joined: Apr 09, 2011
Posts: 4
Please how can I use a servlet to send an email confirmation from a jsp form.

The idea is for anyone who fills the form to get an email response telling him/her to confirm the email address.

Please I would appreciate a good explanation because I'm new to jsp,jstl and servlet.

Thank you very much
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42930
That's what the JavaMail API does; the JavaEnterpriseEditionFaq points to a lot of good material around that. Do you have a mail server you can use?

JSP and JSTL have nothing to do with this; it would happen in Java code, either right in the servlet, or in a helper class it uses.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61766

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to use servlet