What attribute in B’s request object contains the URI of the original request received by servlet A?

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?

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?

A.
REQUEST_URI

B.
javax.servlet.forward.request_uri

C.
javax.servlet.forward.REQUEST_URI

D.
javax.servlet.request_dispatcher.request_uri

E.
javax.servlet.request_dispatcher.REQUEST_URI



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Neo

Neo

B

Usage: request.getAttribute(“javax.servlet.forward.request_uri”)