1- javax.servlet – This package is used for protocol-less requests.
– It contains 14 interfaces and 11 classes.(You don’t need to learn them all though)
2- javax.servlet.http- This package is used for http protocol requests.
– It contains 8 interfaces and 7 classes.(again you don’t need to learn them all )
Note– (i) javax.servlet package has subpackages, javax.servlet.http is one of them.