http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
http://today.java.net/pub/a/today/2004/04/22/images.html
On 1/30/06, sdhfhdgs <
[EMAIL PROTECTED]> wrote:
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
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

