JSP implicit objects are created by web container in the translation phase. These objects are created inside the service method so can be used in scriplet tag without any explicitly declaration and initialization. These objects are also known as pre-defined variables.
JSP implicit objects are 9 and given below:
- out (JspWriter).
- request (HttpServletRequest).
- response (HttpServletResponse).
- config (ServletConfig).
- application (ServletContext).
- session (HttpSession).
- pageContext (PageContext).
- page (Object).
- exception (Throwable).
Next Topic: JSP out implicit object with example.
Previous Topic: JSP taglib directive with example.