Java Reference
In-Depth Information
ServletOutputStream , you must call the ServletResponse 's getOutputStream() method.
The class has several methods.
B
The ServletOutputStream() Method
public ServletOutputStream()
throws java.io.IOException
The ServletOutputStream() method is the empty default constructor. It has no parameters
and returns no value.
It throws this exception:
java.io.IOException
The print(boolean value) Method
public void print(boolean value)
throws java.io.IOException
This version of the print() method prints the passed-in boolean value to the output stream.
It has one parameter:
boolean
N OTE
The print() method always throws a java.io.IOException exception. For all print
values, the print() method returns no value.
The print(char value) Method
public void print(char value)
throws java.io.IOException
This version of the print() method prints the passed-in char value to the output stream.
It has one parameter:
char
The print(double value) Method
public void print(double value)
throws java.io.IOException
This version of the print() method prints the passed-in double value to the output stream.
 
Search WWH ::




Custom Search