Solved

send form to email, and at the same time direct the page to certain web page

Posted on 2006-06-13
7
218 Views
Last Modified: 2010-04-01
Hi:

Currently I am designing a web form. I need to send all the information in the form to some email address, and at the same time forward the page to some confirmation web page which shows the summary of form information.

I know I can set the form action like <form name="myform" action = "mailto:abc@abc.com">
but how can I set the forward page in the form?

Thanks
0
Comment
Question by:ly_uwo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 

Author Comment

by:ly_uwo
ID: 16897646
help
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 16899153
Hi,

I do not think that
<form name="myform" action = "mailto:abc@abc.com">
would be a good idea.

Use Servlet to send the email as well as to forward the page.

David
0
 

Author Comment

by:ly_uwo
ID: 16899426
thank you. so how can I Use Servlet to send the email as well as to forward the page? do I need to use Java Mail?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Accepted Solution

by:
suprapto45 earned 260 total points
ID: 16899496
Yes,

You need to use JavaMail.

>>"how can I Use Servlet to send the email as well as to forward the page?"
Are you familiar on how the Servlet works? If so, for forwarding the page, you can use RequestDispatcher or simply redirect method. Of course, before forwarding, you need to send email first.

Please let me know if you are unsure.

David
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 16899511
I believe that in the JavaMail itself, they have the sample on how to send email from Servlet. That would be your best solution for your problem.

David
0
 

Author Comment

by:ly_uwo
ID: 16903190
good, I am doing with java mail now.
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 16903942
Glad I could help.

Let us know if you need more info ;)

David
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
Let's recap what we learned from yesterday's Skyport Systems webinar.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question