Multiple choice technology web technology

What are the valid values of the scope parameter in the jsp:useBean attribute ?

  1. page , request , out , application

  2. request , response , session , out

  3. page , request , session , application

  4. request , response , session , application

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

The jsp:useBean action defines four valid scope values: page (default), request, session, and application. The 'out' scope does not exist in JSP - 'out' is an implicit object for writing to the JSPWriter, not a bean scope. Similarly, 'response' is not a valid scope value.