Introduction to Servlets in Java
servlets are java programs that generate html files and execute it on the web.
But for this it is necessary that you store your servlet program on a web server only and get it executed from there.
Types of servlet
There are 2 types of servlet