JSP implicit object "out"

The out object is an instance of a servlet API javax.servlet..jsp.JspWriter class. It represents the output content to be sent to the client. The out implicit object is used to write the output content.
Example of implict object "out" :
index.jsp
<%@ page language="java" %> <html> <body> <% String userName="Sunil"; out.println("Welcome "+userName); %> </body> </html> </html>
Output
out
Download this example
 



 

Latest Tutorial


Most Visited Tutorial