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 the use of attribute in servlets?
What is Client-Server Computing?
Why session tracking is needed?
How can you create a session in servlet?
Which event is fired at the time of project deployment and undeployment?
How to rectify errors in java servlet while compilation?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the difference between portlet and servlet?
Differentiate between get and post?
What is session tracking?
What are sessions in servlets?
What are the type of protocols used in httpservlet?
What are the phases of a servlet life cycle?
When Servlet is unloaded?
What is the major difference between servlet and applet?