JSP out implicit object
The out object is an instance of a javax.servlet.jsp.JspWriter object that is used to send content in a response. The JspWriter object is instantiated differently depending on whether the page is buffered or not. Buffering can be easily turned off by using the buffered='false' attribute of the page directive. The JspWriter object contains some methods as the java.io.PrintWriter class. However, JspWriter has some additional methods designed to deal with buffering. Unlike the PrintWriter object, JspWriter throws IOExceptions.
Following are the methods invoking by the JSP out implicit object.
|out.print()||Print a data type value|
|out.println()||Print a data type value then terminate the line with new line character.|
|out.flush()||Flush the stream.|
Java Training | Python Training | Machine Learning with Python Training | Deep Learning with Python Training | Data Science with Python Training | Projects
SILAN Technology, BBSR Call to: 0674-2361252