can we create more than ServletContext and ServletConfig in
your application
Answer Posted / naresh
We can not have more than one servletContext in a web
application, but we can have more than one servletConfig
provided there is more than one servlet in the web
application...
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
When Servlet is unloaded?
What is httpservlet class?
What’s the difference between forward() and sendredirect() methods?
How will two or three servlets interact or communicate with each other?
What do you mean by url pattern in servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What is servlet container. how it works?
What is meant by session? Tell me something about httpsession class?
Why do we use sendredirect() method?
What is cookie? Why is cookie used?
What is a web application and what is it’s directory structure?
How does tomcat servlet container work?
How we can create war file in servlet?
Write a program to show the functionality of servlets.
How can you start a jta transaction from a servlet deployed on jboss?