can we create more than ServletContext and ServletConfig in
your application
Answer Posted / sunstar
Servlet Context is used per Web apllication so we can't use
more than one Context,Servlet Config is per servlet or per
Jsp so you can use the more than one Config.....:-)
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is the main purpose of java servlets?
What is the servletconfig object?
Can you send an authentication error from a servlet?
What is the structure of the http response
Write the code to get the server information in servlet.
Why servlet is used as controller ? Not JSP? I want complete explation?
What is cgi?
What is servlet configuration?
What is servlet attributes and their scope?
What is the difference between context parameter and context attribute?
What is the GenericServlet class?
What is the functionality of actionservlet and requestprocessor?
What are the new features added to servlet 2.5?
What do you mean by request dispatcher in servlet?
What is api in servlet?