What is servlet context?
What is servlet context?
|
The servlet context is an interface which helps to communicate with other servlets. It contains information about the Web application and container. It is kind of application environment. Using the context, a servlet can obtain URL references to resources, and store attributes those other servlets in the context can use.
|
a set of methods that a servlet uses to communicate with its servlet container,for example, to get the MIME type of a file, dispatch requests, or write to a log file.
|
It is a configuration object which is created when web application is started. It contains different initialization parameter that can be configured in web.xml.
|
All times are GMT -7. The time now is 12:27 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.