try this
StringBuffer sb = new StringBuffer()
HttpURLConnection httpurlconnection = (HttpURLConnection)( new URL( "ur intranet
address" ) ).openConnection();
if( httpurlconnection.getResponseCode() == httpurlconnection.HTTP_OK
){
InputStream is = httpurlconnection.getInputStream();
int iRead=0;
while( ( iRead = is.read() ) != -1 )
sbPage.append( ( char ) iRead );
}
I am trying to get my intranet web page in my java application, how do i get to
do it? will java.net.url help?