tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Blenkush <e...@commongrnd.com>
Subject Re: JSP Compile Hangs
Date Thu, 21 Oct 2004 22:38:06 GMT

On Oct 21, 2004, at 10:17 AM, Remy Maucherat wrote:

> Eric Blenkush wrote:
>
>> Kin-man,
>>
>> Thanks for the response. I filed a bug report and I have an initial  
>> fix  that I have been working on. Here is a preview:
>>
>> This is due to the LOOKAHEAD on line 256 of ELParser.jj
>>
>> This fix allows the EL expression to be parsed quickly but I have not  
>>  tested thoroughly. In ELParser.jj delete the grammar production   
>> ConditionalExpression() and replace Expression() and OrExpression()   
>> with the below text:
>
> Thanks for the possible fix (getting it out is going to be a little  
> painful, though, as Kin-Man mentioned :( ), but can you send a test  
> JSP as well ?
>
> Rémy
>
>

Certainly. I hope you mean post it to this list, I didnt see anywhere  
on bugzilla to submit one. Here is the text of the JSP and the file.

Eric

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html><head><title></title></head><body>
${fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase(fn:toUpperCase(fn:toUpperCase(fn: 
toUpperCase('a'))))))))))))))))))))))))))))))))}
</body></html>



Mime
View raw message