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)- A4% (2)
- B80% (45)
- C2% (1)
- D11% (6)
- E4% (2)
Community Discussion
No community discussion yet for this question.