Prev Question
Next Question

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)

Add attributes to the session object.

Add attributes on the request object.

Add parameters on the request object.

Use the pageContext object to add request attributes.

Add parameters to the JSP’s URL when generating the request dispatcher.

Prev Question
Next Question

Leave a Reply

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