can we create more than ServletContext and ServletConfig in
your application
Answer Posted / ravi ranjan kumar rajnish
No, In case of ServletContext Bcoz there is one
ServletContext is for one for whole application.
But yes in case of ServletConfig, bcoz servletconfig is
servlet specific so it can more than one
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
Difference between httpservlet and generic servlets?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is the major difference between servlet and applet?
Write a servlet to upload file on server.
Explain jsessionid?
What are sessions in servlets?
Define servlet mapping?
What is servlet mapping?
What is the workflow of a servlet?
Which event is fired at the time of project deployment and undeployment?
What is SingleThreadModel interface?
What do you mean by filter in servlet?
What is servlet and list its types?
How the JSP file will be executed on the Server side?
How do cookies work in servlets?