
why we are using servlets

Hi Friend,
Servlets are server side components that provide a powerful mechanism for developing server side programs. Servlets provide component-based, platform-independent methods for building Web-based applications. Servlet does not checks the browser for compatibility. It can access the entire family of Java APIs, including the JDBC API to access enterprise databases, Servlets can also access the library of HTTP-specific calls.
For more information, please visit the following link:
Thanks