File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp/javabean
 
Similar Threads
JavaBeans and Servlets
calling functions in jsp
Help: Wrox Profession SCWCD - don't understand
how many instances of java bean in jsp?
Load html frame from javabean