Results 1 to 3 of 3
- 12-12-2012, 07:17 PM #1
Member
- Join Date
- Dec 2012
- Posts
- 2
- Rep Power
- 0
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.
- 12-14-2012, 01:33 PM #2
Member
- Join Date
- Dec 2012
- Posts
- 26
- Rep Power
- 0
Re: Retrieving information from webpages that require login
Can you please add more detail in the question you are asking.
- 12-16-2012, 05:49 PM #3
Member
- Join Date
- Dec 2012
- Posts
- 2
- Rep Power
- 0
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
-
Share http session between desktop login and web browser login to web application
By sakshi.13agg in forum Advanced JavaReplies: 6Last Post: 10-22-2012, 02:12 PM -
Saving WebPages
By akshaydusane in forum New To JavaReplies: 21Last Post: 05-24-2012, 05:46 AM -
retrieving hardware information
By finalight in forum Java AppletsReplies: 8Last Post: 01-11-2012, 07:45 AM -
Storing and retrieving information?
By KeldonWarlord in forum New To JavaReplies: 11Last Post: 10-22-2011, 11:19 PM -
Query for User Login Information
By nwboy74 in forum Advanced JavaReplies: 3Last Post: 06-23-2010, 10:07 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks