tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: JSP Document
Date Sun, 07 Sep 2003 03:55:50 GMT
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" <sam@redspr.com> wrote in message
news:003501c37499$c45be180$0300a8c0@mabel...
> 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




Mime
View raw message