Re: [xsl] Tomcat serving XSLT confuses Netscape?

Subject: Re: [xsl] Tomcat serving XSLT confuses Netscape?
From: Rick Taylor <taylor@xxxxxxxx>
Date: Mon, 05 May 2003 10:46:14 -0600
Tim,

What I usually do is use 'xml' extensions for both the xml and the xsl. Try renaming the 1.xsl to 1_xsl.xml.

-rick

At 11:19 AM 5/5/03 -0400, you wrote:

Thanks for both responses. Now I have:

http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xml.jsp
has content-type: text/xml

and
http://ecedbdev.eng.umd.edu:8080/ece/facultyAndStaff/1.xsl
has content-type: text/xsl

But Netscape 7.0 still won't display 1.xml.jsp as HTML. Why ? Thanks



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



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