aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes java Browser component Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "java Browser component" Watch "java Browser component" New topic
Author

java Browser component

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
Hi All,

Is there any java browser component to fetch the contents of any url (for example http://javaranch.com)

I dont want any UI to show like browser, but i just want to get the final content (html text) and final url.

very urgent.

thanks in advance
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

java.net.HttpURLConnection .

This is not advanced -- not even close. Moving to Sockets and Internet Protocols for followup.


[Jess in Action][AskingGoodQuestions]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35446
    
    9
If you're thinking of submitting forms as well, or working with the page you got in a DOM-like fashion, check out the HttpUnit library on SourceForge. It implements a not-so-simple browser as a GUI-less library.


Android appsImageJ pluginsJava web charts
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
There might also be some Swing components that could help, if you want to create a GUI front end. I'm new to sockets programming, so I apologize that I cannot give anything more specific.

Layne


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java Browser component
 
Similar Threads
Accessing files external to the WAR
is site available or not ?
HFSJ - Mock Up Q22, including static content
Google Maps in a java application
Integration of IE in java