• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!