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 scope 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 "scope" Watch "scope" New topic
Author

scope

shashank bapat
Ranch Hand

Joined: Jul 11, 2001
Posts: 69
Hi Guys,
I have one bean with request scope. Other with session scope.
Whats the best way to access session scope bean from request scope bean?
I know I can do this by passing arguments to bean. But I would like to know if there is other way w/o having to do this.
Getting hold of request is also enough. As it gives me session using getSession().
Thanks
Shashank


-Shashank<BR>MS(CS),BS(CS),SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scope
 
Similar Threads
problem while keeping scope as session
Page refresh
Handling requests in Session scoped backing bean
select a row
Specific method for bean JSF!