what is the difference between ServletContext and
ServletConfig

Answer Posted / saikiran

the scope of ServletConfig is With in the servlet
ServletContext is with in webApplication.
ServletConfig is an name and value pairs
it consist of
servletName,InitializationParameters,servletContext
ServletContext:
---------------
the application which is being deployed in the
server...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out difference between a JavaBean from a Servlet?

772


What are session variable in servlets?

796


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

749


What is the use of send redirect () method?

814


What is meant by session? Tell me something about httpsession class?

812


What is the difference between context parameter and context attribute?

753


List the Different types of servlet?

811


What is the capacity the doget can send to the server?

825


What do you mean by the servlet chaining?

818


Describe servlet?

805


Why is Servlet so popular?

801


What is meant by a servlet?

830


How does Cookies work in Servlets?

915


What is the difference between using getSession(true) and getSession(false) methods?

823


What's the servlet interface?

853