問題詳情

115 Your web application uses a simple architecture in which servlets handle requests and thenforward to a JSP using a request dispatcher. You need to pass information calculated in the servlet tothe JSP for view generation. This information must NOT be accessible to any other servlet, JSP orsession 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 on 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.

參考答案

無參考答案

內容推薦

內容推薦