0 votes
in Servlet by
What is difference between PrintWriter and ServletOutputStream?

1 Answer

0 votes
by

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.

...