in Education by
Which object stores references to the request and response objects? (a) sessionContext (b) pageContext (c) HttpSession (d) sessionAttribute The question was asked in an online quiz. The doubt is from JSP Elements topic in section Session Management, JSP & API of Java Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The correct answer is (b) pageContext Explanation: pageContext object contains information about directives issued to JSP page.

Related questions

0 votes
    What temporarily redirects response to the browser? (a) (b) (c) response.sendRedirect(URL) (d) response.setRedirect( ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
     request is instance of which one of the following classes? (a) Request (b) HttpRequest (c) HttpServletRequest (d) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
     out is implicit object of which class? (a) javax.servlet.jsp.PrintWriter (b) javax.servlet.jsp.SessionWriter (c) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    How to get the class object of associated class using Reflection? (a) Class.forName( className ) (b) Class.name( ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is used for session migration? (a) Persisting the session in database (b) URL rewriting (c) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the below is not a session tracking method? (a) URL rewriting (b) History (c) Cookies (d) SSL sessions ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is stored at client side? (a) URL rewriting (b) Hidden form fields (c) SSL sessions (d) ... , JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following leads to high network traffic? (a) URL rewriting (b) Hidden form fields (c) SSL sessions ( ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is not true about session? (a) All users connect to the same session (b) All users have ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which method creates unique fields in the HTML which are not shown to the user? (a) User authentication (b) URL ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which page directive should be used in JSP to generate a PDF page? (a) contentType (b) generatePdf (c) typePDF (d ... JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which tag should be used to pass information from JSP to included JSP? (a) Using tag (b) Using tag (c) Using ... , JSP & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Application is instance of which class? (a) javax.servlet.Application (b) javax.servlet.HttpContext (c) javax.servlet. ... API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which option is true about session scope? (a) Objects are accessible only from the page in which they are created (b ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which one is the correct order of phases in JSP life cycle? (a) Initialization, Cleanup, Compilation, Execution (b) ... & API of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
...