SPIRO THE TECH GURU

Back

What is difference between PrintWriter and ServletOutputStream?

By Admin on

PrintWriter is a character-stream class where as ServletOutputStream is a byte-stream class. The PrintWriter class can be used to write only character-based information whereas ServletOutputStream class can be used to write primitive values as well as character-based information.


SPIRO Google Plus