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
Explain mvc pattern.
What is the difference between jsp and servlet life cycle?
Explain get and post.
How can you run a servlet program?
What do you mean by request dispatcher in servlet? Also explain its methods.
List out the difference between ServletConfig and ServletContext?
Explain is servlet mapping?
Why is http protocol called as a stateless protocol?
What is servlet and its use?
Explain load on start-up and its importance?
What’s the difference between sendredirect and forward methods
Explain the difference between get and post method in servlet?
Define servlet mapping?
How to get the server information in a servlet?
When Servlet is unloaded?