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
What is servlet container?
What is servlet container. how it works?
Write a servlet to upload file on server.
What is string tokenizer?
What is the difference between the servlets and cgi programs?
Explain web application directory arrangement?
What is the workflow of a servlet?
Which event is fired at the time of project deployment and undeployment?
What are different methods of session management in servlets?
What are the steps involved in placing a servlet within a package?
What exactly is a servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What is webservlet?
How do you get the ip address of the client in servlet?
Explain url encoding?