Jump to content

Java HTTP request

- - - - -

  • Please log in to reply
2 replies to this topic

#1
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
Well i want to make a simple login application . What it does it tries to login to a site "www.xyz.com" which has two fields "username" and "password" . The application which i am gonna make will have
2 text boxes and a submit button . Basically the application will keep trying to login to the website.
I know people are gonna ask question if that is for spamming or hacking stuff. I want to make it for myself , my university portal has 50 student login limit . So i have to keep trying and refresh the page so instead of that i want to make application which keeps on trying itself and logs in. So any idea how to make it?

#2
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
Can these examples help you:

Example Depot | Useful code samples

#3
mnirahd

mnirahd

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 330 posts
Hi,

You have to check out the website you want to make your login application: Check what script does it call for submit button: I assume it must be posting the field values of username/password to script: I believe its kind of multi-part field posting: So making a HTTP post in JAVA would help.

Thanks
-Munir




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users