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
How to notify an object in session when session is invalidated or timed-out?
How are filters?
What are the different ways we can maintain state between requests?
Which java application server is the best?
What are the life-cycle methods for a servlet?
Elucidate servlet attributes and its scope?
Can a jsp be called using a servlet?
Which httpsession object is used to view and manipulate information about a session?
How can you create a session in servlet?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What methodology can be followed to store more number of objects in a remote server?
What do you mean by filter in servlet?
What are the phases of the servlet life cycle?
When to use doget() and when dopost()?
What are common tasks performed by Servlet Container?