what is the difference between ServletContext and
ServletConfig

Answer Posted / saurabh kandpal

servletcontext is for a individual servlet

servlet config is for the whole webapplication which may
include diffrent servlet context

Is This Answer Correct ?    3 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will two or three servlets interact or communicate with each other?

1012


What is called Session Tracking?

684


What are the supporting protocol by HttpServlet ?

744


What do you mean by chaining in servlet?

677


Explain how does JSP handle run-time exceptions?

664






What is the directory structure of web application?

612


What is Servlet API used for connecting database?

692


Explain session tracking and its importance?

624


What is the difference between a generic servlet and http servlet?

599


What are the difference between session and cookies in servlet? Explain

645


What exception should be thrown when servlet is not properly initialized?

647


What are the advantages of cookies?

710


What is the major difference between servlet and applet?

609


Who is responsible to create the object of servlet?

810


What is the purpose of dispatcherservlet properties?

589