Servlets Interview Questions
Questions Answers Views Company eMail

How the typical servlet code look like ?

627

How are filters?

570

Why is httpservlet declared abstract?

571

What are the functions of an intercepting filter?

480

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

617

How the servlet is loaded?

588

A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

595

Should I override the service() method?

660

What are some advantages of storing session state in cookies?

585

What’s the use of the servlet wrapper classes??

625

What is the need of session tracking in web application?

573

What are the new features added to servlet 2.5?

581

How a servlet is unloaded?

585

What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

549

What are the jobs performed by servlets?

574


Post New Servlets Questions

Un-Answered Questions { Servlets }

How do I use cookies to store session state on the client?

523


How we can call a jsp from the servlet?

519


What are advantages of servlets over cgi?

615


Explain the architechure of a servlet?

594


Explain the jar and war files in servlet?

543






How the typical servlet code look like ?

627


What methods do you use in servlet - applet communication?

574


Explain the difference between get and post method in servlet?

589


What's the difference between servlets and applets?

549


Is tomcat a servlet container?

562


Can you refresh servlet in client and server-side automatically?

605


What does the term localization refer to?

574


What is servlet api used for conneting database?

688


Servlet is pure java object or not?

709


How can you create a session in servlet?

583