what is the difference between ServletContext and
ServletConfig
Answer Posted / balu
yes ur correct Saurabh..
servletcontext scope is of total application..where as
servletconfig is only for the servlet....
servletcontext gets created when the server starts i.e when
the server reads the web.xml of the application which is
being deployed in the server...
where as servletconfig get created when the servletobject
gets created...
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Can you use javascript in servlets?
What is the inter-servlet communication?
How do you deal property files in servlet?
What are the different session tracking techniques?
Explain the steps involved in placing a servlet within a package?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is the capacity the doget can send to the server?
Can we use the constructor, instead of init(), to initialize servlet?
What is webservlet?
If some new data has entered the database, explain how can a servlet refresh automatically?
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
How to read request headers from servlets?
What are the drawbacks of cgi?
What is cgi and what are its drawbacks?
Write a hello world program using servlets.