Question 1 of 25
Hints left: 3
Q1
Java code is embedded under which tag in JSP?
Q2
_jspService() method of HttpJspPage class should not be overridden.
Q3
Which of the following is not a marker interface?
Q4
Which of the below is a child interface of Autocloseable?
Q5
Default value of autoFlush attribute is?
Q6
SessionIDs are stored in cookies.
Q7
What is the difference between AutoCloseable and Closeable?
Q8
What are the components of a marker interface?
Q9
Which of the following action variable is used to include a file in JSP?
Q10
What is used to get class name in reflection?
Q11
Can <!–comment–> and <%–comment–%> be used alternatively in JSP?
Q12
Which page directive should be used in JSP to generate a PDF page?
Q13
Which of the following is not a directive in JSP?
Q14
What will be the output of the following Java code snippet? try (InputStream is = ...) { // do stuff with is... } catch (IOException e) { // handle exception }
Q15
Does close() implicitly flush() the stream.
Q16
What temporarily redirects response to the browser?
Q17
Which of the following is stored at client side?
Q18
Which is mandatory in <jsp:useBean /> tag?
Q19
Which object stores references to the request and response objects?
Q20
"request" is instance of which one of the following classes?
Q21
What is the purpose of the `javax.servlet.http.HttpSessionBindingEvent` class in Java web applications?
Q22
How method can be invoked on unknown object?
Q23
Which version of java added Flushable interface?
Q24
How can we invalidate a session?
Q25
Which method creates unique fields in the HTML which are not shown to the user?