JSP and SERVLET Questions:

  1. What is the Difference between sendRedirect() and Forward?
  2. How to delete cookies in JSP?
  3. What is the need of taglibraries?
  4. Why we can't implement interface in JSP? Or Can I call an interface in a JSP?
  5. Why we can only extend classes in JSP?
  6. What is the need of implicit objects?
  7. How do you maintain a Session?
  8. What is the difference between JSP Lifecycle and Servlet Lifecycle?
  9. What is the difference between a static and dynamic include?
  10. What is a JSP and what are its advantages?
  11. What is difference between script let and expression?
  12. What are the different Tags used in JSPs?
  13. How do you call stored procedures from JSP?
  14. How can we move from one JSP page to another?
  15. Can we implements interface or extends class in JSP?
  16. How do you prevent the Creation of a Session in a JSP Page and why?
  17. How do you restrict page errors display in the JSP page?
  18. How do you connect to the database from JSP?
  19. How do you pass control from one JSP page to another?
  20. What is the difference between GenericServlet and HttpServlet?
  21. What are the differences between GET and POST service methods?
  22. What is the difference between ServletContext and ServletConfig?
  23. If you want a Servlet to take the same action for both GET and POST request, what should you do?
  24. Which code line must be set before any of the lines that use the PrintWriter?
  25. How HTTP Servlet handles client requests?
  26. When a Servlet accepts a call from a client, it receives two objects. What are they?
  27. What information that the ServletRequest interface allows the Servlet access to?
  28. What information that the ServletResponse interface gives the Servlet methods for replying to the client?
  29. Can I invoke a JSP error page from a Servlet?
  30. Difference between single thread and multi thread model Servlet
  31. How can I enable session tracking for JSP pages if the browser has disabled cookies?
  32. How do I perform browser redirection from a JSP page?
  33. What JSP lifecycle methods can I override?
  34. How can I implement a thread-safe JSP page?
  35. Can a JSP page process HTML FORM data?
  36. What is the page directive is used to prevent a JSP page from automatically creating a session?
  37. Can you make use of a ServletOutputStream object from within a JSP page?
  38. What is a session and what are the different methods of session tracking?
  39. What are Cookies? How are they useful?

JDBC Questions:

  1. What is Connection Pooling?
  2. What are the different driver types in JDBC?
  3. Which is the best driver among the 4 jdbc drivers? How can we load that driver?
  4. What is metadata?
  5. What is stored procedure? How do you create stored procedures?
  6. What is the difference between Resultset and Rowset ?
  7. What are the three statements in JDBC & differences between them?
  8. How to call a Stored Procedure from JDBC?
  9. What packages are used by JDBC?
  10. How can you make the connection?
  11. How can you retrieve data from the ResultSet?
  12. How can store images in a data base?

No comments: