Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create an email confirmation from a filled jsp form

 
lisa lovelyn
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please I would like to know how the jsp code that will allow an email confirmation to be sent to an email address after a form as being completed and submitted.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Such processing should never be done in a JSP. Rather, forms should always be submitted to servlets.

Within the servlet, simply use the JavaMail API to send the e-mail message(s).

Moved to the "Other Java APIs" forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!