Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2010
    Thanked 0 Times in 0 Posts

    Javascript-Creating a page to do a couple of things

    HI guys, I'm quite a novice when it comes to this but was wondering how do I create a simple page to :

    Enter a filename
    Enter an email address


    When submit is pressed, I want to call a program to convert the file and then send it to the email that was entered.

    I've got the form designed but I'm not sure how to get the submit part started

  2. #2
    Regular Coder brad211987's Avatar
    Join Date
    Sep 2005
    Thanked 50 Times in 50 Posts
    Do you have a server to submit the form to? Since you posted this in the Java forum I'll go ahead and suggest servlets.

    In a nutshell, you need a server-side program listening on a host that will accept an HTTP POST request sending your form data. You can process it and send the HTTP response (HTTPServletResponse I believe if you use a servlet) that has the result of your processed data.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts