Home » Interview » JSP Interview Questions :: Discussion
  1. What are Servlets?

    JSP pages and servlets are commonly used together in the same application, leveraging the fact that the JSP specification is built upon the Java servlet specification. In essence, a servlet is a code component that enhances the functionality of a web server, similar to CGI and proprietary server extensions like NSAPI and ISAPI. Servlets offer several advantages over other technologies. They include:

    • Platform and vendor independence
    • Integration
    • Efficiency
    • Scalability
    • Robustness and security


Be The First To Comment