Scope of the JSP objects
by, 07-07-2012 at 06:07 PM (598 Views)
It is determined by the JSP object scope that object could be used at some specific place of an application or not. Four scopes are present for the JSP object, as following:
application - Object that has this kind of scope is present with all kind of JSP pages that belong to similar web applications.
session - Object that has this kind of scope would be there for all kind of JSP pages which belong to the similar session where such object got instantiated.
request - Object that has this scope would be present for all pages that are serving the similar request kind.
page - Object that is having such scope would be present just at that specific JSP page at which instantiation took place. It would be considered as default scopre of objects that have been made in JSP page. Majority of the implicit objects possess such scope just by including response, config, exception, page, out, pageContext etc.