Yes, you should probably explain how you're generating the images
(I'm assuming these are auto-generated, rather than static files -
both tomcat and Glassfish follow the servlet spec, which is pretty clear
that things in WEB-INF shouldn't be visible).
On Wed, Sep 23, 2009 at 12:37 PM, Eve Pokua <gorgeous65_at_msn.com> wrote:
> SSpadmin,
>
> You are right Tomcat makes it simple to display images.
>
> If you can provide some coding of the problems you are having
> may be some glassfish user or developer can help.
>
> Regards
>
> 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
>>
>
> ________________________________
> View your Twitter and Flickr updates from one place - Learn more!