JSP implicit objects

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:

  1. out (JspWriter).
  2. request (HttpServletRequest).
  3. response (HttpServletResponse).
  4. config (ServletConfig).
  5. application (ServletContext).
  6. session (HttpSession).
  7. pageContext (PageContext).
  8. page (Object).
  9. exception (Throwable).

 
Next Topic: JSP out implicit object with example.
Previous Topic: JSP taglib directive with example.

 

Please Share