Servlet Interview Questions







1.How do u deal property files in servlet?

2. What methods do u use in Servlet - Applet communication ?

3. What are the types of Servlet ?

4. Difference between HttpServlet and Generic Servlets ?

5. Difference between doGet and doPost ?

6. What are the methods in HttpServlet?

7. What are the types of Session Tracking?

10. If my browser does not support Cookie, and my server sends a cookie instance 
What will happen ?

11. Why do u use Session Tracking in HttpServlet ?

12. Can u use javaScript in Servlets ?

13. What is the capacity the doGet can send to the server ?

14. What are the type of protocols used in HttpServlet ?

15. What is meant by a servlet ?

16. What are the types of servlets ? Explain

17. What is the difference between a Servlet and a CGI.

18. What is the difference between 2 types of Servlets ?

19. What is the type of method for sending request from HTTP server ?

20. What are the exceptions thrown by Servlets ? Why ?

21. What is the life cycle of a servlet ?

22. What is meant by cookies ?

24. What is the difference between GET and POST methods ?

25. How can you run a Servlet Program ?

26. How to communicate between an applet and a servlet ?

27. What is a Servlet-to-Servlet communication ?

28. What is Session Tracking ?

29. What are the security issues in Servlets ?

30. What is HTTP Tunnelling

31. How do you load an image in a Servlet ?

32. What is Servlet Chaining?

33. What is URL Rewriting?

34. What is context switching?

35. How will you pass values from HTML page to the Servlet?

36. What is Servlet API used for connecting database?

37. In servlets, we are having a web page that is invoking servlets

38. Username and password ? which is cheks in the database ?

39. What are virtual functions ?

40. Write down how will you create a binary Tree ?

41. What are the traverses in Binary Tree ?

42. Write a program for recursive Traverse?

43. What are session variable in Servlets?

44. What is client server computing?

45. What is meant by Servlet? What are the parameters of the service Method ?

46. What is meant by Session? Tell me something about HTTPSession Class ?

48. How do you invoke a Servlet? What is the difference in between DoPost and doGet methods ?

49. What is the difference in between the HTTPServlet and Generic Servlet?

50. Explain their methods? Tell me their parameter names also?

52. How do you load an Image in a Servlet?

53. Servlet Life cycle

54. Why do you go for servlet rather than CGI





Servlet Interview Questions Servlet  Interview Questions Reviewed by Mukesh Jha on 2:28 AM Rating: 5

No comments:

Add your comment

All Right Reserved To Mukesh Jha.. Theme images by Jason Morrow. Powered by Blogger.