Home > Java Programming > Quizzes > Advanced Java Practice Test: JSP
Advanced Java Practice Test: JSP
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “Which tag should be used to pass information from JSP to included JSP?”

A JSP (Java Server Pages - Now, Jakarta Server Pages) page consists of HTML tags and JSP tags. The JSP pages are easier to maintain than Servlet because we can separate designing and development.

Advanced Java Practice Test: JSP
Time left 00:00
25 Questions

1. Which tag should be used to pass information from JSP to included JSP?
2. Component which encloses command button.
3. JSP includes a mechanism for defining …………………………. or custom tags.
4. For cross field validation or some sort of barrier to ensure state before you start a flow, we use.
5. The difference between Servlets and JSP is the …………….
6. A JSP page consists of which tags?
7. To resolve Facelets views we configure:
8. Which is not a directive?
9. _jspService() method of HttpJspPage class should not be overridden.
10. Which packages does a JSP API consist of?
11. Which of the following is an advantage of the statement – Separation of business logic from JSP ?
12. Why DB connections are not written directly in JSPs?
13. Navigation in traditional JSF applications is handled by:
14. JSPs eventually are compiled into Java servlets, you can do as much with JSPs as you can do with Java servlets.
15. The ASP and JSP technologies are quite similar in the way they support the creation of Dynamic pages, using HTML templates, scripting code and components for business logic.
16. JavaServer Pages often serve the same purpose as programs implemented using the Common Gateway Interface (CGI)
17. Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?
18. Attribute used to handle web flow requests.
19. Which of the following are the valid scopes in JSP?
20. Which of the scripting of JSP not putting content into service method of the converted servlet?
21. Which http method send by browser that asks the server to get the page only?
22. Which technology do we mix our business logic with the presentation logic?
23. Which tag is used to execute java source code in JSP?
24. Which is not a directive?
25. Component which additionally provides a pop-up date picker control for its enclosed input field.