Question
Very lost on this program. Please help! For Java, use java language. Write a program to query http://www.pravdareport.com http://pravda.ru http://www.lefigaro.fr http://www.independent.co.uk and display everything between
Very lost on this program. Please help! For Java, use java language.
Write a program to query
http://www.pravdareport.com
http://pravda.ru
http://www.lefigaro.fr
http://www.independent.co.uk
and display everything between the first occurrence of the tags
Things like
If a webpage contains
your program should print
Sophie, Sally and Jack
If no
Your program should handle any thrown exceptions with an informative message.
Grading Elements:
Submission adheres to your instructors rules for submissions and code quality and conventions.
Program opens network connections to each of the designated web sites
Program reads the designated web pages
Program scans the incoming datastream for the appropriate HTML tags
Program extracts the designated information, or prints a message if no such information is found
Program catches any exceptions and prints an informative
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started