]]>JSP Scopehttp://www.aygfsteel.com/sunxiaobo/archive/2008/06/03/205668.htmlXiaobo SunXiaobo SunTue, 03 Jun 2008 15:01:00 GMThttp://www.aygfsteel.com/sunxiaobo/archive/2008/06/03/205668.htmlhttp://www.aygfsteel.com/sunxiaobo/comments/205668.htmlhttp://www.aygfsteel.com/sunxiaobo/archive/2008/06/03/205668.html#Feedback0http://www.aygfsteel.com/sunxiaobo/comments/commentRss/205668.htmlhttp://www.aygfsteel.com/sunxiaobo/services/trackbacks/205668.htmlThere are 4 scopes application, session, request and page in the order of thier significance.
Application represent the ServletContext. The scope is accesible throught out the application.
session represents HTTPSession object. This is valid till the user requests the application.
Request represent the HTTPServletRequest and valdi to a particular request. A request may span a single JSP page or multiple depending upon teh situations.
Page is the least valid scope. It is valid to the particular JSP page only This is some thing like private variable