wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp/javabean" Watch "jsp/javabean" New topic
Author

jsp/javabean

Donna Reschke
Greenhorn

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.
Help!
david, chen
Greenhorn

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.
David
 
wood burning stoves
 
subject: jsp/javabean
 
Similar Threads
how many instances of java bean in jsp?
Load html frame from javabean
JavaBeans and Servlets
Help: Wrox Profession SCWCD - don't understand
calling functions in jsp