I had a similar problem when I switched to tomcat6, as a workaround I
ended up modifying my jsp to build the string outside of the %=..% bit
and insert it in one lump.
Ie changed something like
%= ' + otherthing + '%
into
%
String txt = ' + otherthing + ';
%
%= txt %
which seemed to make it
From: Philippe Couas [mailto:pco...@infodev.fr]
Subject: Compilation problem when i release tomcat 5.5.26 to
tomcat 5.5.27
/jsp/servlet24/supervisionv5.jsp(6,23) Attribute value
request.getContextPath()+/jsp/servlet24/supervisionv4.jsp is quoted
with which must be escaped when used within