What are the different scope values for the JSP action in JSP?

JSPJava 8Object Oriented ProgrammingProgramming

scope attribute identifies the lifecycle of the Action element. The id attribute and the scope attribute are directly related, as the scope attribute determines the lifespan of the object associated with the id. The scope attribute has four possible values:

  •  (a) page, 
  •  (b)request, 
  •  (c)session, and
  •  (d) application.
Updated on 30-Jul-2019 22:30:25