Solved

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

Posted on 2006-06-13
7
214 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
  • 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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache server configuration 7 84
nested if has else if 13 94
maven project jars 7 53
countXY challenge 28 151
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
An article on effective troubleshooting
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

772 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