Hi Peter

try setting scope to session instead of request, so the bean should
only be instantiated once a session and your project should work.

Pascal Mainini
[EMAIL PROTECTED]
Web Developer
Raptus AG/SA
Burgweg 1
CH-2563 Ipsach
Tel/Fax: +41 32 331 29 03
http://www.raptus.com

>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<

Am 12/6/00, 4:52:47 PM, schrieb Peter Choe <[EMAIL PROTECTED]> zum 
Thema scope of a bean:


> i am trying to write an jsp where a bean is instaniated and has it data
> initialized on one jsp page.  and then another page should be able to
> read the data from the bean.  i have set the scope of the bean to
> request, but when it goes to the other page, i noticed that it is
> creating a new bean rather using the bean that was instaniated from the
> previous page.

> am i misunderstanding the scope of the bean?  how can i get bean to be
> recognized by two jsp files without using session scope?

> peter choe-- 

Reply via email to