• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I change the response mime type midway?

 
utsav gupta
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I wish to send a jpeg file to the browser followed by some text. How can i achieve that? Do i have to change the content type after writing the jpeg file in output stream to plain text?

Thanks
utsav.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.

One request == one response.

What are you actually trying to accomplish?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!