users@glassfish.java.net

Re: CSS/PDF not working

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 17 Jun 2008 13:01:54 -0400

Salut,

just curious, have you redeployed your application after editing
default-web.xml?

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3802

A+

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> I've got two problems with one installation of Glassfish. It doesn't seem to serve up the css file and pdf files are delivered in binary.
>
> The mime types are both set in the default-web.xml. The odd thing is that the stylesheet seems to work in Safari, but not with Firefox, which would seem to indicate the issue is with the webapp or the stylesheet, but I'm not really sure this is the case just yet.
>
> The PDF issue is happening on any browser. The pdfs are essentially just static links on the webapps index page, so I don't know why they're being served as binary files when the mimetype is set for them.
> [Message sent by forum member 'tsmori' (tsmori)]
>
> http://forums.java.net/jive/thread.jspa?messageID=280774
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>