Which interface should be implemented by all servlets?



Which interface should be implemented by all servlets?..

Answer / Naval Kumar Singh

All servlets must implement the javax.servlet.Servlet interface, which defines common methods for handling requests and responses.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

how do you maintain sessions in servlets?

5 Answers   AZTEC, L Cube,


What is the difference between Server and Container?

1 Answers  


What advantages do servlets have over CGI programs?

5 Answers  


Which exception is thrown if the servlet is not initialized properly?

1 Answers  


What are different Authentication options available in Servlets.

1 Answers  


Explain the difference between servlet and cgi?

1 Answers  


What are the different types of servlets?

1 Answers  


How can we include static files in the jsp page?

1 Answers  


What do you understand by mime type?

1 Answers  


What is servlet initializer?

1 Answers  


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1 Answers  


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

1 Answers  


Categories