Latest Java JSP Interview Questions and Answers for freshers
1 . What is JSP technology?
2 . What is JSP page?
3 . What are the implicit objects in JSP?
4 . How many JSP scripting elements and what are they?
5 . Why are JSP pages the preferred API for creating a web-based client program?
6 . Is JSP technology extensible?
7 . What is the ResourceBundle class in JSP?
8 . What is the difference between a Scrollbar and a ScrollPane in JSP?
9 . What is a Java package and how is it used?
10. What are the Object and Class classes used for?
11. What is a JSP and what is it used for?
12. What is difference between custom JSP tags and beans?
13. What are the two kinds of comments in JSP and what's the difference between them?
14. Can we use the constructor, instead of init(), to initialize servlet?
16. How many messaging models do JMS provide for and what are they?
17. How to Retrieve Warnings?
18. How many JSP scripting elements are there and what are they?
19. In the Servlet 2.4 specification SingleThreadModel has been deprecated, why?
20. What are stored procedures? How is it useful?
21. How do I include static files within a JSP page?
22. Why does JComponent have add() and remove() methods but Component does not?
23. How can I enable session tracking for JSP pages if the browser has disabled cookies?
24. How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
25. How do you restrict page errors display in the JSP page?
1 . What is JSP technology?
2 . What is JSP page?
3 . What are the implicit objects in JSP?
4 . How many JSP scripting elements and what are they?
5 . Why are JSP pages the preferred API for creating a web-based client program?
6 . Is JSP technology extensible?
7 . What is the ResourceBundle class in JSP?
8 . What is the difference between a Scrollbar and a ScrollPane in JSP?
9 . What is a Java package and how is it used?
10. What are the Object and Class classes used for?
11. What is a JSP and what is it used for?
12. What is difference between custom JSP tags and beans?
13. What are the two kinds of comments in JSP and what's the difference between them?
14. Can we use the constructor, instead of init(), to initialize servlet?
16. How many messaging models do JMS provide for and what are they?
17. How to Retrieve Warnings?
18. How many JSP scripting elements are there and what are they?
19. In the Servlet 2.4 specification SingleThreadModel has been deprecated, why?
20. What are stored procedures? How is it useful?
21. How do I include static files within a JSP page?
22. Why does JComponent have add() and remove() methods but Component does not?
23. How can I enable session tracking for JSP pages if the browser has disabled cookies?
24. How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
25. How do you restrict page errors display in the JSP page?