A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Can I change the response mime type midway?
Joined: Mar 19, 2009
Apr 18, 2011 20:35:07
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?
Author and ninkuma
Joined: Jan 10, 2002
Apr 18, 2011 21:05:50
One request == one response.
What are you actually trying to accomplish?
Asking smart questions
Books by Bear
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Can I change the response mime type midway?
How to apply the filter for file selection
Get File Type
overlay jpeg with text
Display image in jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015