This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes add a bean to many servlets which share their data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "add a bean to many servlets which share their data" Watch "add a bean to many servlets which share their data" New topic
Author

add a bean to many servlets which share their data

pankajjj jain
Greenhorn

Joined: Oct 12, 2005
Posts: 14
how can i add a bean to many servlets which share their data
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
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


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
 
wood burning stoves
 
subject: add a bean to many servlets which share their data