What are scopes an object can have in JSP page?Answer
An object can have the following scope in a JSP page:
Objects with page scope can be accessed only within the page
Objects with this scope are accessible from pages processing the same request in which they were created.
Objects with session scope are accessible in the same session
This creates a global object that is available to all pages.