aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Submit Form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Submit Form" Watch "Submit Form" New topic
Author

Submit Form

Hugh Mclaughlin
Greenhorn

Joined: Nov 18, 2004
Posts: 24
Hi there I have created a feedback form in basic HTML, and when it submits it sends it through outlook or a similar email client. Except I want it so it sends it to whatever address, but the user does not have to go through an email client. As in another page is all they see, saying "Thank you for your feedback." Could anyone let me know if this is possible? Below is my current code:

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you do not want a user to go through an email client, you have to use a serverside languae to process the data and store it or email it. You will not be able to pull this off with JavaScript alone.

Eric
Hugh Mclaughlin
Greenhorn

Joined: Nov 18, 2004
Posts: 24
Thanks for the reply Eric, so what is a server-side language exactly? JSP? Perl? PHP?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What ever you feel like using or your server supports.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

If you want to do this with servlets (JSP would be a poor choice), the JavaMail API is discussed in the Other Java APIs forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
Use PHP it's easy to use..


<a href="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Submit Form