Servlet Interview Questions

  1. What's the difference between servlets and applets?
  2. What are the purpose of having servlets in web application?
  3. When parameters one will consider before deciding to have servlet or JSP in your web application?
  4. What is the signifance of doGet() and doPost()?
  5. Describe servlet life cycle?
  6. Describe servlet API hirerachy?
  7. Significance of servlet context ?
  8. When to use Forward and sendRedirect?