posted 16 years ago
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.request.URI}
I think the answer is f .The answer given is a.
Given an EL function foo in namespace func ,that requires a long as a parameter and returns a map which two are valid invocations of functions foo?
a)${func(1)}
b)${foo:func(4)}
c)${func:foo(2)}
d)${foo(5):func}
e)${func:foo("easy")}
f)${func:foo("3").name}
I think one option is c .What is other one.
Thanks