What are the implicit objects in JSP & differences between them?
There are 9 Implicit Objects defined in JSP are :
application, config, exception, out, page, pageContext, request, response and session.
The main difference between these Objects lies in their scope and the data they handles.
JSP Implicit Objects :- S.No Implici Object Class or Interface Description
1. application interface (javax.servlet.ServletContext) Refers to the web application’s enviornment
2. session interface ((javax.servlet.http.HttpSession) Refers to the User’s session
3. request interface ((javax.servlet.http.HttpServlet.Request) Refers to the current request page
4. response interface ((javax.servlet.http.HttpServlet.Response) Refers to the current response to the client
5. out Class (javax.servlet.jsp.JspWriter) Refers to the output stream for hte page
6. page Class (java.lang.Object) Refers to the page’s servlet instance
7. pageContext Class (javax.servlet.jsp.PageContext) Refers to the page’s enviornment
8. config Interface (javax.servlet.ServletConfig) Refers to the servlet’s configuration
9. exception Class (java.lang.Throwable) Used for error handling





