What is the difference between servlet config and servlet
context.

Answer Posted / m.sridharreddy

Servlet context is a context for all servlets under the web
application.in the web application there is only one
context.and all the servlets communicate each other through
context and it uses context parameters
In the web application each servlet have one servlet config
object it uses init parameters.

Is This Answer Correct ?    41 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use cookies to store session state on the client?

708


Write a program to show the functionality of doget and dopost method?

862


How can we create deadlock situation in servlet?

1040


What do you mean by interservlet communication?

758


How do you communicate in between Applets and Servlets?

783






What's the use of servletcontext?

861


Why servlet is faster than jsp?

734


What methods do you use in servlet - applet communication?

769


What are the steps that are required to handle the multi-threading?

814


What are the benefits of using servlet over cgi?

754


What are the steps involved in placing a servlet within a package?

811


What is the advantage of Servlets when compared with other server side technologies?

2055


How do you get the ip address of the client in servlet?

735


What are the disadvantages of storing session state in cookies?

853


Define the servlet mapping.

697