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 is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Which application server is best for java?
Can you explain in detail 'javax.servlet' package?
Explain load on start-up and its importance?
Explain the lifecycle of a servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Tell us something about servletconfig interface.
How to get the path of servlet in the server?
How many objects of a servlet is created?
Can we override destroy method in servlet?
Why the concept of single thread model interface is used?
How can you run a servlet program?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
When to use doget() and when dopost()?
What is servlet in web technology?