nerdexam
Oracle

1Z0-899 · Question #172

Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attribute in B's request object contains the URI of the original request received by servlet A?

The correct answer is B. javax.servlet.forward.request_uri. See the full explanation below for the reasoning.

Question

Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attribute in B's request object contains the URI of the original request received by servlet A?

Options

  • AREQUEST_URI
  • Bjavax.servlet.forward.request_uri
  • Cjavax.servlet.forward.REQUEST_URI
  • Djavax.servlet.request_dispatcher.request_uri
  • Ejavax.servlet.request_dispatcher.REQUEST_URI

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    80% (45)
  • C
    2% (1)
  • D
    11% (6)
  • E
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice