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 is the difference between Difference between doGet() and doPost()?
How the servlet is loaded?
Can we get PrintWriter and ServletOutputStream both in a servlet?
Explain get and post.
How can a servlet be used to generate plain text instead of html?
How can I send user authentication information while making URL Connection?
What are different methods of session management in servlets?
Explain jsessionid and when is it created?
What are different ways for authentication of servlet?
Explain the custom jsp tags and the beans.
What are the steps that are involved in using the httpservlet class?
Servlet is pure java object or not?
What is cookie? Why is cookie used?
How we can create war file in servlet?
What are the difference between RMI and Servlets?