automatic submission of forms

Discussion in 'HTML' started by grpmangr@yahoo.com, Mar 27, 2006.

  1. Guest

    hi
    Is ther anyway i can automatically fill out forms and submit them thru
    java?
    supposing i hav a normal txt file that contains all data that needs to
    be filed out into the form, is there anyway i can fill out a form and
    submit it automatically by providing only the URL of the form and the
    txt file?
    thanks
    Najla
    , Mar 27, 2006
    #1
    1. Advertising

  2. wrote:

    > Is ther anyway i can automatically fill out forms and submit them thru
    > java?
    > supposing i hav a normal txt file that contains all data that needs to
    > be filed out into the form, is there anyway i can fill out a form and
    > submit it automatically by providing only the URL of the form and the
    > txt file?


    You can ignore the form entirely (other than as a map to what you need to
    call your fields) and write your Java application to make a suitably
    formatted HTTP request to the server.

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
    David Dorward, Mar 27, 2006
    #2
    1. Advertising

  3. Guest

    wrote:
    > hi
    > Is ther anyway i can automatically fill out forms and submit them thru
    > java?
    > supposing i hav a normal txt file that contains all data that needs to
    > be filed out into the form, is there anyway i can fill out a form and
    > submit it automatically by providing only the URL of the form and the
    > txt file?
    > thanks
    > Najla



    OK - this is a complex one. i suspect you are getting confused by
    terms... Java or JavaScript? If Java... client side or server side?

    Isn't the form a red herring? What do you want to happen to the data
    from the form? Should it be emailed to you? If so... how? Via CGI, PHP
    server-side java or (rubbish) HTML-mailto?

    Explain your situation and you'll get a better answer, for instance, if
    you want a set of calculations made based on the contents of a remote
    text-file, dead easy using Perl.

    HTML form asks for location of remote file, passes data to Perl script,
    perl script does some clever HTTP stuff to get the contents of the text
    file, does the maths and returns the answer...

    ....or are you a spammer looking for a way to automatically create
    dozens of accounts on some webmail server? That can also be done - but
    shouldn't be as it makes you scum.

    What exactly are you looking for?


    Dan Vesma (has been a while - but i'm back in alt.html)
    , Mar 27, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?aGF2ZW5vY2x1ZQ==?=

    automatic email notification of online form submission

    =?Utf-8?B?aGF2ZW5vY2x1ZQ==?=, Oct 24, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    526
    =?Utf-8?B?aGF2ZW5vY2x1ZQ==?=
    Oct 24, 2005
  2. BernieH

    Automatic form submission

    BernieH, Oct 7, 2004, in forum: HTML
    Replies:
    3
    Views:
    19,533
    Jan Faerber
    Oct 7, 2004
  3. Terry

    automatic ASP page submission?

    Terry, Dec 15, 2003, in forum: ASP General
    Replies:
    12
    Views:
    242
    Terry
    Dec 18, 2003
  4. Replies:
    1
    Views:
    81
    Randy Webb
    Mar 27, 2006
  5. Replies:
    7
    Views:
    101
    Thomas 'PointedEars' Lahn
    Mar 27, 2006
Loading...

Share This Page