yes, my code is correct. Richard's comment works. :)
Just remind someone that clearing your cache or restarting Tomcat still does great. ----- Original Message ----- From: "Neo Gigs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 13, 2002 11:38 AM Subject: Re: XML output, I need help. > Did ur JSP codes correct? Try to post the codes for debugging purposes? > > ----- Original Message ----- > From: "Xiao Juguang" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, March 13, 2002 11:18 AM > Subject: Re: XML output, I need help. > > > > Let me clarify that I generate a XML, not HTML, format output by JSP. > > > > IE should know the input is XML format, especially I specify the > > contentType. > > > > What is the problem? Is the problem on Tomcat side or IE side? > > > > ----- Original Message ----- > > From: "Neo Gigs" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Wednesday, March 13, 2002 10:50 AM > > Subject: Re: XML output, I need help. > > > > > > > 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]> > > > > > > > > > -- > > 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]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
