试题详情
多项选择题 Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP 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?()

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.

  • B,E
  • 关注下方微信公众号,在线模考后查看

热门试题