aspose file tools*
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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1223
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: 61612
    
  67

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