users@glassfish.java.net

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

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 29 Oct 2007 16:49:50 -0400

Hi,

glassfish_at_javadesktop.org wrote:
> Hello Jean,
>
> Here is the response as captured by (TCP/IP monitor built into Eclipse):
> ===========================
> HTTP/1.1 200 OK
> X-Powered-By: Servlet/2.5
> Server: Sun Java System Application Server 9.1
> Expires: Mon, 29 Oct 2007 20:39:01 GMT
> last-modified: Mon, 29 Oct 2007 18:08:35 GMT
> Content-Type: text/x-server-parsed-html;charset=UTF-8
> Content-Length: 442
> Date: Mon, 29 Oct 2007 20:27:55 GMT
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="refresh" content="0;url=/index.jsp">
> <meta name="robots" content="noindex,nofollow">
> <title>FOLIOfn</title>
> <script language=javascript>
> <!--
> if (top == self) location.replace('/index.jsp');
> //-->
> </script>
> </head>
> <body>
> </body>
> </html>
> =============================
>
> Looks like the server is sending the correct content type. However, the firefox still doesn't quite know what to do. I looked at the mime type in firefox, it knows about text/x-server-parsed-html and is set to open with default application (what ever the default application is, I need to investigate). This seems to be a firefox issue because this shtml file is simple redirect to index.jsp.
>
> However, I have another .shtml file and I captured the tcp/ip stream and it looked garbled, there are several ssi includes in that file, I will attached the shtml file and the resulting response file a bit later once I have had a chance to look more into why response stream is garbled.
>
> These files work fine on WebLogic (I am porting an existing application from WebLogic to Glassfish).

Good reason for me to fix it :-) :-) Can you log an issue here:

https://glassfish.dev.java.net/servlets/ProjectIssues

and assign it to me. This way you will be able to attach your logs and a
test case if you can produce one.

Thanks!

-- Jeanfrancois


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