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
How we can get ip address of client in servlet?
What do you mean by url pattern in servlet?
What is the difference between Difference between doGet() and doPost()?
What is the life-cycle of servlets?
Explain load on start-up and its importance?
Why do we have servlet wrapper classes?
What is java servlet?
What is the use of attribute in servlets?
What do you mean by filter in servlet?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Why the concept of single thread model interface is used?
How native code can be used in a servlet?
how the HTML data stored in web server?
What is the difference between get and post methods?
Is servlet a framework?