when the webcontainer creates ServeletConfig,ServletContext
objects? befoure creating the Servlet object or not?
Answer Posted / durga ganesh reddy
Just by receiving a request, the web container creates
ServletContext object(so it is called asapplication
object).After creating servlet object then ServletConfig
object will be created.For each servlet instance there will
be a ServletConfig istance is available separtely.
Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
How can the session in servlet can be destroyed?
What do you mean by session tracking and also explain its techniques?
What's the architecture of a servlet package?
What is the difference between context parameter and context attribute?
Whether thread can be used in servlets?
Write a program to show the functionality of doget and dopost method?
How does java thread pool work?
Describe in brief RequestDespatcher?
What are some disadvantages of storing session state in cookies?
What exactly is a servlet?
How to make sure a servlet is loaded at the application startup?
What is ServletConfig object?
Why do we need a constructor in a servlet if we use the init method?
What is servlet and list its types?
What is the use of send redirect () method?