Servlets Interview Questions
Questions Answers Views Company eMail

When servlet object is created?

841

What is servlet collaboration?

914

Difference between forward() method and sendredirect() method ?

817

Which event is fired at the time of project deployment and undeployment?

1085

What is difference between get and post method?

806

Which event is fired at the time of session creation and destroy?

1148

What is the purpose of requestdispatcher interface?

855

How many objects of a servlet is created?

1033

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

916

Who is responsible to create the object of servlet?

959

How do cookies work in servlets?

826

What are the differences between servlet context vs servlet config?

844

What are the different methods of session management in servlets?

776

What are the differences between forward() method and sendredirect() methods?

802

Explain the role of dispatcherservlet and contextloaderlistener.

922


Post New Servlets Questions

Un-Answered Questions { Servlets }

Is java servlet still used?

807


How native code can be used in a servlet?

3765


What are the new features added to servlet 2.5?

879


What if you need to span your transaction across multiple servlet invocations?

838


Which is the methods of generated servlet?

928


What is cookies in servlet with example?

748


Differentiate between the get and post method

831


Differentiate between get and post?

918


What do you mean by interservlet communication?

822


What is httpservlet and how it is different from genericservlet?

855


What is the element?

814


What are the functions of Servlet container?

858


What are the phases of the servlet life cycle?

845


Explain get and post.

898


How do you get the ip address of the client in servlet?

778