Discussion Locked

contexts in JSP

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What do the diferent contexts in JSP stand for?

7 replies

by port8080

Do you mean scopes?
There are four scopes in JSP namely

Page: The objects in this scope are only visible on the page where instantiated

Request: The objects in this scope are only visible throughout the life of the request in which they were instantiated

Session: The objects in this scope are visible only throughout the life of the session in which they were instantiated

Application: The objects in this context are visible to the entire application for as long as the application isrunning unless explicitly removed from the scope. This is actually the Servlet Context

This discussion is closed to new replies.