Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

add a bean to many servlets which share their data

 
pankajjj jain
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i add a bean to many servlets which share their data
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must add the bean in some scope -
application - will be shared in whole application
session - will be shared on session level
request - only request, not suitable for you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic