File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Flushing different MIME types Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Flushing different MIME types" Watch "Flushing different MIME types" New topic

Flushing different MIME types

Prabu CBE

Joined: Sep 12, 2002
Posts: 2
Hi All,
Is there any way to flush two different MIME Types from a single Response object using ServletOutputStream?
Thanks in Advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
A given response only has one output stream, and flush doesn't care what the mime-type is. Exactly what are you trying to do?
subject: Flushing different MIME types
It's not a secret anymore!