Jsp-Advanced-Java (Set 1)
Jsp-Advanced-Java (Set 1)
chapter in
Advanced JAVA
1 of 3 sets
Chapter: JSP
3. Which attribute specifies a JSP page that should process any exceptions thrown
but not caught in the current page?
A. The ErrorPage Attribute
B. The IsErrorPage Attribute
C. Both A & B
D. None of the above
Answer:A
4. 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.
A. True
B. False
C. none
D. all
Answer:A
6. JSPs eventually are compiled into Java servlets, you can do as much with JSPs
as you can do with Java servlets.
A. True
B. False
C. none
D. all
Answer:A
7. JavaServer Pages often serve the same purpose as programs implemented using
the Common Gateway Interface (CGI)
A. True
B. False
C. none
D. all
Answer:A
12. Which of the scripting of JSP not putting content into service method of the
converted servlet?
A. Declarations
B. Scriptlets
C. Expressions
D. None of the above
Answer:C
18. Which http method send by browser that asks the server to get the page only?
A. get
B. option
C. put
D. post
Answer:A
26. For cross field validation or some sort of barrier to ensure state before you
start a flow, we use.
A. FacesContext
B. FaceletContext
C. FacesResolver
D. All of the mentioned
Answer:A
27. Component which additionally provides a pop-up date picker control for its
enclosed input field.
A. clientDateValidator
B. clientValidator
C. dateValidator
D. validator
Answer:A