when the webcontainer creates ServeletConfig,ServletContext
objects? befoure creating the Servlet object or not?
Answer Posted / ravikiran.chd
the servlet context & servlet config objects will be created
once the application is deployed into the container,
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Explain the difference between get and post method in servlet?
What is servlet and its life cycle?
How can you use a servlet to generate a plain text instead of html?
Can you explain in detail 'javax.servlet' package?
What is the use of httpservletresponsewrapper?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Explain the servlet filter.
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
Explain jsessionid and when is it created?
How to handle exceptions thrown by application with another servlet?
Difference between httpservlet and generic servlets?
How would you create deadlock on your servlet?
The code in a finally clause will never fail to execute, right?
What are the advantages of Servlet over CGI?
How can we achieve transport layer security for our web application?