Your Content Type in servlet responde is correct?
Regards
Ronaldo
2009/9/23, Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>:
> Salut,
>
> Eve Pokua wrote:
>> Hello,
>>
>> I've been trying to display an image as well. I get the same x result.
>>
>> I'm going to test my application in tomcat to see if it works. If it works
>> then glassfish may want to consider this further.
>
> Can you share a test case? File an issue here:
>
> * https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT
>
> Thanks!
>
> -- Jeanfrancois
>
>
>>
>> eve
>>
>> > Date: Wed, 23 Sep 2009 01:55:37 -0700
>> > From: glassfish_at_javadesktop.org
>> > To: users_at_glassfish.dev.java.net
>> > Subject: Glassfish not displaying Image
>> >
>> > We have written a small Captcha code for web-application, which works
>> fine in Tomcat 6.0.20.
>> > We ported this code to Glassfish. (Sun GlassFish Enterprise Server
>> v2.1 (9.1.1) build b60e-fcs)
>> > It is noticed that application not displaying the captcha image.It
>> shows Cross mark in web browser.however it works fine in tomcat.
>> > We changed the imagetype from png to jpg but in vain.
>> > Why this code is not displaying the image in browser via Galssfish
>> though it works fine in Tomcat?Do we need to do some setting in
>> Glassfish server to display graphics/image.
>> > [Message sent by forum member 'sspadmin' (sspadmin_at_rediffmail.com)]
>> >
>> > http://forums.java.net/jive/thread.jspa?messageID=365245
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>> >
>>
>> ------------------------------------------------------------------------
>> Beyond Hotmail - see what else you can do with Windows Live. Find out
>> more. <http://clk.atdmt.com/UKM/go/134665375/direct/01/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
Enviado do meu celular
[]'s,
Ronaldo Rigoni
http://www.ronaldorigoni.com.br
Desenvolvedor JEE
Ministério da Educação - CESPE