Thank to all -----Original Message----- From: Jayson Falkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 6:19 AM To: [EMAIL PROTECTED] Subject: Re: XML Mazilla
Just a note, "text/plain" is the MIME type of plain text is it not? > Re: Moisey If you are taking about the pretty color-coded, tree display IE does by default with XML that is something which you can't easily replicate (but why would you want to??) on Mozilla/Netscape 7. All browsers can show XML. As Steve pointed out, telling the browser the XML is just plain text will ensure that (well assuming you aren't using an odd encoding). If you want the pretty tree thing, think about what you are doing. There is really no need for it, at all, ever. If for some reason it is a must you can look in to coding some DHTML which would look exactly the same. Cheers, Jayson Falkner [EMAIL PROTECTED] Steven A. Martin wrote: > Definitely a problem. If it's a big concern you can check the user's > browser agent, then decide to display "text/text." > > > ----- Original Message ----- > From: "Oysgelt, Moisey G [GMG]" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 18, 2002 11:35 AM > Subject: XML Mazilla > > > >>I know that IE 5+ can display XML document nicely, >>I create a JSP page to generate XML output using next >>.................. >> >> response.setContentType("text/xml"); >> response.setStatus(HttpServletResponse.SC_OK); >> // Out of the XML >> >>.............................. >>I can see this page well in IE 5 - IE 6 >> >>But Netscape 7 and Mazilla 1.1 , 1.2 do not understand this output. >>What why you can recommend to display XML in other browsers but IE >> >> >> >>Moisey Oysgelt >> >> >> >> >> >> >> >> >> >> >>--- >>Outgoing mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/02 >> >> > > =========================================================================== > >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > >>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > >>Some relevant FAQs on JSP/Servlets can be found at: >> >> http://archives.java.sun.com/jsp-interest.html >> http://java.sun.com/products/jsp/faq.html >> http://www.esperanto.org.nz/jsp/jspfaq.jsp >> http://www.jguru.com/faq/index.jsp >> http://www.jspinsider.com >> > > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/02 =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com