Also, are you using a forward or redirect?  A redirect makes a new request
from the browser, a forward does it all internally (ie same request).

-----Original Message-----
From: Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 12:48 PM
To: [EMAIL PROTECTED]
Subject: RES: scope of a bean


Hi!

Is not your bean in different contexts? I`ve this problem in the past, when
I used two contexts (and, of course, one JSP page in each context).


Edson Richter

> ----- Mensagem original -----
> De:           Peter Choe [SMTP:[EMAIL PROTECTED]]
> Enviada em:           quarta-feira, 6 de dezembro de 2000 12:53
> Para:         [EMAIL PROTECTED]
> Assunto:              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