wood burning stoves 2.0*
The moose likes Servlets and the fly likes Rare these two same Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Rare these two same" Watch "Rare these two same" New topic
Author

Rare these two same

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1072
response.getWriter();

response.getOutputStream()

1) can we use these two stream to write binary data?

2) 1)can we use these two stream to write text data?
Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
Hi, Aruna.
Normally streams are used for binary data, writer's are used for text data.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Rare these two same

Please take the time to proof-read your posts for errors.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Rare these two same
 
Similar Threads
Byte streams
Stream data directly into ZipOutputStream?
XML data transfer?
File Input and Output Streams
What is the diff. between character-stream and byte stream which one is better?why?