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
Which interface must be implemented by all servlets?
Can we refresh servlet in client and server side automatically?
What is java servlet?
How can you use a servlet to generate a plain text instead of html?
What is SingleThreadModel interface?
What exactly is a servlet?
What is the
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is api in servlet?
Write a program to show the functionality of doget and dopost method?
What do you mean by cgi in servlet?
What are the advantages of servlets over traditional cgi?
Explain load on start-up and its importance?
What is the difference between encodeRedirectUrl and encodeURL?
Explain the differences between jsp and servlet.