can we create more than ServletContext and ServletConfig in
your application
Answer Posted / narendhersharma
ServletContext which is managed by webcontainer, For the
whole web application only one servletcontext will be
there...
In ServletConfig , this is also managed by webcontainer,
for every request object one servletconfig object will be
there..
| Is This Answer Correct ? | 19 Yes | 4 No |
Post New Answer View All Answers
What are the differences between the servletconfig interface and the servletcontext interface?
Can you refresh servlet in client and server-side automatically?
What do you mean by servlet context?
How printwriter is different from servletoutputstream?
How can I send user authentication information while making URL Connection?
What is the difference between sendredirect() and forward() in a servlet?
Why doesn’t a servlet include main()?
How do servlets work?
Explain the role of dispatcherservlet and contextloaderlistener.
What is the procedure of invoking different servlet in a different application?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
How would you create deadlock on your servlet?
How can we invoke another servlet in a different application?
What is meant by Servlet? What are the parameters of service method?
What are the advantages of cookies?