Perhaps enclosing the xml in <pre> </pre> will work.
Troy Echols Derek Akers wrote: Hi all... I am trying to display the contents of an XML file to the screen, embedded inside a JSP page. That is, I want to include a header and footer on the page (for navigation purposes), with the XML in the middle. I want the text to be viewable literally (tags & all), but I have been unable to find a solution... I thought maybe the contentType attribute of the <%@ page %> directive might do it, but it seems not. Does anyone know of a way to do this? Derek Akers Internet Application Developer |
- displaying xml Derek Akers
- Re: displaying xml Troy E. Echols
- Re: displaying xml Derek Akers
- Re: displaying xml Porfiriev Sergey
- Re: displaying xml Joseph B. Ottinger
- Re: displaying xml Stephan Schmidt
- IP restriction Fox!MURDER
- RE: displaying xml Hani Suleiman
- RE: displaying xml Joseph B. Ottinger
- RE: displaying xml Jim Archer
- Re: displaying xml Miles Daffin
- Re: displaying xml Derek Akers