Your web application uses a simple architecture in which servlets handle requests and then
forward to a JSP using a request dispatcher. You need to pass information calculated in the
servlet to the JSP for view generation. This information must NOT be accessible to any other
servlet, JSP or session in the webapp. Which two techniques can you use to accomplish this goal?
(Choose two.)
A.
Add attributes to the session object.
B.
Add attributes on the request object.
C.
Add parameters to the request object.
D.
Use the pageContext object to add request attributes.
E.
Add parameters to the JSP’s URL when generating the request dispatcher.
Explanation: