Which EL expression evaluates to the request URI?
A.
${requestURI}
B.
${request.URI}
C.
${request.getURI}
D.
${request.requestURI}
E.
${requestScope.requestURI}
F.
${pageContext.request.requestURI}
G.
${requestScope.request.requestDRI}
Which EL expression evaluates to the request URI?
Which EL expression evaluates to the request URI?
A.
${requestURI}
B.
${request.URI}
C.
${request.getURI}
D.
${request.requestURI}
E.
${requestScope.requestURI}
F.
${pageContext.request.requestURI}
G.
${requestScope.request.requestDRI}
F request is not an EL implicit Object
just tested it F works just fine
F
The requestScope is NOT the request object, use pageContext to get to everything else.
Actually B works as well, just tested it…