I could return this using :
this.context().urlWithRequestHandlerKey(WOApplication.application
().resourceRequestHandlerKey(), null, WOCGIFormValues.getInstance
().encodeAsCGIFormValues(queryMap));
where querymap has wodata and file's absolute path.
Next I would want to use NSData so that I do not have to create this
temp file. I can create NSData object from the byte array I receive
from the service and use it to bind it in source url.
Something on the lines of WOImage which takes "data" binding as NSData
object and I can create NSData object from inputstream.
Please suggest.
Regards,
Shekhar
On Apr 4, 2010, at 2:24 PM, Chandrashekhar Tupe wrote:
I have an audio component which is using HTML 5 <audio> tag.
It takes "src" as qualified URL.
I get an byte array of audio from a service and I need to send it to
page for audio tag.
Currently I am creating a file out of byte stream locally at some
temp location on app server, but not able to figure out how can I
return the fully qualified URL for this file.
Please suggest.
Regards
Shekhar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]