Servlets Interview Questions
Questions Answers Views Company eMail

What are the exceptions thrown by servlets? Why?

622

What is session tracking?

696

What are all the protocols supported by httpservlet?

648

How can you run a servlet program?

601

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

617

Which exception is thrown if servlet is not initialized properly?

1 987

What is called servlet mapping?

554

What are the type of protocols used in httpservlet?

612

What is generic servlet class?

598

What is a servlet-to-servlet communcation?

648

What is meant by cookies?

610

Whether thread can be used in servlets?

728

What is the difference between 2 types of servlets?

642

What exception should be thrown when servlet is not properly initialized?

553

What is pure servlet?

696


Post New Servlets Questions

Un-Answered Questions { Servlets }

What is the requirement of servlet config and servlet context implemented and how are they implemented?

539


What is servlet? Explain

577


Which are the different ways you can communicate between servlets?

524


What is cgi?

594


Explain the different ways for servlet authentication?

529






Why filter is used in servlet?

524


How the typical servlet code look like ?

635


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

784


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 ?

608


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

582


What are the functions of an intercepting filter?

488


What are its drawbacks of cgi?

568


How forward () method is different from send redirect () method?

515


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

548


Can we override destroy method in servlet?

495