wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Page refresh
Handling requests in Session scoped backing bean
Specific method for bean JSF!
select a row
problem while keeping scope as session