Home > Java Programming > Quizzes > JSP and Servlets Fundamentals Test
JSP and Servlets Fundamentals Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 34% Most missed: “What does JSTL stand for?”
JSP and Servlets Fundamentals Test
Time left 00:00
25 Questions

1. The correct way to import the input/ouput java library is:
2. JSP implicit object 'exception' is an object of which of the following classes?
3. What is the correct definition for ?
4. What results from a call to the getInitParameterNames() method on ServletContext when there are no context parameters set up in the deployment descriptor?
5. Which of the following is not a valid implicit object in a JSP?
6. If a jsp page uses classes from java.util package. Which of the following statements would import the package?
7. Which is the best place to define error pages for JSPs?
8. Which of the follolwing servlet methods gets called for each client request?
9. A JSP directive has the following form:
10. Which of the implicit JSP object represents the servlet configuration information?
11. Which of the following is valid about 'page' JSP directive?
12. The http GET - PUT - and DELETE verbs are idempotent. What does the term 'idempotent' stand for?
13. Which of the following object scope is defined as follows : Objects with this scope are accessible from pages processing requests in the same session as the one in which they were created?
14. Which from the following client redirect options are valid?
15. JSP caches data on a web server called___.
16. Which of the following methods is most appropriate to send the large amount of data?
17. JSP's are written in____.
18. Which of the following actions is a specialized tag that generates the appropriate or tag to load the Java Plug-in software?
19. Which of the following files contains the mapping for and ?
20. JavaScript is to the client as JSP is to the ____.
21. The correct way to instantiate a new date object is:
22. Which of the following methods can be used to get initialization and startup parameters of a servlet?
23. Which code block is correct?
24. JSP are coded in:
25. Which of the following is not a valid standard method called as part of the JSP life cycle by the container?