What is ServletContext() and what is its use?
Answer Posted / ranjit
as soon as the java web application is
deployed into web container ,the first
object that container create is
servletcontext
This object is only one per web application
Every web component of web application
share this unique object
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is war file?
explain the advantages of servlet life cycle?
What is the difference between encodeRedirectUrl and encodeURL?
What is the difference between context parameter and context attribute?
Describe some assignments that are executed by servlet container?
Explain jsessionid?
What is the directory structure of web application?
How would you create deadlock on your servlet?
Explain is servlet mapping?
Can filter be used as request or response?
Why session tracking is needed?
What is ServletContext object?
What is Servlets and explain the advantages of Servlet life cycle?
Is dispatcher servlet a singleton?
How can we create deadlock situation in servlet?