What is the difference between and !?
What is the difference between
and!?
Single servlet versus multiple servlets.
Other Answers give details, but here is the summary:
A web app, that is, a “context”, is made up of one or more servlets.
defines a value available to a single specific servlet within a context. defines a value available to all the servlets within a context.