My reading of the JSP spec says that Tomcat is correct here.  If you need to
preserve the escape, then follow Sjoerd's suggestion.

"Sam Hough" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tomcat 4.1.27 on Win32 given
>
> <?xml version="1.0"?>
> <jsp:root xmlns=http://java.sun.com/JSP/Page version="1.2">
>     <h1>Cat &amp; Dog</h1>
> </jsp:root>
>
> Generates
>
> <h1>Cat & Dog</h1>
>
> Can anybody confirm that this is correct behaviour?
>
> I can sort of see that it makes sense (JSP is for generating any character
> stream...) but it does make a JSP Document look very odd.
>
> Also, is it correct that  <jsp:directive.include file="some jsp"/> should
> not allow namespaces to be redelcared?
>
> Sorry if both these things are clear in the spec. Ive read it but
> dont feel much wiser.
>
> Thanks
>
> Sam




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to