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 all the advantages of servlet over cgi?
What do you mean by servlet context?
What is servletconfig?
What do you mean by servlet?
How do cookies work in servlets?
Is it possible to have a constructor inside the servlet?
What is servlet interface?
What are the difference between RMI and Servlets?
What do you mean by default initialization in java servlet?
Which exception is thrown if the servlet is not initialized properly?
What is Request Dispatcher?
Differentiate between the get and post method
How do you deal property files in servlet?
Explain in brief the directory structure of a web application?
What is the difference between the servlets and cgi programs?