1.

Application is instance of which class?(a) javax.servlet.Application(b) javax.servlet.HttpContext(c) javax.servlet.Context(d) javax.servlet.ServletContextThis question was posed to me in a national level competition.My doubt stems from JSP in portion Session Management, JSP & API of Java

Answer» CORRECT ANSWER is (d) javax.servlet.ServletContext

To explain I would SAY: APPLICATION object is WRAPPER around the ServletContext object and it is an instance of a javax.servlet.ServletContext object.


Discussion

No Comment Found

Related InterviewSolutions