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
What is the procedure of invoking different servlet in a different application?
Write a program to show the functionality of doget and dopost method?
How to read request headers from servlets?
What are the objects involved when a servlet receives a call from client?
Is servlet thread safe?
How to create war file?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Is tomcat a servlet container?
How does Cookies work in Servlets?
Write a command to get actual path of a servlet to the server?
What is setattribute in servlet?
What do you understand by mime type?
What are the different methods of session management in servlets?
What is the purpose of dispatcherservlet properties?
What do you mean by url pattern in servlet?