Home > Java Programming > Quizzes > Java Basics Practice Test: JSP and JSP Elements
Java Basics Practice Test: JSP and JSP Elements
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 56% Most missed: “_jspService() method of HttpJspPage class should not be overridden.”
JSP stands for JavaServer Pages and it is a collection of technologies that helps software developers create dynamically generated web pages based on HTML, XML, SOAP, or other document types. JSP is similar to PHP and ASP, but uses the Java programming language.   JSP pages are made out of a page template, which consists of HTML code and JSP elements such as scripting elements, directive elements, and action elements. Directive elements are used to define page-dependent attributes, such as session tracking, error page, and buffering requirements. Action elements are used to perform... Show more
Java Basics Practice Test: JSP and JSP Elements
Time left 00:00
20 Questions

1. Which of the following is not a directive in JSP?
2. Application is instance of which class?
3. _jspService() method of HttpJspPage class should not be overridden.
4. Which of the following action variable is used to include a file in JSP?
5. “request” is instance of which one of the following classes?
6. _jspService() method of HttpJspPage class should not be overridden.
7. Which page directive should be used in JSP to generate a PDF page?
8. Which is mandatory in tag?
9. Can and <%–comment–%> be used alternatively in JSP?
10. Application is instance of which class?
11. Which tag is used to set a value of a JavaBean?
12. Which option is true about session scope?
13. Which option is true about session scope?
14. Which object stores references to the request and response objects?
15. Default value of autoFlush attribute is?
16. Which tag should be used to pass information from JSP to included JSP?
17. Which page directive should be used in JSP to generate a PDF page?
18. Which is not a directive?
19. Which one of the following is correct for directive in JSP?
20. Which is not a directive?