This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes Retrieving URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Retrieving URL" Watch "Retrieving URL" New topic
Author

Retrieving URL

Prasad Rooge
Greenhorn

Joined: May 28, 2012
Posts: 25

I have created a browser.. i need to retrieve the url or the html content from it.

here is returning null.

DJNative Swing Browser used.

I need the URL which is opened in browser.
LQ McDonald III
Greenhorn

Joined: Aug 01, 2012
Posts: 10

I have to say, I worked with this code and the DJ Native Swing API and I have the same issue. In fact, all their methods that are used to retrieve the name of the site, content, or url return null when used. Strange anomaly but I am curious about other peoples experience with it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieving URL