File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Web browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Web browser" Watch "Web browser" New topic
Author

Web browser

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

hi i need the HTML source (view Source on right click) if i give the link of the page.
how can i do that in java code.

is thier any API or Method to read the body of the HTTP response


-Chiru
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Apache HttpComponents (previously in Apache Commons) contains code to talk HTTP, which includes the ability to read the response of a HTTP request.
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

thank you
 
wood burning stoves
 
subject: Web browser
 
Similar Threads
file reading in applet
Need help with this code
Why my RMI connection throw exceptions?
API contents problem
Jframe , on resize throws exception