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 <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






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



Reply via email to