posted 17 years ago
you can use any method you want,
but to make the most out of efficiency,
use the write method of ServletOutputStream
and print, println of PrintWriter
(because PrintWriter is specially made for character and text based output while the regular outputstream is used for writing out other forms of data like binary etc.)
which is exactly what the book recommends you to do
"It's not enough that we do our best; sometimes we have to do<br />what's required."<br /> <br />-- Sir Winston Churchill