Questions Related to technology

Multiple choice technology programming languages
  1. An IllegalStateException is thrown at runtime.

  2. An InvalidSessionException is thrown at runtime.

  3. The string "value=null" appears in the response stream.

  4. The string "value=myAttributeValue" appears in the response stream.

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. The HttpServletRequestWrapper is an example of the Decorator pattern.

  2. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.

  3. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method.

  4. An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter interface.

  5. An HttpServletRequestWrapper CANNOT be used on the request passed to the RequestDispatcher.include

  6. An HttpServletRequestWrapper may modify the header of a request within an object implementing the

Reveal answer Fill a bubble to check yourself
A,B,F Correct answer
Multiple choice technology programming languages
  1. HttpSession

  2. ServletConfig

  3. ServletContext

  4. HttpServletRequest

  5. HttpServletResponse

Reveal answer Fill a bubble to check yourself
D Correct answer