JSP Implicit Objects Quiz

Answer the following questions and click 'Mark Test' when finished to see how well you did.

  1. The request object contains ?

    data included with the HTTP request
    information on the user's session
    data included with the HTTP response
    information of the JSP Container

     

  2. Which of the following is not a method of the request object ?

    getParameter()
    getCookies()
    getHeader()
    sendRedirect()

     

  3. Which of the following is not a method of the session object ?

    invalidate()
    getAttribute()
    getPath()
    setAttribute()

     

  4. Besides the cookie object which other object is also required to create a cookie on the browser ?

    request
    response
    session
    application

     

  5. Which object would you use to read HTML Form data ?

    request
    response
    session
    application

     

  6. Which object would you use to share user specific information between JSPs ?

    request
    response
    session
    application

     

Back Next