Computer >> Computer tutorials >  >> Programming >> Programming

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


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.