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
What are common tasks performed by Servlet Container?
How to get the IP address of client in servlet?
What are sessions in servlets?
Whether we can get deadlock situation in servlets?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
How can we perform any action at the time of deploying the project?
What's the servlet interface?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is meant by servlet? What are the parameters of the service method?
Explain jsessionid and when is it created?
How can the referrer and the target urls be used in servlet?
What do you mean by servlet?
What are the different ways we can maintain state between requests?
What is called a session?
List some life cycle methods of a servlet.