Are beans

Hi folks,

Just a quick question. When a bean gets created by a JSP using the <jsp:useBean> tag, is this bean specific to the thread that created it? So if another visitor hit the page simultaneously, would another bean of the same class be created to service that thread?

TIA,

Raj.

[319 byte] By [rajbhaskar] at [2007-9-26 3:07:41]
# 1
Another bean of the same type would be created. If the first user returns to the page within the same http session (ie. he has not closed his browser) and the bean has a session scope then the server will use the same bean instance as was originally created for THAT user's session.
oxbow_lakes at 2007-6-29 11:11:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...