A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
Books by Bear
I agree. Here's the link:
- it saves me about five hours per week
subject: Can I change the response mime type midway?
How to apply the filter for file selection
Get File Type
Display image in jsp
overlay jpeg with text
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013