Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > automatic submission of forms

Reply
Thread Tools

automatic submission of forms

 
 
grpmangr@yahoo.com
Guest
Posts: n/a
 
      03-27-2006
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

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      03-27-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) 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
 
Reply With Quote
 
 
 
 
daninbrum@hotmail.com
Guest
Posts: n/a
 
      03-27-2006

(E-Mail Removed) 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)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic submission of forms grpmangr@yahoo.com Javascript 7 03-27-2006 10:22 PM
automatic submission of forms grpmangr@yahoo.com Javascript 1 03-27-2006 07:49 AM
automatic email notification of online form submission =?Utf-8?B?aGF2ZW5vY2x1ZQ==?= ASP .Net 6 10-24-2005 07:06 PM
Automatic form submission BernieH HTML 3 10-07-2004 11:12 AM
automatic ASP page submission? Terry ASP General 12 12-18-2003 09:45 AM



Advertisments