Use the view taglibrary, attached. You can also see the in16
(jsptags) project on sourceforge.
Usage:
<view:escape>Blah blah blah</view:escape>
On Mon, 16 Oct 2000, 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
> Eldan Software, Toronto
> (416) 341-0070
> www.eldan.com
>
-----------------------------------------------------------
Joseph B. Ottinger [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo HOMES.COM Developer
viewtags-1.1.jar