You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/06/14 16:00:18 UTC

DO NOT REPLY [Bug 49434] New: twice declaration of a variable in a JSP.

https://issues.apache.org/bugzilla/show_bug.cgi?id=49434

           Summary: twice declaration of a variable in a JSP.
           Product: Tomcat 6
           Version: 6.0.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: dominiquehenaff@gmail.com


When declaring a variable in jsp in struts for example (<bean:define id="url"
value="" />), it works well for code generation and compilation by tomcat. Then
when I declare the same variable again (<bean:define id="url" value="toto" />)
it crashes to the compilation by tomcat.
Here is an example of code from the page of liferay 4.4.2
ext\ext-web\docroot\html\portal\layout\edit\url.jsp:

<bean:define id="url" value="" />
<logic:notEmpty name="SEL_LAYOUT" property="typeSettingsProperties(url)">
<bean:define id="url" name="SEL_LAYOUT" property="typeSettingsProperties(url)"
type="java.lang.String" />
</ Logic: notEmpty>

In a previous version of tomcat (6.0.16) it works well. My variable is declared
once in the generated java code.

Best regards 

Dominique Henaff

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49434] twice declaration of a variable in a JSP.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49434

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-06-14 13:31:03 EDT ---


*** This bug has been marked as a duplicate of bug 48616 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org