<p>javaBean session does not work</p>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sarah_chi
Posted On:   Thursday, August 8, 2002 06:19 PM


I use tag in my JSP page to initiate some JavaBean. I define the scope of the bean to "session". However, when I tried to invoke the bean in next JSP page, without initiate the bean again, I always got error message saying the bean does not exist in the environment.



Why the bean could not be recognized in the other JSP even it is in the same session?



Thanks.

Need useBean tag for each page

Posted By:   Roger_Hand  
Posted On:   Thursday, August 8, 2002 09:00 PM

You need the useBean tag on each page that uses the Bean. A Bean in session scope won't be recreated if it's already in the session.
About | Sitemap | Contact