admin@glassfish.java.net

Re: case sensitivity

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 07 Aug 2008 11:45:47 -0700

Can you see if adding:
   <mime-mapping>
     <extension>JPG</extension>
     <mime-type>image/jpeg</mime-type>
   </mime-mapping>

to domain1/config/default-web.xml helps?

Sorry, you'll have to edit it by hand and restart the server.

(Also, if possible, don't use Windows ;) (just kiddin')).

-Kedar


John Vera wrote:
> I am using a windows version of glassfish that came with netbeans 6.5.
> Other servers I have looked at do not care about case sensitivity when
> referencing a file.
>
>
>
> i.e
>
> http://localhost:8080/myLogo.JPG
>
> would be the same as
>
> http://localhost:8080/myLogo.jpg
>
> and the JPG image would be served up correctly.
>
>
>
> Now with glassfish they are different; I get a message telling me the
> resource is not available. Why is that? Is there a way I can control
> this administratively? If so where do I go to find the setting or how
> do I control it?
>
>
>
>
>