Ads

Friday, 4 September 2015

Servlet Interview Questions

Posted By: Apoorva - 06:24

Interview Questions on Servlet

  1. what is Servlet?
  2. Life cycle methods of servlet?
  3. Difference b/w web server and application server?
  4. Working of Servlet Container?
  5. what is ServletConfig Object?
  6. There can be more than one ServletConfig object for any Servlet or not?
  7. difference between ServletContext and ServletConfig?
  8. why we do not create Constructor for the Servlet?
  9. Is it possible to override init() method of HttpServlet? why?
  10. Difference Between init() and init(ServletConfig) methods of genericServlet?
  11. Difference between genericServlet and HttpServlet?
  12. What is Request Dispatcher in Servlet?
  13. Difference between include() and forward() methods in Servlet?
  14. Difference b/w sendRedirect and Request Dispatcher?
  15. Is it needed to override service method every time?
  16. Explain Servlet Thread Safe?
  17. What is Servlet chaining?
  18. What are the Servlet attributes and their scope?
  19. what is session management in Servlet?
  20. Different methods of session management?
  21. Explain Cookies in Servlet? and how it works?
  22. What is Deployment Descriptor? 
  23. Explain Listeners in Servlet?
  24. why we use Filters in Servlet ? what is filter chaining?
  25. URL Rewriting in Servlet?
  26. what is load-on-startup process?

Thank you visitor...! :) www.ease2code.com

About Apoorva

Hi, I am Hafeez Ullah Khan. A webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of geeks and professinal programmers, developers work together and make unique blogger templates.

0 comments:

Post a Comment

© 2015 - Designed by: Templatezy & Copy Blogger Themes