Out Implicit Object


Prev Tutorial Next Tutorial

Out Implicit Object

In JSP, out is an implicit object of type JspWriter.This object used for writing any data to the buffer. In case of Servlet we need to write:

Syntax

PrintWriter out=response.getWriter();  

But in JSP, you do not need to write this code. Because in jsp for print any result on browser we use expression tag and this tag are auto converted to out.print() statement and insert the out.print() into -jspService() of the servlet class by the container.

Example of out implicit object

welcome.jsp

Syntax

<%   
out.print("Welcome");  
%> 

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements