Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic