The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java: Get Website's HTML

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Dmitriy Pilipenko

Posts: 8
Nickname: dmitriyp
Registered: Jul, 2008

Dmitriy Pilipenko is still in High School
Java: Get Website's HTML Posted: Jul 27, 2008 9:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Dmitriy Pilipenko.
Original Post: Java: Get Website's HTML
Feed Title: Dmitriy Pilipenko
Feed URL: http://dmitriy.pilipenko.net/wp/?feed=rss2
Feed Description: My blog is about different things that relate to Java.
Latest Java Buzz Posts
Latest Java Buzz Posts by Dmitriy Pilipenko
Latest Posts From Dmitriy Pilipenko

Advertisement
There are multiple routes you could take to access a webpage and get its HTML code. I found this one to be the quickest and least round-abound method and only requires two imports: java.net.URL (since JDK 1.0) and java.util.Scanner (since JDK 1.5) The first thing to do is import the classes: import java.net.URL; import java.util.Scanner; Because the URL class’s [...]

Read: Java: Get Website's HTML

Topic: Covers Previous Topic   Next Topic Topic: Good for Everyday

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use