users@glassfish.java.net

Re: SSI not rendered in Firefox but works in IE.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 31 Oct 2007 14:32:14 -0400

Hi,

glassfish_at_javadesktop.org wrote:
> Jeanfrancis,
>
> I added mime-mapping to my web.xml:
> <j2ee:mime-mapping>
> <j2ee:extension>shtml</j2ee:extension>
> <j2ee:mime-type>text/html</j2ee:mime-type>
> </j2ee:mime-mapping>
>
> With this firefox can display shtml pages.
>
> I also added servlet mapping for shtml extension in my web.xml:
> <servlet-mapping>
> <servlet-name>ssi</servlet-name>
> <url-pattern>*.shtml</url-pattern>
> </servlet-mapping>
>
> With this addition, shtml pages are being served fine so far and haven't encountered earlier problems so far. I'll create a bug/issue if I see the problems mentioned earlier again.
>
> Thanks for you support and quick responses.

Great. I will make sure the mime type is added by default in GlassFish
so it works out of the box :-)

Thanks!

- Jeanfrancois


> --
> Sanjay
> [Message sent by forum member 'sanjaydwivedi' (sanjaydwivedi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=243191
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>