Professional Documents
Culture Documents
JSP Quizz
JSP Quizz
A - True
B - False
B - jsp
C - javaScript
D - css
B - False
Q 4 - Which of the following attribute is used to mark a page as error processing page?
A - isErrorPage
B - errorPage
C - exception
D - exceptionPage
Q 5 - Which of the following method can be used to read a multiple values with same name, for example
check box selections?
A - request.getParameter()
B - response.getParameter()
C - request.getParameterValues()
D - response.getParameterValues()
B - The autoFlush attribute can specify that an exception should be raised to indicate buffer overflow.
B - JSP container will ignore the any scriptlets, expressions (non-EL), or declarations similar to
comments.
Q 8 - Which of the following is true about Cleanup phase in JSP life cycle?
A - The destruction phase of the JSP life cycle represents when a JSP is being removed from use by a
container.
B - The jspDestroy() method is the JSP equivalent of the destroy method for servlets.
C - It removes a variable from either a specified scope or the first scope where the variable is found