What exactly does the servlet context refer to and how can a servlet context be different on the same server using a single JVM?
Most servlet engines execute all servlets in a single JVM; however, this choice is left up to each servlet engine vendor.
A servlet context is just an abstraction and mapping to the document root of an individual Web application and the resources relative to that document root. The ServletContext object enables you to set, get and change Web application-scope attribute values.
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.