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 are the different session tracking techniques?
Which are the different ways you can communicate between servlets?
Which HTTP method is non-idempotent?
What do you mean by default initialization in java servlet?
What is a servlet context object?
Explain request dispatcher and its methods.
What is cookies in servlet with example?
What are different ways for servlet authentication?
What is a web container and what is its responsibility?
How the JSP file will be executed on the Server side?
Difference between forward() method and sendredirect() method ?
What is the difference between servlet and jsp?
What do you mean by servlet?
Can you refresh servlet in client and server-side automatically?
How can a servlet be used to generate plain text instead of html?