I have an app that uses res.setContentType("text/xml"); It works fine in IE 5.5 + and Opera but does not wok in Netscape (4.7+). It just seems to ignore my res.setContentType. Any ideas?\
Thanks, ------------------ Kevin R. Gutch
Kevin R. Gutch
namita pa
Ranch Hand
Joined: Sep 06, 2001
Posts: 56
posted
0
hi may be some of the closing tags are missing check out
It depends on what you mean by "doesn't work". My copy of Netscape has no MIME definition for XML, so if you serve me up a text/xml, it will simply attempt to save it to a local file, not display it in the browser. IE5, on the other hand has a special MIME handler that sends the XML through an internal XSLT processor and activeX so it can do that neat little expanding-outline trick and color the text. I don't know what Opera has in it.
Customer surveys are for companies who didn't pay proper attention to begin with.
kevin gutch
Greenhorn
Joined: Sep 06, 2001
Posts: 3
posted
0
I do not believe it is a Mime-Type problem. I have seen that before (i.e. depending on the Opera settings it will either prompt for download or display on screen). My code actually does nothing. When the button to download my file is clicked it linlks to another page that onLoad activates a servlet that conducts the Mime type. I am getting to the page but nothing occurs after that. As I said it works in IE 5.5 ad Opera.