tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kin-Man Chung <Kin-Man.Ch...@Eng.Sun.COM>
Subject Re: JSP Bug
Date Mon, 09 Sep 2002 19:28:30 GMT
This is not a bug.  Any %> that appears in an expression bracketed by
<% ... %> needs to be escaped as %\> (JSP.2.6).

> Date: Mon, 09 Sep 2002 15:17:04 -0400
> From: Stephane Zafirov <szafirov@distincthorizon.com>
> Subject: JSP Bug
> To: tomcat-dev@jakarta.apache.org
> 
> I just wanted to make sure the following bug has been classified. Or maybe
> it is not a bug, but it looks like one.
> 
> The following JSP:
> 
> <%
> 	String s = "%>";
> %>
> 
> is interpreted as:
> 
> 	String s = "
> 
> in the java file in the work directory. So it does not compile.
> Obviously, there are workarrounds. I am just making sure it is known to
> everyone. Since its pretty simple, my guess is I am the last one to find it.
> 
> Stephane
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message