Re: [xsl] Tomcat serving XSLT confuses Netscape?

Subject: Re: [xsl] Tomcat serving XSLT confuses Netscape?
From: Rick Taylor <taylor@xxxxxxxx>
Date: Fri, 02 May 2003 10:52:50 -0600
Tim,

Notice the Content-Type: text/plain
The page is being served up as text and Netscape is interpreting it correctly as such.
You might check the mime-mapping in tomcat 'conf\web.xml'? to make sure that .xml is mapped as xml.


rick

At 12:21 PM 5/2/03 -0400, you wrote:

I have 2 indentical XML + XSLT files on 2 different servers.  Both produce
a nice HTML doucment with IE.  But only the first one works in Netscape
7.02.  The first one is Apache+FrontPage.  The second is Tomcat.
Why won't the Tomcat page work!?

These are the files  (and the full HTTP responses):
Has anyone seen this before? Thanks -T


http://www.amnesta.net/1.xml --- HTTP/1.1 200 OK Date: Fri, 02 May 2003 16:18:45 GMT Server: Apache/1.3.6 (Unix) FrontPage/4.0.4.3 Last-Modified: Fri, 02 May 2003 16:03:38 GMT ETag: "1ac90b-549-3eb296da" Accept-Ranges: bytes Content-Length: 1353 Connection: close Content-Type: text/plain ---

http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xml
---
HTTP/1.0 200 OK
Content-Type: text/plain
Content-Length: 1354
Last-Modified: Fri, 02 May 2003 15:39:10 GMT
Date: Fri, 02 May 2003 15:39:13 GMT
Server: Tomcat Web Server/3.3.1 Final ( JSP 1.1; Servlet 2.2 )
---


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Rick Taylor XML Developer PPDM Association


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread