Page 1 of 1

About Question enthuware.jwpv6.2.738 :

Posted: Sun Jan 13, 2013 2:44 pm
by gurpreet_asrgndu
why last option viz. Throughout all future invocations of the JSP as long as the servlet engine is running. is not correct. ??

since jBean is a page scoped attribute it will be available for future invocations of jsp

Re: About Question enthuware.jwpv6.2.738 :

Posted: Sun Jan 13, 2013 3:54 pm
by admin
As per JSP Section 1.8.2:
page - Objects with page scope are accessible only within the page where they are created. All references to such an object shall be released after the response is sent back to the client from the JSP page or the request is forwarded some where else.
Therefore the attribute will not be available for future invocations of the page.
HTH,
Paul.