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
Which interface must be implemented by all servlets?
What is servlet and its advantages?
Explain the concept of ssi ?
What is servlet looping or chaining?
What mechanisms are used by a Servlet Container to maintain session information?
Is servlet a framework?
What is the difference between genericservlet and httpservlet
What is a server side include (ssi)
What are the phases of a servlet life cycle?
How are filters?
Why do we need servlet filter?
What is a cookie What is the difference between session and cookie
What is meant by cookies?
How does tomcat servlet container work?
What if you need to span your transaction across multiple servlet invocations?