You should only display a XMl file by not running the XMl file, you need
either a parser of some form of stylesheet like XSLT to embed the output

----- Original Message -----
From: "Xiao Juguang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 10:35 AM
Subject: XML output, I need help.


> Hi, guys,
>
> I tried to write a XML format output using JSP, while I remember to set
> contentType="text/xml" and write <?xml version="1.0" ?> in the head of
> output. Then browsing my JSP in IE 5. What I saw is just text while is
> outside of the tag, and the source is correct XML. How can I make IE
> defaultly render XML?
>
> By the way, <mime-mapping> has been set for XML.
>
> Thanks in advance.
>
> Juguang.
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to