can we create more than ServletContext and ServletConfig in
your application
Answer Posted / vishal kumar
yes we can create more than one servletcontext for an
application.in case of distributed application,
application's part are deployed on different application
server so in this case every part of application has
different servlet context.so as a whole application consist
many servlet contect.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the types of Session Tracking ?
How do we share data using 'getservletcontext ()?
What is meant by a web application
Differentiate between the web server and application server?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is setattribute in servlet?
How does tomcat servlet container work?
How we can create war file in servlet?
Why do we need a constructor in a servlet if we use the init method?
What do you mean by url pattern in servlet?
Should I override the service() method?
Explain the features are in servlet 3?
What is the difference between a generic servlet and http servlet?
Is servlet a server side scripting language?
What are the difference between RMI and Servlets?