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 work again.  I couldn't really decide if this
was a tomcat bug or not and promptly forgot all about it really.

Mark


On Wed, 2009-01-07 at 17:40 +0100, Philippe Couas wrote:
> Hi,
>  
> I have replace tomcat 5.5.26 to tomcat 5.5.27 on same server with same JDK
> and same config.
> 
> 
> I have folowing error message
> jasper.JasperException: /jsp/servlet24/supervisionv5.jsp(6,23) Attribute
> value request.getContextPath()+"/jsp/servlet24/supervisionv4.jsp" is quoted
> with " which must be escaped when used within the value
> Code :
> 
> 
> <inf:redirect
> page="<%=request.getContextPath()+"/jsp/servlet24/supervisionv4.jsp"%>">
> <inf:param name="id" value="<%=request.getParameter("id") %>" />
> <inf:param name="repobj" value="<%=request.getParameter("repobj") %>" />
> <inf:param name="design" value="true" />
> <inf:param name="sitepreffix" value="<%=request.getParameter("sitepreffix")
> %>" />
> <inf:param name="ipl" value="<%=request.getParameter("ipl") %>" />
> <inf:param name="context" value="<%=request.getParameter("context") %>" />
> <inf:param name="niveau" value="<%=request.getParameter("niveau") %>" />
> <inf:param name="sectionspreffix"
> value="<%=request.getParameter("sectionspreffix") %>" />
> </inf:redirect>
> 
> Problem is in line
> <inf:redirect
> page="<%=request.getContextPath()+"/jsp/servlet24/supervisionv4.jsp"%>">
> Why could i not make this now ?
>  
> Regards
> Philippe
> 
>  
> 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs SkyScan 
> service.


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs SkyScan 
service.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to