• Post Reply Bookmark Topic Watch Topic
  • New Topic

add a bean to many servlets which share their data  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!