tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goss <mg...@rtci.com>
Subject Re: scope of a bean
Date Wed, 06 Dec 2000 17:50:27 GMT
set the scope to session or application.... request scope is just while the
page is loading

Peter Choe wrote:

> 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

Mime
View raw message