Q1)Which EL expression evaluates to the request URI?
1) ${requestURI}
2) ${request.URI}
3) ${request.getURI}
4) ${request.requestURI}
5) ${requestScope.requestURI}
6) ${pageContext.request.requestURI}
7) ${requestScope.request.request.URI}
the given answer is:
1
but i think its 6.
how it is 1.
Q2)A
JSP page needs to instantiate a JavaBean to be used by only that page.
Which two jsp:useBean attributes must be used to access this attribute in the JSP
page? (Choose two.)
A. id
B. type
C. name
D. class
E. scope
F. create
the given answer is:
A,B
i think its A,D
A JSP page needs to instantiate a JavaBean to be used by only that page.???
what is meant here used by onlythat page?