tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Grøntoft Dybdahl <erik.dybd...@tellus.no>
Subject Re: org.apache.jasper.JasperException: Unable to compile class for JSPC
Date Tue, 22 Aug 2000 07:57:52 GMT
Seems I found the answer to my own question:
Nested tags can not have attributes with identical names.
Is this really so?

----- Original Message -----
From: "Erik Grøntoft Dybdahl" <erik.dybdahl@tellus.no>
To: <taglibs-user@jakarta.apache.org>
Sent: Tuesday, August 22, 2000 9:17 AM
Subject: org.apache.jasper.JasperException: Unable to compile class for JSPC


>
> Hello,
> I'm sorry if this is the wrong place for such questions, but I did not
find
> any other resources.
>
> I have two nested tags, each of them with an attribute, like this:
> <tellus:itemGroup groupId="ACTIVITY">
> <tellus:item itemId="CrossCountry"/>
> </tellus:itemGroup>
>
> This causes a compilation error, because the generated source tries to
> declare a variable
> named id two times in the same scope:
>
>                  String id = null;
>                     id = (String) pageContext.findAttribute("id");
>
> It  is not clear to me what is going on here, though.
> Can anybody explain (or tell me where such questions should be placed)?
>
> I use TomCat 3.1.
>
> Thanks,
> erik
>



Mime
View raw message