Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scope

 
shashank bapat
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic