Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

scope= "session" VS scope="application"

843835Feb 9 2003 — edited Feb 10 2003

If a Java Bean is initialized with <jsp:useBean name="x"
scope=application class="xpto"> can it be shared by all
users? And if it is declared like <jsp:useBean name="x"
scope=session class="xpto"> ? How many instances of the
bean are created in the both cases?
Thanks!

Jos� Fernandes
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2003
Added on Feb 9 2003
5 comments
133 views