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 called a session?
What is the procedure for initializing a servlet?
What is cgi?
What are the important functions of filters?
Explain web application directory arrangement?
How are filters?
Explain the servlet context.
Explain the war file?
What is the web server used for running the Servlets?
What is SingleThreadModel interface?
Can you call a jsp from the servlet?
What is http servlet? Explain with the help of an example.
Difference between doget and dopost?
What is the need of servlet filters?
Explain their methods? Tell me their parameter names also have you used threads in servlet?