learn java
The moose likes Servlets and the fly likes jsp/javabean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp/javabean" Watch "jsp/javabean" New topic


Donna Reschke

Joined: Jun 20, 2001
Posts: 17
I have three jsp using the same javabean. I thought an update from one pages will be
easily accessed by another pages. I was wrong. When I try to access the value
(jp.getUserID) that a previous jsp has just updated, the method return a null value.
david, chen

Joined: Jan 18, 2001
Posts: 15
You may not set "scope" attribute of jsp:userBean correctly. Because the default value is "page". So, please try set your scope attribute as "session". It may help.
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: jsp/javabean