Servlets Interview Questions
Questions Answers Views Company eMail

When servlet object is created?

608

What is servlet collaboration?

671

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

592

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

798

What is difference between get and post method?

577

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

885

What is the purpose of requestdispatcher interface?

623

How many objects of a servlet is created?

798

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

631

Who is responsible to create the object of servlet?

726

How do cookies work in servlets?

587

What are the differences between servlet context vs servlet config?

584

What are the different methods of session management in servlets?

547

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

555

Explain the role of dispatcherservlet and contextloaderlistener.

614


Post New Servlets Questions

Un-Answered Questions { Servlets }

What do you mean by web applications? Explain web application directory arrangement?

548


How do we translate jsp?

582


What are the servlet events?

600


How do servlets work?

541


Describe servlet?

589






What are some disadvantages of storing session state in cookies?

600


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

623


What is the need of session tracking in web application?

591


Explain the jar and war files in servlet?

563


Explain is servlet mapping?

590


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

885


Explain their methods? Tell me their parameter names also have you used threads in servlet?

591


Is java servlet still used?

600


Why servlet is mostly used?

753


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

631