Results 1 to 3 of 3
  1. #1
    RainerZA is offline Member
    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    Default Retrieving information from webpages that require login

    Hi, I'm new here and not sure where to place this or exactly what I need to add for help but i'll try to be as descriptive as possible. I have some basic knowledge of Java and programming from intro courses at my University.

    I am trying to write a piece of java code to:

    a) Login to a website/server (not really sure, the login is done via .jsp when you login from a web browser) and retain the login credentials (via cookie perhaps?).

    b) Access a webpage that is only accessible after you have logged in to the website and retrieve source code from the page.

    My goal with all this is to first get the java code working 100%. I then want to port the code to an android app that will be used to periodically check the webpage for changes. I plan to implement this so that for example the app could login to the server, get the information and then check it against previous retrieved results. This will enable the app to let the user know via notification if new marks/exam venues/exam schedule is available and/or have changed.

    The login page in question is located at: https://login.sun.ac.za/V2_customSSO/ui/login.jsp

    I do not believe that I can provide you with login details to check for obvious reasons :P

    Any tips/help/examples/sources would be greatly appreciated.

    Thanks in advance.

  2. #2
    Aash96 is offline Member
    Join Date
    Dec 2012
    Posts
    26
    Rep Power
    0

    Default Re: Retrieving information from webpages that require login

    Can you please add more detail in the question you are asking.

  3. #3
    RainerZA is offline Member
    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    Default Re: Retrieving information from webpages that require login

    I would like to know if someone could help me with the thought process into how to log in to the site via java code, keep that authentication ticket (cookie?) and use it to access other pages which requires that authentication ticket.

    Dunno how else to phrase it. Hope it gave more clarity?

Similar Threads

  1. Replies: 6
    Last Post: 10-22-2012, 02:12 PM
  2. Saving WebPages
    By akshaydusane in forum New To Java
    Replies: 21
    Last Post: 05-24-2012, 05:46 AM
  3. retrieving hardware information
    By finalight in forum Java Applets
    Replies: 8
    Last Post: 01-11-2012, 07:45 AM
  4. Storing and retrieving information?
    By KeldonWarlord in forum New To Java
    Replies: 11
    Last Post: 10-22-2011, 11:19 PM
  5. Query for User Login Information
    By nwboy74 in forum Advanced Java
    Replies: 3
    Last Post: 06-23-2010, 10:07 PM

Tags for this Thread

Posting Permissions

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