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
Why servlet is used as controller ? Not JSP? I want complete explation?
Is servlet thread safe?
How is a servlet implemented in code?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
How do you create a cookie using servlet?
What are the different methods of session management in servlets?
What do you mean by filter in servlet?
Tell us something about servletconfig interface.
What are the important functions of filters?
Why do we need a constructor in a servlet if we use the init method?
What are the type of protocols used in httpservlet?
Define servlet mapping?
What is the procedure of invoking different servlet in a different application?
What must be implemented by all servlets?
List some life cycle methods of a servlet.