Hi, I want to do program that reads different news sites and lists headlines. How this should be done? How to read the data from the web sites?
Jump to Post
I assume most of the sites you are talking about support HTTP. There are some classes in Java SE that would be useful for getting the HTML pages from the sites: HttpURLConnection
and there are packages and classes from Apache that would help you.
After reading the HTML you will …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.