Multiple choice technology web technology

  1. The action can pass parameters to the page which it is including. How does this second page obtain the value of these parameters?

  1. Using the <jsp:readParam/> action

  2. Using the <jsp:getParam/> action

  3. Use the request.getParameter() method

  4. Use the response.getParameter() method

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

When passes parameters to the included page, those parameters become part of the HTTP request. The included page accesses them using the standard request.getParameter() method, just like any other request parameter, because jsp:include uses a request-time inclusion mechanism.