You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/17 18:33:10 UTC
DO NOT REPLY [Bug 5905] New: -
JSP Document not correctly processed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5905>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5905
JSP Document not correctly processed
Summary: JSP Document not correctly processed
Product: Tomcat 4
Version: 4.0.1 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: halleux.jf@skynet.be
The following JSP Document :
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
<jsp:directive.page language="java" session="true" errorPage="none"
isErrorPage="false" />
<jsp:text>
<![CDATA[<html>]]>
</jsp:text>
<jsp:text>
<body>
Hello
<jsp:expression>1+2+3+4</jsp:expression>
<jsp:scriptlet>out.println("World");</jsp:scriptlet>
</body>
</jsp:text>
<jsp:text>
<![CDATA[</html>]]>
</jsp:text>
</jsp:root>
produces the following output :
<html>
<body >10World
Hello
</body>
</html>
Notice that the <body> tag becomes <body > and that the expression and
scriptlet tags appears before the html text.
JFH
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>