Servlets Interview Questions
Questions Answers Views Company eMail

What is meant by session? Tell me something about httpsession class?

595

What is called a session?

617

What is java servlet?

604

What is httpservlet and how it is different from genericservlet?

596

Why servlet is mostly used?

740

Difference between httpservlet and generic servlets?

600

Who is responsible for writing a constructor?

770

What is the default http method in the servlet?

753

How do you deal property files in servlet?

596

what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

568

What is the element?

585

What is servlet interface?

694

What is the difference between the include() and forward() methods?

565

What are some disadvantages of storing session state in cookies?

582

What is the servlet?

614


Post New Servlets Questions

Un-Answered Questions { Servlets }

Why is init() method is used in servlets?

552


What is session?

634


What is the capacity the doget can send to the server?

568


What is ServletContext object?

639


What is servlet mapping?

591






What is the web server used for running the Servlets?

574


Why is http protocol called as a stateless protocol?

533


List some life cycle methods of a servlet.

582


What do you mean by cgi and what are its drawbacks?

522


How servlets are deployed in java?

542


What do you mean by request dispatcher in servlet? Also explain its methods.

607


What is meant by a web application

535


What is api in servlet?

519


What are the functions of Servlet container?

607


Is dispatcher servlet a singleton?

537