wood burning stoves*
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
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
 
Consider Paul's rocket mass heater.
 
subject: add a bean to many servlets which share their data
 
Similar Threads
servlet to bean to jsp
question on servlet contexts
sharing data
EJB replace CGI?
Sharing session across servlets