How to implement a html parser in java?

Flo

Joined
Dec 28, 2023
Messages
1
Reaction score
0
I'm developing a little browser in Java for a school project. I've already coded the part that allows to receive the response from the web server and to save it in a string. Now I have to parse this code to construct the render tree. For this project, I don't have to develop a parser too, I can use an already existing one, but I have no idea where to start. Can someone indicate a library or give me an example of implementation in a Java code? (I'm sorry for my bad English and for this request, I'm just a high school student).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top