Facing problem while accessing xml page in IE5.5
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mayilsamy_Sivasamy
Posted On:   Friday, July 26, 2002 07:13 AM

When I access a xml page in IE5.5I am receiving a window which asks me to open or save the file. Do I need to change any registry settings? I am facing the problem even after reinstalling the IE.

Actually I am calling a jsp page which inturn calls xsl stylesheet to display the xml data.

Thanks in advance.

Mayil.

Re: Facing problem while accessing xml page in IE5.5

Posted By:   Val_Cassidy  
Posted On:   Friday, July 26, 2002 08:01 AM

In your JSP you need to specify that the response is XML. You can do this by using the setContentType of the response object...


response.setContentType("application/XML")


Make this the first command within the doGet/Post/Whatever method you're using.


This will cause IE to create the expandable/collapsable hierarchy.

About | Sitemap | Contact