JSP – Implicit Objects – out

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).

JSP Out Implicit Object

  • JSP out object is an instance of javax.servlet.jsp.JspWriter.
  • It is used to write the data or content on client’s browser.

welcome.jsp:

<html>
            <head>
                        <title>out implicit object example</title>
            </head>
            <body>
                        <%
                                    out.print(“We can display message using out”);
                        %>
            </body>
</html>
Scroll to Top