Servlets Interview Questions
Questions Answers Views Company eMail

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

605

What is called a session?

625

What is java servlet?

612

What is httpservlet and how it is different from genericservlet?

612

Why servlet is mostly used?

748

Difference between httpservlet and generic servlets?

608

Who is responsible for writing a constructor?

779

What is the default http method in the servlet?

766

How do you deal property files in servlet?

606

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

575

What is the element?

590

What is servlet interface?

705

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

572

What are some disadvantages of storing session state in cookies?

592

What is the servlet?

625


Post New Servlets Questions

Un-Answered Questions { Servlets }

Are Servlets Thread Safe? How to achieve thread safety in servlets?

563


How to get the actual path of servlet in server?

740


What is the process for chaining servlet?

613


What do you mean by default initialization in java servlet?

606


When to use doget() and when dopost()?

629






How can we perform any action at the time of deploying the project?

623


What do you mean by web applications?

629


Why is init() method is used in servlets?

558


How do we share data using 'getservletcontext ()?

543


Can servlet have a constructor ?

598


What are the annotations used in servlet 3?

580


Can you call a jsp from the servlet?

548


How do you invoke a servelt?

630


What is the use of servlet context?

537


Why are servlets used?

534