Results 1 to 5 of 5

Thread: Guys help

  1. #1
    pratik is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default Guys help

    I am trying to write a java application that will access a website.

    Details.
    1. The website has a popup login. how to login to the website?
    2. the website has hyperlinks which when clicked will open up a log file in new window.

    Basically i want to auto login and auto click the link and get the data.

    Tried to google but couldnt find much help.

    Is there a way to auto browse a website in java like we do in .net using the webbrowser control.

    Please let me know where to dig for this.
    Thanks in advance

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    You can do this at a low level, by posting to the site, parsing the response, and loop. I suggest going through the process manually and saving the HTML the site sends each time, which will help you understand what to send back. I'm assuming the site has authorized you to do this...

  3. #3
    pratik is offline Member
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Default

    i have the access to the website. the problem is when you enter the url it will pop up a login window. i have to access the website several times in a day to get the data.
    So i want to automate the process.
    Following are the difficulties.
    1. logging into the website.
    2. navigating the website by accesssig the hyperlinks or by entering data in the fields.

  4. #4
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    What I suggested in my previous post is essentially to write yourself a simple Web browser that can automate the steps you go through to get into the site. However, that involves using the HTTPxxx networking classes and analyzing each request to the server and its response to know what to send. That's intermediate level network programming...

  5. #5
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    Lol!!!!!!!!!!!!!!!!!!!!
    Somebody posted this; I received an e-mail. Maybe they took it down.

    1) I never said intermediate network programming was for beginners.
    2) That's my initial response to many posts as well

Similar Threads

  1. hi guys
    By pvsnmurthy in forum Introductions
    Replies: 0
    Last Post: 04-16-2009, 09:37 AM
  2. hi guys!!
    By durga in forum Advanced Java
    Replies: 5
    Last Post: 11-15-2008, 01:29 AM
  3. Hi Guys!
    By AnGuRuSO in forum Introductions
    Replies: 2
    Last Post: 10-29-2008, 10:30 AM
  4. Hello Guys.
    By manu_016 in forum Introductions
    Replies: 0
    Last Post: 10-25-2008, 01:01 AM
  5. Help Me Out Guys
    By prince24 in forum New To Java
    Replies: 10
    Last Post: 07-13-2007, 05:52 PM

Posting Permissions

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