• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletResponse Printwriter object

 
Sophie Angela
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Through a printwriter object can we send a binary data?
 
Elan Ram
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We cannot handle binary data with Writer. can handle only the character stream. In contrast, OutputStream can handle both stream (binary or character data).

 
Sophie Angela
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic