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 difference between cookies and httpsession?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is the use of httpservletresponsewrapper?
What is setattribute in servlet?
how many jsp scripting elements are there and what are those?
Why is init() method is used in servlets?
What are the types of protocols supported by httpservlet ?
What is java servlet?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is string tokenizer?
Why the concept of single thread model interface is used?
Difference between doget and dopost?
How can we achieve transport layer security for our web application?
What is http servlet? Explain with the help of an example.
Can you refresh servlet in client and server-side automatically?