Laurent,
My own understanding of scope is as follows....
scope = application.
All objects are shared by every servlet/jsp in the application.
The lifetime of such objects is the lifetime of the application,
from when created till when either explicitly destroyed or till
all servlets/jsps associated with the application are destroyed.
scope = session
All objects are shared by every servlet/jsp in the application.
The lifetime of such objects is the lifetime of a user session,
(created by request.getSession methods) - any objects will be
destroyed either when explicitly destroyed, or when the session
is invalidated explicitly or due to timeout.
scope = request
All objects are shared by every servlet/jsp in the application.
The lifetime of such objects is the duration of the request.
Once a request is complete, all such objects are destroyed.
scope = page
All objects are reserved to only the JSP page in question.
The lifetime of such objects is the duration of processing which
occurs while in the JSP - such objects are destroyed if either the
request completes, or if a forward or redirect is done.
Hope this helps....
-AMT
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of laurent andre
> Sent: Thursday, April 06, 2000 3:32 AM
> To: [EMAIL PROTECTED]
> Subject: Scope Session.
>
>
> Hello.
>
> Please tell me if any of theses affirmation are wrong.
>
> Scope=Page means that each bean in jsp:useBean have its own instance !
> Scope=Request is the same
>
> Scope = session, means that each bean asked with jsp:useBean creates a
> new instance if it is not in an already known (by the server) session...
>
> Scope = application means that the bean is only created 1 time for all
> jsp that uses this bean.
>
>
> If all this is ok, can anyone explain me why IE5 doesn't create the
> session !!
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets