Retrieving Webpage HTML with Java! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

Retrieving Webpage HTML with Java!

Recently learnt that this can be done. I actually wanted to make a code that retrieves something which changes with time. But code playground shows "Time Limit Exceeded" everytime. So, I am posting the code so that "how to" of it can be understood. Try to run it in any other Java compiler. https://code.sololearn.com/c7K2btpu6NTa/?ref=app

7th May 2017, 12:42 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
5 Answers
7th May 2017, 1:02 PM
Karl T.
Karl T. - avatar
+ 8
@Helioform : Exactly! You posted it 3 months ago. Wow!
7th May 2017, 2:23 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 8
@Krishna, yes. And like yours it only works on normal Java VM. Probably too much for SL to handle...
7th May 2017, 2:42 PM
Karl T.
Karl T. - avatar
+ 6
I didn't expect that this is really possible
7th May 2017, 12:44 PM
Siddharth Saraf
+ 5
can you explain?
7th May 2017, 12:44 PM
Sandeep Balachandran
Sandeep Balachandran - avatar