Read URL

hello,

I have written a simple program that uses the URL class, to retrieve the html source of a webpage.

However the problem i have now is that i want to get the source of another page, but i dont know how to get the url of the page.

If you go to www.betfairgames.com then you will see what i mean. I can get the source of the main page, but then if i wanted to get the source after i clicked on say turbo poker for example, how would i do that?

Ive managed to sovle this in visual basic using the webbrowser control and simulating a mouse click on the button, then using the document.frames to get the source, but how would i be able to do this with java?

thanks alot

Kane

[717 byte] By [kane.a] at [2007-10-2 22:13:12]
# 1
You need to parse the HTML to extract the link. There are a few ways to do it, check out http://www.cs.cmu.edu/~rcm/websphinx/for one way.regards
messengersa at 2007-7-14 1:30:01 > top of Java-index,Java Essentials,Java Programming...
# 2
thanks for your reply,i know how to parse the url out, but my problem is that its a javascript link:<a href="javascript:play(1444080)">so i dont know how to use this to load the page i want.
kane.a at 2007-7-14 1:30:01 > top of Java-index,Java Essentials,Java Programming...