Before diving into the world of Java web development, it is very important to understand how the client-server model works.
It is necessary for you to understand the client-server model because all Java web applications are built on it.
Please know everything about the different layers on the server. This will make your basics stronger and it will be easier to understand advanced Java.
Because nowadays we are developing web apps using advanced java (Spring or Spring Boot), the client server will help you understand how the Spring/Spring Boot framework works.