
what are the different scopes an object can have in a jsp page

JSP Scope Variables:
Page scope-It makes the data available to the given page.
Request Scope-It shares the data between all the components which are used to create the final response.It passes information on to the next component without having access to function calls.
Session scope-It limits the data to the given user, it is accessible from any page in the system and will automatically be collected eventually, if the user walks away from their PC or just closes the browser without logging out.
Application scope-It makes the data available across sessions and/or users and across pages.
For examples,please visit the following links:
http://www.roseindia.net/jsp/simple-jsp-example/UsingBeansAndPageScope.shtml
http://www.roseindia.net/jsp/simple-jsp-example/UsingBeanScopeRequest.shtml
http://www.roseindia.net/jsp/simple-jsp-example/UsingBeanScopeSession.shtml
http://www.roseindia.net/jsp/simple-jsp-example/UsingBeanScopeApplication.shtml