Bug 3908 - req:attribute breaks using include files
Summary: req:attribute breaks using include files
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Request Taglib (show other bugs)
Version: 1.0B1
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2001-10-01 12:41 UTC by Brian Dame
Modified: 2005-03-20 17:06 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dame 2001-10-01 12:41:48 UTC
I'm using a JSP that calls a header and footer include. If I use the 
req:attribute tag in both includes and I call the tag from the same line number 
and line position in both included files, I get a duplicate declaration error 
and the JSP will not compile:

Error: Duplicate declaration of local variable "attribute__3_8".

This may be a problem with JRun 3.1, but I don't have any other servlet 
containers installed to confirm. The JSP reports that the exception is being 
thrown from the header include file, but it's actually being thrown from the 
footer include file.
Comment 1 Glenn Nielsen 2002-01-25 12:58:02 UTC
This sounds like a bug in JRun, can you send a simple example so
I can confirm that it works in Tomcat?