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
Explain the difference between servletconfig and servletcontext in servlet?
What’s the difference between genericservlet and httpservlet?
What is http servlet in java?
What do you mean by session tracking and also explain its techniques?
What are the phases of the servlet life cycle?
How would you create deadlock on your servlet?
What is the workflow of a servlet?
What is servlet and list its types?
Why are servlets used?
Differentiate between the print writer and servlet output stream?
What is httpservlet class?
What are the advantages of servlets over traditional cgi?
Define the servlet mapping.
Explain url encoding in servlet?
What methodology can be followed to store more number of objects in a remote server?