servlet 2.5 Interview Questions and Answers


 

Interview Question in servlet 2.5

What are the uses of Servlets?

What are the uses of Servlets?

What mechanisms are used by a Servlet Container?

What mechanisms are used by a Servlet Container to maintain session information?

What is meant by Pre-initialization of Servlet?

What is meant by Pre-initialization of Servlet?

What is ServletContext?

What is ServletContext?

What are the type of protocols supported by HttpServlet?

What are the type of protocols supported by HttpServlet?

What are the lifecycle methods of Servlet?

What are the lifecycle methods of Servlet?

What are the advantages of Servlets over CGI programs?

What are the advantages of Servlets over CGI programs?

What are methods of HttpServlet?

What are methods of HttpServlet?

Differentiate between doGet and doPost method?

Differentiate between doGet and doPost method?

Differentiate between Servlet and Applet?

Differentiate between Servlet and Applet? 

What are the differences between HttpServlet and Generic Servlets?

 What are the differences between HttpServlet and Generic Servlets?