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 jsp and servlet life cycle?
How to get the current httpsession object?
What’s the use of the servlet wrapper classes??
Which java application server is the best?
Can we refresh servlet in client and server side automatically?
What are session variable in servlets?
Explain the differences between jsp and servlet.
What is setattribute in servlet?
Describe some assignments that are executed by servlet container?
What is the use of attribute in servlets?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is cgi and what are its drawbacks?
What do you mean by annotations in servlet?
What is ServletContext object?
What is the web server used for running the Servlets?