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


Please Help Members By Posting Answers For Below Questions

Explain the difference between get and post method in servlet?

887


What is servlet and its life cycle?

866


How can you use a servlet to generate a plain text instead of html?

891


Can you explain in detail 'javax.servlet' package?

776


What is the use of httpservletresponsewrapper?

732


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

805


Explain the servlet filter.

743


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()?

868


Explain jsessionid and when is it created?

816


How to handle exceptions thrown by application with another servlet?

833


Difference between httpservlet and generic servlets?

860


How would you create deadlock on your servlet?

865


The code in a finally clause will never fail to execute, right?

830


What are the advantages of Servlet over CGI?

877


How can we achieve transport layer security for our web application?

801