• Post Reply Bookmark Topic Watch Topic
  • New Topic

println() to a PrintWriter and write() to a ServletOutputStream()

 
Bindu Lakhanpal
Ranch Hand
Posts: 171
Flex Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFSJ it is said that we use println() to write to a PrintWriter and we use write() to write to a ServletOutputStream.
But there is println() method in ServletOutputStream and write() method in PrintWriter.

EDIT: I got answer by using search facility.I always use that but forgot to do so this time.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!