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: \<% not handled right?
Date Tue, 23 Sep 2003 20:55:06 GMT
This is a bug.  I have committed a fix in Tomcat 5.  Thanks for reporting.

-Kin-man

> Date: Tue, 23 Sep 2003 07:30:29 -0400
> From: Tim Funk <funkman@joedog.org>
> Subject: \<% not handled right?
> To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> 
> Attached is a note from tomcat-user which I think might be a bug in jasper.
> 
> Summary it you don't want to read it...
> Take this page:
> ---------
> <%="BAR"%>
> \<%="bar"%>
> ---------
> 
> It produces:
> BAR
> \<%="bar"%>
> 
> Instead of
> BAR
> \bar
> 
> The spec says to escape <% with <\%
> 
> -Tim
> 
> -------- Original Message --------
> Subject: JSP Compilation Problem
> Date: Tue, 23 Sep 2003 13:23:30 +0300
> From: Anatol Pomazau <Anatol_Pomazau@epam.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: <tomcat-user@jakarta.apache.org>
> 
> Hi.
> 
> I just upgrade tomcat server from 4.1.12 to Tomcat-dev (I get sources
> from CVS and compile it yesterday)
> But I have a problem with one jsp.
> So, such code
> 	<% String fullname = "Anatol Pomazau"; %>
> 	<a target="newForm"
> href="\\epmsa007\applForm\new_applicant_form\<%=fullname%>.doc"><%=fulln
> ame%></a>
> Works fine in old version but in new Tomcat generates
> 	<a target="newForm"
> href="\\epmsa007\applForm\new_applicant_form\<%=fullname%>.doc">Anatol
> Pomazau</a>
> Insead of
> 	<a target="newForm"
> href="\\epmsa007\applForm\new_applicant_form\Anatol Pomazau.doc">Anatol
> Pomazau</a>
> 
> I have looked JSP Spec 2.0 and I have not found any remarks about such
> quoting.
> 
> What I do wrong? Please help me.
> 
> <epam>
> EPAM Systems, Minsk, Belarus
> work: +375 17 210 1662, ext. #1373
> icq uin: 138182429
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


Mime
View raw message