thanks for that. 
I've never dealt with mime types before, can you give me a bit more 
feed back.
my function returns an Image "public java.awt.Image createImage( )", 
so if I was to do "return myImage;" where would I set the mime type so 
that the returning data is seen as being a jpg.

do I need to set some sort of config file, or would it be in the 
actual function that returns the image. 





--- In [email protected], Manish Jethani 
<[EMAIL PROTECTED]> wrote:
>
> On 1/27/06, sdhfhdgs <[EMAIL PROTECTED]> wrote:
> 
> > How do you get an Image from java to flex.
> 
> In your Java servlet, write the image data to the output stream with
> the mime type set correctly.  In Flex, just set the servlet URL as 
the
> "source" of a Image object.
>









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to