what is the difference between ServletContext and
ServletConfig

Answer Posted / sreenu bassha

ServletContext:ServletContext interface contains basic
methods to find the path information, accessing other
servlets,etc.
ServletConfig:ServletConfig interface contains basic
methods to get the initialization parameters and
servletContext object.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between forward () and sendredirect () functions in servlet? Explain

551


What are all the ways for session tracking?

594


What if we pass negative value in load-on-startup?

806


What are some disadvantages of storing session state in cookies?

592


Why are http servlets used in programming?

547






What is setattribute in servlet?

558


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1746


How can you push data from an Applet to a Servlet?

609


How can the session in servlet be destroyed?

646


Can you refresh servlet in client and server-side automatically?

623


Why servlet is faster than jsp?

568


What is servlet name in web xml?

560


What is the difference between get and post methods?

604


What do you mean by deployment descriptor?

556


What do you mean by web applications?

628