Try this tutorial out, it seems to suggest that Wim den Ouden is onto
something, at least it walks you through it all:
http://www.devx.com/getHelpOn/Article/11698/1954
-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of Wim den Ouden
Sent: Wednesday, November 17, 2010 8:41 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] JSP return binary data
don't use java but a gues, did you set
http://en.wikipedia.org/wiki/MIME type audio/mp3 gr wim
On Wed, Nov 17, 2010 at 2:33 PM, ZS zvi.schrei...@gmail.com wrote:
I have a small mp3 which I want to return from a JSP
I use response.getOutputStream().write() but unfortunately it seems
that the container is later calling response.getWriter() so I get
java.lang.IllegalStateException: STREAM
Any ideas how to allow response.getOutputStream() in a GAE JSP or
alternatively how to write binary data with response.getWriter()
Thanks!
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
--
gr
wdo
Demo free E-business: https://e-comm.appspot.com Wim den Ouden Gae (cloud)
based apps
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.