Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?
Answer Posted / nisha
Servlet config is one per servlet and servlet context is one for
the whole webapplication.
Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is the difference between Servlets and Applets?
Explain request dispatcher and its methods.
What is the dispatcher servlet?
How to handle exceptions thrown by application with another servlet?
Can we use threads in Servlets?
Write all the phases defined in servlet life cycle?
When jsessionid is created?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
How do you design microservices?
How native code can be used in a servlet?
What is servlet and list its types?
How to get the actual path of servlet in server?
How the servlet is loaded?
What is the type of method for sending request from http server?
What is the importance of init() method in Servlet ?