Announcement Announcement Module
Collapse
No announcement yet.
Problem displaying XML in IFrames Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem displaying XML in IFrames

    Hello,

    I'm new to Spring MVC and am having a problem displaying XML within an IFrame. The generated HTML displays two empty IFrames (IFrame source contains just an open & close <HTML> tag) even though the IFrames are pointing to valid XML files. The html works fine outside of spring and displays the XML tree inside each IFrame.

    Do I need to tell spring to display the contents of the iFrame as XML?

    Spring JSP page:

    <html>
    <iframe src="C:\xmlOut3.xml" style="text/xml">
    <iframe src="C:\xmlOut4.xml" style="text/xml">
    </html>

    Thanks for any guidance
Working...
X