Servlets Interview Questions
Questions Answers Views Company eMail

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

800

What is called a session?

853

What is java servlet?

816

What is httpservlet and how it is different from genericservlet?

823

Why servlet is mostly used?

972

Difference between httpservlet and generic servlets?

847

Who is responsible for writing a constructor?

1032

What is the default http method in the servlet?

1025

How do you deal property files in servlet?

807

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

785

What is the element?

798

What is servlet interface?

951

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

811

What are some disadvantages of storing session state in cookies?

803

What is the servlet?

841


Post New Servlets Questions

Un-Answered Questions { Servlets }

Explain the role of dispatcherservlet and contextloaderlistener.

897


Can filter be used as request or response?

742


How will you pass values from HTML page to the servlet?

790


What are the various ways of session supervision in servlets?

753


How do you design microservices?

826


Why servlet is faster than jsp?

777


Can you send an authentication error from a servlet?

745


Whether we can get deadlock situation in servlets?

819


How we can create war file in servlet?

859


How can we refresh automatically when new data is entered into the database?

850


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

863


What is the default http method in the servlet?

1025


Difference between httpservlet and generic servlets?

847


What is servlet interface?

951


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

840