Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?

Answer Posted / koti

servlet context:servletcontext is only one web web
application object
servlet config: servlet config is multiple object in
webapplication

Is This Answer Correct ?    9 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are common tasks performed by Servlet Container?

996


How to get the IP address of client in servlet?

852


What are sessions in servlets?

808


Whether we can get deadlock situation in servlets?

826


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

791


How can we perform any action at the time of deploying the project?

905


What's the servlet interface?

841


Are Servlets Thread Safe? How to achieve thread safety in servlets?

782


What is meant by servlet? What are the parameters of the service method?

814


Explain jsessionid and when is it created?

816


How can the referrer and the target urls be used in servlet?

747


What do you mean by servlet?

923


What are the different ways we can maintain state between requests?

800


What is called a session?

864


List some life cycle methods of a servlet.

803