How to get the source of a web page

Is it possible to get the html source of a web page without using URL or URLConnection classes. can we establish a socket with the webserver and get the content ? If so help me with the code
[197 byte] By [java_tiroa] at [2007-11-27 8:30:22]
# 1
Well i did a slight bit of searching on good ol' Google and found ya a nice link! This looks like a sufficient Web-Source viewer. http://www.javareference.com/jrexamples/viewexample.jsp?id=136
PaRlOaGna at 2007-7-12 20:20:56 > top of Java-index,Core,Core APIs...
# 2
Oh, haha sorry bout that i think that uses the URL class :(
PaRlOaGna at 2007-7-12 20:20:56 > top of Java-index,Core,Core APIs...
# 3
it uses URL :(
java_tiroa at 2007-7-12 20:20:57 > top of Java-index,Core,Core APIs...
# 4
> Is it possible to get the html source of a web page> without using URL or URLConnection classes.Why?
cotton.ma at 2007-7-12 20:20:57 > top of Java-index,Core,Core APIs...
# 5
>> Is it possible to get the html source of a web page>> without using URL or URLConnection classes.>Why?Wanted to know if we can create a socket with the webserver and read the HTML content from that
java_tiroa at 2007-7-12 20:20:57 > top of Java-index,Core,Core APIs...
# 6

> >> Is it possible to get the html source of a web

> page

> >> without using URL or URLConnection classes.

> >Why?

>

> Wanted to know if we can create a socket with the

> webserver and read the HTML content from that

yes man!!!

wat u thinking abut? so many doubt so little time

RajeshPunthabira at 2007-7-12 20:20:57 > top of Java-index,Core,Core APIs...
# 7

> >> Is it possible to get the html source of a web

> page

> >> without using URL or URLConnection classes.

> >Why?

>

> Wanted to know if we can create a socket with the

> webserver and read the HTML content from that

yes, but why would you?

Why build your own HTTP protocol client when Java provides one that works quite well free of charge?

jwentinga at 2007-7-12 20:20:57 > top of Java-index,Core,Core APIs...