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 the client’s browser.

Example:

welcome.jsp

<html>
    <head>
        <title>out implicit object example</title>
    </head>
    <body> 
       <%
         out.print("Hello this is an out implicit object example.");
       %>
    </body>
</html>

 

web.xml

<web-app>
 
  <welcome-file-list>
          <welcome-file>welcome.jsp</welcome-file>
  </welcome-file-list>	
 
</web-app>